- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
I have interfaced fx2lp with image sensor,it is working fine.now i need to increase exposure by using SET command from GUI,
what are the changes need to modified in firmware? is there any condition? if you have any sample code related to this please do share me.
Thanks ®ards
Bhavya
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello Bhavya
Hope you are implementing UVC class.
Exposure setting is a Input Terminal Request. So you need to:
a. Add the exposure support in the Input terminal Descriptor
b. Handle the request in the firmware. When you get SET_CUR you will have to configure the image sensor accordingly.
For general example code refer to KBA articles:
Interfacing FX2LP™ with Image Sensor – KBA95736
USB2.0 Camera Interface Using FX2LP™ and Lattice CrossLink FPGA - KBA222479
Best Regards
Yatheesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello Bhavya
Hope you are implementing UVC class.
Exposure setting is a Input Terminal Request. So you need to:
a. Add the exposure support in the Input terminal Descriptor
b. Handle the request in the firmware. When you get SET_CUR you will have to configure the image sensor accordingly.
For general example code refer to KBA articles:
Interfacing FX2LP™ with Image Sensor – KBA95736
USB2.0 Camera Interface Using FX2LP™ and Lattice CrossLink FPGA - KBA222479
Best Regards
Yatheesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello Yatheesh
Thank you for reply
Is there any other method? to change exposure
Best regards
Bhavya
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello Bhavya,
.
Instead of using UVC you can develop your own application using the vendor class. Please refer to Aptina_Cypress_FX2LP_Ref_Design in the KBA article - KBA95736 (link is provided in the previous response).
If you are implementing UVC then exposure support should be adder in the GUI and the request to the firmware from the GUI should initiate i2c commands to the image sensor where the respective registers which are set for the exposure are written with the needed exposure values.
Best Regards,
Yatheesh