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

User avatar
By chiara
#75487 Hi everyone,

I'm working with an ESP8266 in HSPI slave mode connected with an Atmel Atmega 328p in master mode. Communication works fine until I try to share the SPI interface with another device as a slave. Obviously I have two different chip select (one for esp and one for the other device). Everytime I send a message to the other device (with esp's CS set HIGH) the next communications with esp fail.
Has anyone ever faced a similar issue? Is it possible to use esp as a slave with other devices connected?
I'm using the Arduino Core 2.4.0 on the esp with SPISlave library and the classical Arduino SPI library on 328p.

Thanks