USB2+Manual Exp. +very bright scene gives error

Hello,

I’m using USB2_UC-391_Rev.E.

I’ve modified the configuration file - OV5647_MIPI_2Lane_RAW8_8b_2592x1944_8fps.cfg - to make it run with manual exposure like below.

; AGC, AEC off
REG = 0x3503, 0x03

; Exposure
REG = 0x3500, 0x00
REG = 0x3501, 0x89
REG = 0x3502, 0x30

; Gain
REG = 0x350A, 0x00
REG = 0x350B, 0x75

 

With this, I got error like bellow when if scene is very bright.

-------------------8 fps
-------------------8 fps
-------------------8 fps
Error capture image, rtn_val = 65316
Error capture image, rtn_val = 65316
Error capture image, rtn_val = 65316
Error capture image, rtn_val = 65316
USB_CAMERA_DATA_LEN_ERROR RECEIVE_LENGTH:2389476
Error capture image, rtn_val = 65316
Error capture image, rtn_val = 65316
Error capture image, rtn_val = 65316
USB_CAMERA_DATA_LEN_ERROR RECEIVE_LENGTH:3433124
Error capture image, rtn_val = 65316
Error capture image, rtn_val = 65316
USB_CAMERA_DATA_LEN_ERROR RECEIVE_LENGTH:3981412
Error capture image, rtn_val = 65316
Error capture image, rtn_val = 65316
Error capture image, rtn_val = 65316
USB_CAMERA_DATA_LEN_ERROR RECEIVE_LENGTH:3423736
Error capture image, rtn_val = 65316
Error capture image, rtn_val = 65316

ps. Auto exposure and USB3 + manual exposure are OK even with very bright scene

Hello,

Don’t worry and I will try my best to help you.

Limited by the bandwidth of USB2.0, the data volume of 5MP 7 frames has exceeded the bandwidth. Please try this config files I attached for you, which supports automatically reduce the frame rate and manual reduce the frame rate. Please try it and let me know your results.

 

Hello,

I’m sorry but the problem still persists with manual exposure and gain.

By the way, How does bright scene affect bandwidth? Could you give me more details?

Thank you in advance.

Hello,

Don’t worry. What I mean is automatically reduce the frame rate. Has nothing to do with auto exposure. From the message printed. it is due to the frame rate is fast. Of course, if the exposure time is too long, the frame rate will be reduced which also reduces bandwidth pressure. I need to know more details. Which platform are you using?

You can test it on windows platform to read the hardware version using USBTest application.

If the version is 2020/04/10 which supports auto reduce frame. if not, you should use manual reduce frame rate config files. You can try to reduce the value of 0x3036 register.

 

Hello,

I’m using Ubuntu 18. Is there a way to check the HW version on Ubuntu?

Hi,

At present we don’t support detect the version on linux system. You can test it on windows firstly.

 

Hi,

I’m trying to figure out the hardware version but no devices is found on USBTest application.
The Arducam shield is detected as unknown device on Windows. I’m not sure this problem is related with my company’s security and now I’m checking about this.

Anyway, have you seen this kind of issue?

Hello,

Unknow device means you have not install the driver. Please install the usb driver firstly.

https://github.com/ArduCAM/ArduCAM_USB_Camera_Shield/tree/master/Drivers

Let me know if you need more help.

Hi,

Thank you for your help.

The hardware version of mine is V2.5 2019/12/12. This means I should reduce frame rate manually. I will try. Thank you again.

Hello,

OK. Let me know if you need more help.