Search found 1 match

by corrado
Sat Mar 09, 2024 1:55 pm
Forum: ESP32 Arduino
Topic: SPI as an interrupt-driven slave
Replies: 1
Views: 696

SPI as an interrupt-driven slave

I need to migrate from Arduino Uno to ESP32 an application where the SPI subsystem is used as an interrupt-driven slave: void setup() { … SPCR=bit(SPE); SPI.attachInterrupt(); } ISR (SPI_STC_vect) { spi_dat=SPDR; } These instructions generate compilation error because are tied to Arduino Uno hardwar...