-
Notifications
You must be signed in to change notification settings - Fork 7.6k
using SPI causes IllegalInstruction exception #52
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
btw the library totally works with default SPI device - was commited and tested with esp32 feather + ili9341 featherwing - slow but works :) |
The same changes I did, too. It compiles well but fails for the same reason. So I tried to track down the point that seems to cause that. |
well :) you are using the SPI flash pins to attach your LCD ;) that will surely mess things up :) |
Oh damn, my fault. ;) |
* Added HalloWing M4 to Arcade Platforms * Added Adafruit CircuitPlayground Express and Bluefruit * Removed commas. It didn't like that
I try to get Adafruits ILI9341 TFT library working.
I found that SPI seems not to work and could track it down to the call of pinMatrixOutAttach in esp32_hal_spi.c
Arduino sketch:
Error on the ESP32:
Chain of method calls as far as I tracked it:
1: In sketch: myspi.begin()
2: SPi.cpp (method SPIClass::begin): spiAttachSCK()
3: esp32-hal-spi.c (method spiAttachSCK): pinMatrixOutAttach()
I am using Arduino 1.6.12 and the esp32-arduino plugin from today, Nov 15th.
Let me know if i can provide more information.
The text was updated successfully, but these errors were encountered: