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

How does writing to SPI1->TXD affect SPIS transaction on nRF51822

I have a strange bug, that I do not have any good answer for.

In the software, I use either SPI1 or SPIS depending on current configuration, I have seen some rare cases where I see unexplained 0 values on the MISO line when running the mcu with SPIS activated.

Can a write to SPI1->TXD, while the SPIS is Active (SPI1->ENABLE | SPIS->ENABLE have value of 0x02) affect the output stream on MISO even if the SPI1 is not enabled?

I have found that I in some situations do write to SPI1->TXD, an error that is fixed, but I want to know if that is the reason for my issue. I belive that should be in the documentation some where if that is the case.

/Anders Zellén

Related