Open MBottinIUT opened 4 years ago
One thing that comes to mind that you could try is to set the speed of SPI explicitly after creating the SPI object:
spi = board.SPI()
spi.configure(baudrate=20_000_000, phase=0, polarity=0)
thank you very much for your proposal. Unfortunately, when I test it, it doesn't work. I've locked the SPI bus before add the configure method, but it doesn't work. The code freezes and the REPL in Mu editor stays blank. I can't make any CTRL+C or CTRL+D. I need to unplug and plug the board to get the hand back.
Do you have another idea ?
FourWire now takes baudrate
in it's constructor so try it instead of changing the SPI setting.
Hi, I'm a little desperate and I'm hoping someone can give me an answer. I'm trying to display bitmap images on the LCD screen of the '2.4" TFT Featherwing'. I use the displayio module, the ILI9341 driver and the latest version of Circuitpython (5.3.0). I can display text and draw shapes, but I can't display images with 'OnDiskBitmap()'.
Everything works fine with Pyportal or with a Feather M4 Express + TFT Featherwing, but as soon as I run the same code on the Feather nRF52840 + TFT Featherwing, it doesn't work. The display freezes after a few lines of pixels.
I should point out that I use the same versions of Cicuitpython, libraries, code and image files in all my tests.
Please help me, because this is really out of my field of expertise !
Mike
Here is my code :