Generic SPI slave support #7887
Replies: 2 comments 3 replies
-
I'm not a hardware specialist, but should SPI0 be not modified (at least when running on esp8266) ? |
Beta Was this translation helpful? Give feedback.
-
Interesting hack! |
Beta Was this translation helpful? Give feedback.
-
Hi,
I needed to implement something that resembles generic SPI slave rather than the command/address/status construction the ESP uses. I found a way that works good enough for me. I thought, can't hurt to share. Here's the code:
I took some parts from the existing
hspi_slave
code.Beta Was this translation helpful? Give feedback.
All reactions