2021-07-19 12:22 AM
I tried to follow the SPI transmit using Registers https://controllerstech.com/spi-using-registers-in-stm32/
look like in STM32H7 , it is changed significantly
for example SPI1->SR => SPI2S_SR.TXP
SPI2S_SR. EOT
EOT: end of transfer
TXP: Tx-packet space available
In general, it is so complicated for a new person when studying STM32H7. I tried to find a simple example related to LL library or register to improve the SPI speed.
Does anyone have any example or give me a hint to understand how to transfer and receive SPi with high speed (HAL is sooooo Sloww) ?
Thank you guys so much
2021-07-19 07:03 AM
It is more complicated, but the reference manual explains it very clearly. The biggest change is that both TX and RX have a FIFO associated with them.
Look at "49.4.11 SPI data transmission and reception procedures" in the reference manual.
2021-07-19 10:25 PM
thank you for your reply,
I found that part: SPI data transmission and reception procedures
I will read and testing it