Lepton 3.5 Not Sending Frames

85 views
Skip to first unread message

ddwa...@gmail.com

unread,
Dec 17, 2024, 6:10:31 AM12/17/24
to Flir Lepton
Hi Guys

  I really need help on this one.  I have a hardware SPI/VoSPI Lepton interface communicating with a Lepton 3.5 camera, SPI running a 12MHz and I can not for the life of me get the lepton to send a full frame, moreover it won't send a full segment, I'm getting discard packets within a segment causing me to abort and resync the Lepton.  

   I have NO IDEA why this is happening, I know my interface is operating properly but perhaps there is something I do not understand about the protocol.  

1. Should I expect to see discard packets in the middle of a segment?  If so how should I handle this?
2. Sometimes it seems the lepton starts sending packets out of order causing the hardware interface to resync, is this normal, how should I handle it?
3. Even more strange after a resync sometimes the lepton sends packet headers which are all zeros, or perhaps these aren't headers at all perhaps they are something else.  Any ideas on what is going on?

Aiara Brea Portals

unread,
Dec 18, 2024, 6:42:30 AM12/18/24
to Flir Lepton
Hi!

I have the same problem with Lepton 3.1R and SPI communication. The sensor seems to initialize correctly, but the data packets always have invalid values like 0F FF FF FF. I only need obtain RAW data from the sensor.

Details of the issue:
  • Sensor initialization: The inicialization seems to initialize correctly. It responds well when I try to obtain the part number and other parameters.
  • SPI pins: I've verified many times that the SCK, MISO and CS pins are correctly connected. I even tried using different cameras and breakout boards.
  • SPI configuration: I'm using spi_device_transmit, but the data received is incorrect.
  • Packet reception: The received packets always have the same invalid values and sometimes I get packets with values like FF 00 00 00.
What I've tried:
  • I've checked the SPI pin configuration, packet length, I2C configuration, and other parameters.
  • I've adjusted the SPI frecuency and tried different configuration.
  • I've been following the firmwares from Dan Julio for ESP32, but I can't find any solution for this issue. I think the configuration is the same, but I haven't been able to resolve it.
My environment:
  • Platform: ESP32 Arduino Nano (ESP32-S3)
  • Framework: ESP-IDF
  • Lepton version: Lepton 3.1R
If anyone has solutions for this problem or suggestions to help resolve it, I would really appreciate.
Thank you!!

Reply all
Reply to author
Forward
0 new messages