Skip to main content
Jonathan Kim
Associate II
Apr 12, 2023 8:22 AM UTC
Question

SPI communication on STM32H7

SPI communication on STM32H7

Working on interfacing Nucleo-H7A3 to COMX-CN-FB evaluation board which embedded netX made by Hischer using SPI interface. 

  

Using SPL's SPI Transmit & Receive library, I implemented and proved the SPI data transmit & receive and confirmed SCK, MISO, MOSI, and SS signal on the Nucleo-H7A3 evaluation board.

And then, I transformed the source code for the Nucleo-H7A3 evaluation board but did not get the expected results on the oscilloscope. What did I miss out on configuring SPI, and what is this phenomenon induced from?

Please refer to the screenshot of the SPI oscilloscope waveform on the Nucleo-H7A3 evaluation board and on the Nucleo-F446 evaluation board in the attachment file.

This topic has been closed for replies.

4 replies

S.Ma
Principal
Apr 13, 2023 2:00 AM UTC

The SPI IP generation/version is different between F4 and H7. HW Fifo being one difference in the data flow.

Jonathan Kim
Associate II
Apr 13, 2023 8:41 AM UTC

Thank you for your reply.

What are there differences between F4 and H7 for SPI IP generation?

And where can I get some reference materials for SPI implementation of H7?

Pavel A.
Apr 13, 2023 2:01 PM UTC
AScha.3
Super User
Apr 13, 2023 3:59 PM UTC

another problem could be the cache...

just try: D-cache off.

If you feel a post has answered your question, please click on " Best Answer ".