Note on the number of bits sent by STM32 SPI

Although in the standard library, the DATA parameter in this function is 16-bit, it may not be able to send 16-bit data. 

  As you can see in the "stm32 Chinese Reference Manual", the number of bits of data to be sent is determined based on the data frame length of the defined structure.

Guess you like

Origin blog.csdn.net/qq_62573253/article/details/126815163