2017-04-28 03:57 AM
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?
#spi #stm32f1032017-04-28 04:08 AM
Hello,
please check answers below:
Hope this is more clear now.
2017-04-28 06:12 AM
Thanks for confirming what I suspected.