Hello,
Sorry, but I am new to upy.
Is there an option to run SPI as slave on the ESP32?
Or just use a the readinto basted on an interrupt?
I have 2 ESP32, and would like to use SPI for them to talk together, as the HW SPI is super fast.
I already have the master sending data, but do not know how to make the slave working.
Any help or pointer would be appreciated.
Alternative could be I2C, but is that not more heavy on the CPU?
Thanks.
//StuartStardust
SPI as slave.
Re: SPI as slave.
StuartStardust wrote:Hello,
Sorry, but I am new to upy.
Is there an option to run SPI as slave on the ESP32?
Or just use a the readinto basted on an interrupt?
I have 2 ESP32, and would like to use SPI for them to talk together, as the HW SPI is super fast.
I already have the master sending data, but do not know how to make the slave working.
Any help or pointer would be appreciated.
Alternative could be I2C, but is that not more heavy on the CPU?
Thanks.
//StuartStardust
It has a C interface for slave
https://docs.espressif.com/projects/esp ... slave.html
But not implement in python
https://github.com/micropython/micropython/issues/3700
Sent from my iPhone using Tapatalk Pro