Solved
HAL_SPI SPI_DIRECTION_1LINE mode Send 4 more cycles
HI:
STM32F103
STM32CUBEMX V4.25.1
As shown in the figure, I read one byte in 1line mode, but sent five bytes, four more than I wanted.
thanks
HI:
STM32F103
STM32CUBEMX V4.25.1
As shown in the figure, I read one byte in 1line mode, but sent five bytes, four more than I wanted.
thanks
That's just how the hardware works in one line receive mode. The clock continues until the peripheral is disabled which takes some time, particularly at high data rates.
You can use two line mode, or use your own drivers to control the peripheral more exactly.
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.