3-wire spi for esp8266 #12
windowsair
started this conversation in
Ideas
Replies: 1 comment
-
Ohhhhhh, I did it.😄 This is some of my experience in using 3-wire SPI, I hope it will be helpful to you:
If you don't do this, there may be timing issues... The above description is done at the register level. For esp-idf, you need to set or clear the Well, I haven't found other esp-idf examples yet, but it's really easy to misuse for a beginner like me. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
A few months ago, I already found out that there is a so-called
sio
field in the registers of the esp8266, which allows us to work in 3 wire spi mode so that we don't need to additionally connect the MISO and MOSI pins together. (3 lines represent CLK, MOSI(MISO), CS, here we don't need CS line.)So I tried to do that. The results were rather strange:
Well I don't know what it is, but the esp8266 technical reference doesn't document this odd use, and there is little mention of it online, perhaps because everyone uses esp32 now...
Beta Was this translation helpful? Give feedback.
All reactions