groupgets / LeptonModule

Code for getting started with the FLIR Lepton breakout board
https://groupgets.com/manufacturers/flir/products/flir-lepton
BSD 2-Clause "Simplified" License
317 stars 197 forks source link

v4l2lepton with spidev1.0 does not work #84

Open ahmed-mans opened 3 years ago

ahmed-mans commented 3 years ago

Hello,

I am trying to use the v4l2lepton code with my Lepton 3.5 connected to my RPi 4B with the spi port 1 instead of the original port 0 with the pins assigned accrodingly but it does not output the video stream on the v4l2 device. When using the v4l2lepton code with spi0 (with cs0 or cs1), evertything works fine.

I have searched in the codes where the spi port 0 is set but I could not find it. Can someone help me with that ?

PS: I enabled spi port 1 by typing in the /boot/config.txt "dtoverlay spi1=3cs" and I can see it is enabled with the command line "ls /dev/spidev*" that shows : /dev/spidev0.0 /dev/spidev0.1 /dev/spidev1.0 /dev/spidev1.1 /dev/spidev1.2