Hello. I am Lee.
I want to transmit the raw data of the RGB bayer image sensor using FX3.
For the first time, I made an FX3 test board and tested it.
The test board specifications are as follows:
1.1 FX3+ AP0101AT(onsemi ISP) + AR0132AT(onsemi Sensor)
1.2. Data bus: 8bit GPIF (I used cyfxgpif2config.h of UVC_AN75779 as it is.)
1.3. 1280* 960 @ 30hz, UVC(YUV422), 8bit
1.4. UVC Transfer (I used the example UVC_AN75779.)
Streamer @UVC data ( refer to 'FX3 / CX3 Firmware for Streaming RAW Image Data using Cypress Driver ')
toggled "#define CY_DRIVER" in uvc.h
1.5. The test board is working normally without any problems.
I attach this program. (The sensor initialization part is erased.)
And I am going to make a new board like this:
new board specifications :
2.1 FX3+ AR0132AT(onsemi Sensor): NO ISP
2.2. data bus: 12bit bus (16bit GPIF)
2.3 1280* 960 @ 30hz, RAW (RGB Bayer), 12bit
2.4 Only RGB bayer (Sterming mode and One shot mode)
I have a few questions.
Q1. What is the data size (RGB bayer) of 1 frame of the new board? Is 1280*960*2 byte correct?
Q2. Using the sensor's trigger mode (https://files.niemo.de/aptina_pdfs/TN_281_AR0132AT_TRIGGER_Mode_Operation.pdf)
I want to transmit only one frame and wait (one shot mode). What should I do in this case?
Q3. Is there any way to send a specific test pattern without sensor input?
For example, can a red screen be sent even if there is no sensor operation?
Q4. When changing to 8bit GPIF -> 16bit GPIF,
Can I change the data to 16 bits and change the LD_ADDR_COUNT and LD_DATA_COUNT values to 8183?
(LV, FV, PCLK function pins are the same.)
Are there any other modifications in the firmware or in the GPIF II Designer tool?
Q5. Cypress FX3 StramerExample Device @ USB control center
Streaming is turned on or off via 'Zero-length data CONTROL OUT' in the req code.
Could you ever send multiple bytes data pasted here?
ex) 0x99 0x12 0x34
If so, what should I process in firmware?
Q6. Cypress FX3 StramerExample Device @ USB control center
Can I receive whole 1 frame RAW data at once?
Sorry for so many questions.
I look forward to your help.
UVC_RAW.zip 52.2 K