AnsweredAssumed Answered

STM32F103 SPI question

Question asked by Juha Aaltonen on Apr 28, 2017
Latest reply on Apr 28, 2017 by Tilen MAJERLE

This is the first time I need SPI, and there are two things that are still unclear to me:

1) I understand that to receive from a slave, I need to send something - maybe zeros?

So if I have a chip that takes register address and data, and returns status, I need to send

address, data and a zero?

2) It says in the reference manual that the HW NSS goes active when something is written in the

transmitter register and stays active until the SPI is turned OFF (SPE-bit), but how about the clock?

Does the clock stop ticking when the transmitter shift register gets empty? And is the BSY-flag turned

OFF when that happens?

Outcomes