Hi All,
I am New in this group. i need some information about nodeMcu ESP8266 SPI as Slave.
my Requirements are like::
i have some sensor which is connected through Nrf51 and sensor data like " 01 02 03 04 05 06 07 08 09 A0 B0 C0 D0 E0 F0 10 " in 16 Bytes chunk. Currently I am using spi slave library provided on Github but it receive like " 03 04 05 06 07 08 09 A0 B0 C0 D0 00 FF 00 "
means start two bytes and last 3 bytes are missing.
i need to send 10 strings as mention data in upper on ESP8266 SPI bus. so ESP8266 works as slave and NRF51 works as master.
i am trying to receive all bytes in such manner.
please provide me spi slave library or example so that i can complete my test.
Thanks.
ESP8266 SPI Slave source code
- pythoncoder
- Posts: 5956
- Joined: Fri Jul 18, 2014 8:01 am
- Location: UK
- Contact:
Re: ESP8266 SPI Slave source code
Slave mode has timing issues on ESPx because of the underlying vendor code. Try using lower baudrates.
Peter Hinch
Index to my micropython libraries.
Index to my micropython libraries.