ESP32 SPI slave receive interruptĀ
Posted: Tue Dec 12, 2017 5:28 am
Hello,
I am trying to connect ESP32 as a SPI Slave mode with a sensor (the senor is not just a sensor, it is a sensor device, equipped microcontroller in it, which is the Master).
I want to enable the receive interrupt of SPI slave, so that, whenever any byte I receive from Sensor, control goes to receive ISR and do some task.
In the driver provided by esp-idf, I couldn't find the interrupt enable option and also interrupt handler/ISR.
So, kindly help me in finding, how I can enable the receive interrupt for SPI communication while it is in slave more. Any information will be highly appreciated.
dip !!
I am trying to connect ESP32 as a SPI Slave mode with a sensor (the senor is not just a sensor, it is a sensor device, equipped microcontroller in it, which is the Master).
I want to enable the receive interrupt of SPI slave, so that, whenever any byte I receive from Sensor, control goes to receive ISR and do some task.
In the driver provided by esp-idf, I couldn't find the interrupt enable option and also interrupt handler/ISR.
So, kindly help me in finding, how I can enable the receive interrupt for SPI communication while it is in slave more. Any information will be highly appreciated.
dip !!