[Answered] SPI: Meaning of some of the pins for spi_bus_config_t
Posted: Tue Jan 10, 2017 5:24 am
Studying the SPI master driver, I find that we must configure a data structure called "spi_bus_config_t". Reading the documentation on it found here:
http://esp-idf.readthedocs.io/en/latest ... s_config_t
I find 5 pins need be configured:
1) What does "spi_d" mean? I understand the SPI concept of "MOSI" ... but the concept of "d" means nothing to me.
2) What does "spi_q" mean? I understand the SPI concept of "MISO" ... but the concept of "q" means nothing to me.
3) What does "spi_wp" mean? I can't relate that to anything I am familiar with in the concept of SPI.
4) What does "spi_hd" mean? I can't relate that to anything I am familiar with in the concept of SPI.
http://esp-idf.readthedocs.io/en/latest ... s_config_t
I find 5 pins need be configured:
- spid_io_num
- spiq_io_num
- spiclk_io_num
- spiwp_io_num
- spihd_io_num
1) What does "spi_d" mean? I understand the SPI concept of "MOSI" ... but the concept of "d" means nothing to me.
2) What does "spi_q" mean? I understand the SPI concept of "MISO" ... but the concept of "q" means nothing to me.
3) What does "spi_wp" mean? I can't relate that to anything I am familiar with in the concept of SPI.
4) What does "spi_hd" mean? I can't relate that to anything I am familiar with in the concept of SPI.