Closed tdicola closed 7 years ago
What feather was this with? Did it have SPI flash?
No external flash, this was with the Feather M0 proto board.
Fixed by 26229efe78f6c5f8598d6f9f1b2261c5a84d7a7b. I tested the ili9341 on both a Feather M0 Bluefruit LE and Feather HUZZAH esp8266. Note, it requires the latest drivers including the bus device stuff.
Trying to use the TFT FeatherWing with atmel-samd from the current master but am noticing during its initialization it appears get stuck and lock up (not even ctrl-c saves it). Connect the TFT FeatherWing to the board and make sure the FeatherWing on switch is flipped on. Then load the latest ili9341.mpy and rgb.mpy from the releases here: https://github.com/adafruit/micropython-adafruit-rgb-display/releases Try the following code:
You'll see the display creation never finishes and locks up the board. I have a feeling it's getting stuck during its SPI calls to initialize the display (the display MISO is never actually used, it's only MOSI with the board sending the display data). Tried it with 8mhz and 1mhz clock rates but got the same issue too.
Also this might be hitting a hard fault or other similar issue. I noticed the USB device disappears when it locks up so it's likely not running the USB processing interrupts, etc.