SPI using Registers in STM32H7 - There is no SPI1->DR (like in STM32F4)- only
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎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
- Labels:
-
SPI
-
STM32H7 series
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-07-19 7: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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎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
