Hi all,
In SPI communication mode, can we write zero value to the CS pin without writing data to the MOSI?.
Is there any specific control register for viewing the value of the CS pin?
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.
Hi all,
In SPI communication mode, can we write zero value to the CS pin without writing data to the MOSI?.
Is there any specific control register for viewing the value of the CS pin?
You cannot directly control the CS pin. I believe for what you are asking, you need to configure the MCU pin as GPIO. In GPIO pin you can control the state of the pin and read back the status of the pin.
Thank you for the reply.
I was looking for generating a continuous clock pulse from the SPI cock lines. Thats why I asked for the CS pin controls. I need a low frequency peripheral clock without any jitters, preferably from the PLL source itself.
I would suggest you look at the PWM in this case. You'll have more control.
Thank you Gus for your valuable suggestion. We tried with McBSP and generated a clock signal.