Hi all,
Currently using ESP32-C6 under AT SPI Mode, this is ESP32-C6 will act as a slave.
I am planning to share the same SPI bus with another peripheral (same bus signals but different CS).
AT SPI Mode pins used are the default ones.
I am trying to find out if the the MISO pin (GPIO20) will be placed in Hi-Z when CS pin (GPIO23) is not selected. Cannot find this explicitly on the documentation.
Also for the HANDSHAKE pin (GPIO21), Is it possible to change polarity?.
By default it transitions HIGH when requiring host attention and LOW when IDLE. I was wondering if this could be reversed.
I appreciate your comments.
Thanks!
ESP32-C6 AT SPI - Pin state
-
ahsrabrifat
- Posts: 201
- Joined: Sat Jan 18, 2025 2:31 pm
Re: ESP32-C6 AT SPI - Pin state
MISO (GPIO20) will be in High-Z when CS is not asserted (i.e., when CS is HIGH).
In AT SPI Slave mode, the ESP32-C6 behaves like a proper SPI slave, and as per standard SPI behavior, the slave should tri-state (Hi-Z) its MISO line unless its CS is active (LOW). This is necessary for SPI bus sharing to work properly with multiple SPI slaves.
https://docs.espressif.com/projects/esp ... slave.html
In AT SPI Slave mode, the ESP32-C6 behaves like a proper SPI slave, and as per standard SPI behavior, the slave should tri-state (Hi-Z) its MISO line unless its CS is active (LOW). This is necessary for SPI bus sharing to work properly with multiple SPI slaves.
https://docs.espressif.com/projects/esp ... slave.html
Who is online
Users browsing this forum: No registered users and 3 guests