Search found 2 matches

by darkzeros
Tue Aug 13, 2024 9:56 pm
Forum: ESP-IDF
Topic: Use SPI from deep_sleep_wake_stub
Replies: 1
Views: 781

Re: Use SPI from deep_sleep_wake_stub

I am answering my own question, with an answer. I managed to strip all the unnecessary parts from SPI.h and fit into a very basic uSpi class that I can run in RTC_IRAM_ATTR. This class directly access the SPI3 bus without any manual GPIO. Can be used in wakeup stub, and as far as I tested works grea...
by darkzeros
Tue Jul 16, 2024 7:02 pm
Forum: ESP-IDF
Topic: Use SPI from deep_sleep_wake_stub
Replies: 1
Views: 781

Use SPI from deep_sleep_wake_stub

Hi, I am looking for help on a very niche topic, use the SPI in deep_sleep_wake_stub. I have a low power application, where I want to access a display via SPI and send a quick "2 Byte" transfer, then go back to sleep. If I can do this from the deep_sleep_wake_stub, then I measured a save of 33% of p...