LCD-show icon indicating copy to clipboard operation
LCD-show copied to clipboard

Using TFT 3.5'' with this library, disables SPI completely

Open mmzeynalli opened this issue 4 years ago • 6 comments

Good day, Today I struggled with a problem, where I use a TFT display with Raspberry PI 3B+. In addition to this, I use SX1276 radio module, which also works with SPI protocol. Although I can use both of them separately, I could not use them both at the same time. The issue was that after the call of LCD35-show command is executed, after reboot, the SPI is disabled, and no spidev device can be found in /dev/ directory. Manually turning on SPI from raspi-config does not solve this issue. Is there any solution or at least any workaround to this problem?

mmzeynalli avatar Feb 05 '21 19:02 mmzeynalli

Same problem here, have you figured something out?

DamianK77 avatar Sep 13 '21 19:09 DamianK77

To be honest no, I had to change screen and use another one

mmzeynalli avatar Sep 14 '21 08:09 mmzeynalli

unknown (23) solved it by commenting this line (/boot/config.txt), as i have a hdmi display the touch still works

DamianK77 avatar Sep 14 '21 08:09 DamianK77

And can you use another SPI device?

mmzeynalli avatar Sep 14 '21 08:09 mmzeynalli

I was able to use the ADXL345 accelerometer connected to spi0 bus of rpi after commenting out this line, yes, previously it didn't work. This line is what seems to disable SPI

DamianK77 avatar Sep 14 '21 08:09 DamianK77

Perfect. Thank you!

mmzeynalli avatar Sep 14 '21 08:09 mmzeynalli