OV9281 Data length error

Published by josem on

Home Forums Arducam USB Camera Shields OV9281 Data length error

Viewing 2 reply threads
  • Author
    Posts
    • #27927
      josem
      Participant

      Hello,

      I run the python demo code with “OV9281_MIPI_1Lane_RAW10_8b_1280x800_40fps.cfg” file on my raspberry pi and receive the following error message.

      USB_CAMERA_DATA_LEN_ERROR RECEIVE_LENGTH:1022976
      (‘Error capture image, rtn_val = ‘, 65316L)
      fps: 16 /s

      I ran the same python code on windows. It works without any error at 40 fps with the same cfg file. I have read that “capture” thread is not enough fast to read data from the buffer. As far as I understand I have to modify the cfg file but I did not find any information about which register values I have to change. I would like to try capturing images in 640×480 resolution at 25 or 30 fps and see if the raspberry pi is able to handle with it. I would be happy if I find a document that clearly explains the registers.

      Hardware: Raspberry pi 3 model A+

      Camera module: UC 599

      USB shiled: UC391 Rev.E

      Thanks in advance.

    • #28115
      wong
      Moderator

      Hello @josem ,

      Currently we do not have the corresponding configuration, if you need we can modify it for you. If you want 640×480 resolution will lose the viewing angle, because 640×480 will be cropped from the maximum resolution. 640×400 will not lose the viewing angle, because of this It can be obtained through binning.
      By the way, why don’t you use our MIPI_Camera SDK on RPI? Using MIPI_Camera SDK you can directly connect the camera to the CSI2 interface of RPI, it can get higher speed.

    • #28119
      wong
      Moderator

      This is a 640×400 30fps configuration:

       

      Attachments:
      You must be logged in to view attached files.
Viewing 2 reply threads
  • You must be logged in to reply to this topic.