-->
Page 1 of 1

HSPI Slave mode and cohesixtence with other SPI slave

PostPosted: Thu Apr 19, 2018 8:38 am
by chiara
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