This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Tool/software:
Hi all,
It's about the SPI peripheral's receiver shift register.
I know we can auto clear the shift register bit counter when CS inactive in 4 wires-SPI model.
The situation is that in 3 wires-SPI model there's no CS, how do we do it? Is it possible to manually clear that bit counter?
Thanks,
It seems you need to reset the SPI module to reset the bit counter by the API below
DL_SPI_reset();
Thank you Gary, . . .that's also what I thought. Just to make sure if we have a better & faster method for this. As I think resetting and re-initialing the module will take more time & may slow down the process.
Loan,