Myzhar / Lepton3_Jetson

Library and examples to connect the FLIR Lepton3 thermal camera to Nvidia Jetson embedded boards
MIT License
52 stars 15 forks source link

Assertion failed + forcing RESYNC #13

Closed RasitAkay11 closed 2 years ago

RasitAkay11 commented 2 years ago

Hi

I am making a SAR drone and in order to detect people I was determined to use the FLIR Lepton 3.5 with its breakout pin v2 board. I have wired it as written below: FLIR pin1 - GND - pin 6 Jetson NANO FLIR pin5 - SDA - pin 27 Jetson NANO FLIR pin7 - SPI_CLK - pin 23 Jetson NANO FLIR pin8 - SCL - pin 28 Jetson NANO FLIR pin10 - CS - pin 24 Jetson NANO FLIR pin12 - SPI_MISO - pin 21 Jetson NANO

I am providing J3 pin 2 the +3.3V as written in the datasheet.

But after two days I didnt get any results. When I use the opencv demo, it gives a forcing resync error, when I'm using the fever app, it givis assertion failed error.

image

I did not get any results.

Myzhar commented 2 years ago

You are not getting images from the sensor, check the SPI connection and be sure to have set the SPI buffer correctly: https://github.com/Myzhar/Lepton3_Jetson/issues/1

RasitAkay11 commented 2 years ago

Thank you for your fast response. I have changed the SPI buffer, then I have changed the mSpiSpeed to 18000000 (line 51 in Lepton3.cpp), build again, and now I have this: image

I also tried to put 10 Ohm from GND (jetson) to MOSI(lepton 3.5, pin9), did not helpt.

RasitAkay11 commented 2 years ago

UPDATE: I have received a new FLIR Lepton 3.5 and I am currently running it with a Jetson Xavier NX board. First try: image So I conclude the previous issue was a hardware error.