This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Does setting down SPIS_CSN_PIN for one SPI instance affect the other?

Hello,

I have a brief question regarding to SPI, I have two instances of SPI, SPI0 and SPI1, I was wondering whether or not changing the value of SPIS_CSN_PIN to SPI0 would affect to SPI1 and viceversa. Could you enlighten me ?

Also related, if I my spi_write() method inclue the following loop, I make my function blocking right?

  while (!spi_xfer_done_SPI0) {
    __WFE();
  }

How can I make it not blocking?

Thanks again,

Related