cosmac / LePi

LePi is a lightweight library for FLIR Lepton (2, 2.5 and 3) and Raspberry pi.
MIT License
27 stars 10 forks source link

No packets in SPI #4

Open FoolBridgeRectifier opened 6 years ago

FoolBridgeRectifier commented 6 years ago

Hi, I have a problem with reading data on pi 3. It was working fine until last week, but suddenly no data came. I checked the SPI ports using spidev_test and it works. And it works with other codes such as pylepton code, my client code is based on this so it is hectic to change. I checked the packetNumber under LeptonReadSegment() and it is never equal to j hence it keeps resetting.

cosmac commented 6 years ago

That is a strange behaviour, it never happened to me. However, you are the second person telling me that the code stopped working suddenly. Any recent drivers updates ? new devices using I2C or SPI ? I had a similar issue when I was using the I2C for another sensor from a different app.