2025-07-20 11:52 PM - last edited on 2025-07-22 3:43 AM by Andrew Neil
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
testfsm means getting the value of the stream_fsm register.
I would greatly appreciate your prompt assistance in resolving this issue. Thank you.
2025-07-22 3:28 AM
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
2025-07-22 5:08 AM
2025-07-22 5:09 AM
2025-07-22 10:49 AM
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.