Received UDP datagram while sending a UDP datagram causes conflict #1005
|
Hi, I am using a e-ink display board from the Soldered company model Inkplate6Motion which uses an ESP32C3 as a coprocessor for wifi communication. The board is supplied with a library that handles the communication between the main processor (STM32H7) and the ESP32 using SPI-AT. The library does not request the firmware version so I am unable to mention it here. |
Replies: 1 comment 1 reply
|
According to the design of SPI AT(https://docs.espressif.com/projects/esp-at/en/latest/esp32c3/Compile_and_Develop/How_to_implement_SPI_AT.html#handshake-pin), the slave read and write are linear and cannot be carried out simultaneously. When both read and write occur at the same time, the slave will arbitrate the subsequent actions. In your scenario, the slave has already indicated that it needs to perform a read operation first. Therefore, the master must first read the data, and then the slave will again send an interruption notification to the master to indicate that it is ready to write data. |
According to the design of SPI AT(https://docs.espressif.com/projects/esp-at/en/latest/esp32c3/Compile_and_Develop/How_to_implement_SPI_AT.html#handshake-pin), the slave read and write are linear and cannot be carried out simultaneously. When both read and write occur at the same time, the slave will arbitrate the subsequent actions. In your scenario, the slave has already indicated that it needs to perform a read operation first. Therefore, the master must first read the data, and then the slave will again send an interruption notification to the master to indicate that it is ready to write data.