cancel
Showing results for 
Search instead for 
Did you mean: 

SPI using Registers in STM32H7 - There is no SPI1->DR (like in STM32F4)- only

DPham.2
Associate II

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

2 REPLIES 2
TDK
Guru

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.

If you feel a post has answered your question, please click "Accept as Solution".

thank you for your reply,

I found that part: SPI data transmission and reception procedures

I will read and testing it

0693W00000D03kOQAR.png