cancel
Showing results for 
Search instead for 
Did you mean: 

vd55g1 - no data in stream mode

eureka
Associate II

Hi, I'm currently facing a challenge with the VD55G1 driver. I've designed my own minimal system board for the N6 and VD55G1, using MIPI CSI for communication. When attempting to drive the VD55G1, I can enter the stream mode but no data is being transmitted (the N6 interrupt is not triggered). Upon reading the stream_fsm register of the VD55G1, I noticed it remains stuck in the dark task, with the REPEAT_COUNT, CURRENT_CONTEXT, and NEXT_CONTEXT values consistently showing 0 0 1.

Here is my code

eureka_0-1753080705782.pngeureka_1-1753080722856.pngeureka_2-1753080734553.png

testfsm means getting the value of the stream_fsm register.

I would greatly appreciate your prompt assistance in resolving this issue. Thank you.

5 REPLIES 5
CyrilTechPro
ST Employee

Hi eureka

 

Difficult to debug like that could be a lot of think.

could you share a bit more information about Hardware and Software : 

-Hardware: could you provide clock information and power domain or schematics 

-Software : could you share sensor configuration you use.

 

Thanks in advance 

 

bye 

Hello, i am so grateful for your reply.

About hardware:

camera part:

eureka_1-1753185924604.png

power supply part:

eureka_2-1753185974102.png

MCU part

eureka_3-1753185994723.png

 

 

 

About software:

eureka_0-1753185866632.png

 

 

eureka_4-1753186167132.pngeureka_5-1753186176175.png

 

It looks like you have GPIO0 set to VT_SLAVE_MODE but you don't actually toggle GPIO0 to initiate the start of each frame.  If I understand UM3224(How to integrate and configure the VD55G1 sensor) correctly, setting GPIO0 to this value uses the FRAME LENGTH parameter as a "maximum frame rate" and it instead waits for a pulse on GPIO0 to begin each frame.  If you never toggle GPIO0 (PG15 on your schematic) then it will never send out a frame.

eureka
Associate II

Thank you for your reply very much.

I tried to set GPIO0 to output mode, but there is still no image data whether it is pulled low or high, and the stream_fsm of the camera is in the dark task.

I checked the content of dstaddress in

HAL_StatusTypeDef HAL_DCMIPP_CSI_PIPE_Start(DCMIPP_HandleTypeDef *hdcmipp, uint32_t Pipe, uint32_t VirtualChannel,
                                            uint32_t DstAddress, uint32_t CaptureMode)

but found that it was all empty. Could it be that there is a problem with my detection method?