Search found 1 match

by DonaldTheDinosaur
Thu Oct 24, 2019 6:10 pm
Forum: ESP32 Arduino
Topic: About SPI.transferBytes
Replies: 1
Views: 6842

Re: About SPI.transferBytes

Shouldn't

Code: Select all

while(spi->dev->cmd.usr);
be

Code: Select all

while(spi->dev->cmd.usr) yield();
to allow other threads on the same CPU to run while waiting for the SPI bus? This is needed to allow overlapping SPI transactions on different busses.