Closed caternuson closed 5 years ago
Dumping this here also. This is from testing HW SPI, which freezes in ::begin()
Looks like it has to do with SPI.beginTransactionbeing
being called twice, this line in csLow()
: https://github.com/adafruit/Adafruit_EPD/blob/2.0.2/Adafruit_EPD.cpp#L635
first called here:
https://github.com/adafruit/Adafruit_EPD/blob/2.0.2/Adafruit_EPD.cpp#L503
and then the next line calls SPItransfer
which calls it again here:
https://github.com/adafruit/Adafruit_EPD/blob/2.0.2/Adafruit_EPD.cpp#L584
and it hangs on that second call to SPI.beginTransaction
in csLow()
oof ok. fixing it 'properly' will be a bit annoying - can you do a quick-fix by adding a static bool isInTransaction
and test it so we don't transact twice?
https://forums.adafruit.com/viewtopic.php?f=47&t=149687
I have recreated this using a Feather ESP32 and graphicstest.ino. Tried SW SPI also.
PINS
C-TOR (SW SPI)