Use this forum to chat about hardware specific topics for the ESP8266 (peripherals, memory, clocks, JTAG, programming)

User avatar
By Arwa Ashraf
#95476 I am trying to communicate between nodeMCU board and STM32 board using SPI, with nodeMCU being the slave. I am using ESP_RTOS_SDK.
Master sends a message of 4 bytes:
- First is the command to write to slave "0x2"
-Second is the address "0x00"
-Last two bytes are the data.
The 4 bytes are sent back to back without delays and with chip select pin kept low.

The command is received correctly and "write buffer done interrupt" fires, however, the data buffer returns garbage. What could be the issue?