LI01 / linux_camera_tool

Sample code for Leopard USB3.0 Camera Linux Camera Tool
GNU General Public License v3.0
68 stars 39 forks source link

Is this Camera & version support software trigger? #3

Closed trickyMan closed 5 years ago

trickyMan commented 5 years ago

Camera Model: AR023ZWDR Hardware Rev: 102 Firmware Rev:980

Is this camera support software trigger?

I found trigger_enable return error which is I/O error.

trickyMan commented 5 years ago

Fixed.

danyu9394 commented 5 years ago

Triggering might not enable in the firmware if you get the error message. You can try to manually write to the sensor registers to enable trigger mode, search "AP0202_WRITE_REG_ON_THE_FLY" in the code. After running that, you will see streaming stop. Then use a function generator supplying to the trigger pin, I forget the exact pin #, you can check with our datasheet/schematics. Voltage doesn't matter that much we got an optocoupler to get that covered. Then generate the trigger pulse. You will be able to see the streaming at the exact frame rate where you trigger at. But I am not sure if that version of ISP binary support triggering though. I am only pretty sure that AR0231-AP02X-GMSL2 camera has triggering feature enabled.