Hi - I am using code based on the capture program (raspberry pi). After enough captures - the master and slave get out of sync (SPI wise - not video frame wise). The lepton data sheet says to hold chip select and clock high for > 185 msec and the device should reset. However, I cannot get the device to always recover/resync doing those steps. And once it goes off the rails, it never comes back. I have to pull the lepton module completely and reconnect.
When attempting resyncing with /CS and CLK high - I also redo all the SPI initialization on the pi side at that time. These steps are also found in the pi video code - so it seems this out-of-sync issue has come up and been handled in the example code. But for me it only recovers most of the time - not all of the time.
Hi - I am using code based on the capture program (raspberry pi). After enough captures - the master and slave get out of sync (SPI wise - not video frame wise). The lepton data sheet says to hold chip select and clock high for > 185 msec and the device should reset. However, I cannot get the device to always recover/resync doing those steps. And once it goes off the rails, it never comes back. I have to pull the lepton module completely and reconnect.
When attempting resyncing with /CS and CLK high - I also redo all the SPI initialization on the pi side at that time. These steps are also found in the pi video code - so it seems this out-of-sync issue has come up and been handled in the example code. But for me it only recovers most of the time - not all of the time.
Any insights?
Thanks!