FLIR Lepton 3.5 RGB888 RANGE_ERROR

55 views
Skip to first unread message

Michał

unread,
Jun 1, 2025, 9:28:00 AMJun 1
to Flir Lepton
Hello
I am programming bare metal the FLIR Lepton 3.5. I can't no matter what set the RGB888 mode. It always says LEP_RANGE_ERROR.
Nor the OEM nor the VID mode doesn't work at all.
OEM Video Output format doesn't work video: https://youtube.com/shorts/Xur1Fe2SdiA
Vid Video Output Format doesnt' work video: https://www.youtube.com/shorts/fvyhBGMzkZc
Should there be any master initialization before switching to the RGB888? I can't see any.

Michał

unread,
Jun 2, 2025, 1:47:29 PMJun 2
to Flir Lepton
This is how the VoSPI data packets looks like. Next lines are next packets. Totally nonsense for me. Only first byte seems to be interesting, the rest of the packet is similar to 74, FE.
The decoded VoSPI frames gives garbage.
flir packet.jpg

Michał

unread,
Jun 3, 2025, 11:17:01 AMJun 3
to Flir Lepton
The RGB888 mode switch problem was because sizeof(enums) were not 4. Solved. That was on the Lepton forum but they switched it off. Sad.
Now I cannot estabilish the sync. No matter what. I tried from 2 MHz to 16 MHz clock. Nothing. All wrong
I am reading 164 bytes frames in loop. There is a VoSPI timeout period before that. It should sync but not

Michał

unread,
Jun 7, 2025, 7:12:27 AMJun 7
to Flir Lepton
Finally it works perfect in RGB888 mode! You need to sync to the segment pulses with VSYNC.
Reply all
Reply to author
Forward
0 new messages