ESP-12F SPI in slave mode
Posted: Wed Nov 02, 2022 7:56 am
Trying to connect STM32F103 to ESP-12F via SPI
STM32F103 as master, and ESP-12F in slave mode.
I found this library https://github.com/esp8266/Arduino/tree/master/libraries/SPISlave
Actually, this example is loaded into the ESP-12F as is https://github.com/esp8266/Arduino/blob ... e_Test.ino
When I send the string "Hello Slave!" from the master side.
ESP-12F to COM port instead of the expected "Question: Hello Slave!" writes "Status Sent!" sometimes ""Question:" with some garbage.
I looked with a logic analyzer what is happening on the bus, everything seems to be fine.
Picture from the logic analyzer:
What am I doing wrong?
STM32F103 as master, and ESP-12F in slave mode.
I found this library https://github.com/esp8266/Arduino/tree/master/libraries/SPISlave
Actually, this example is loaded into the ESP-12F as is https://github.com/esp8266/Arduino/blob ... e_Test.ino
When I send the string "Hello Slave!" from the master side.
ESP-12F to COM port instead of the expected "Question: Hello Slave!" writes "Status Sent!" sometimes ""Question:" with some garbage.
I looked with a logic analyzer what is happening on the bus, everything seems to be fine.
Picture from the logic analyzer:
What am I doing wrong?