cancel
Showing results for 
Search instead for 
Did you mean: 

SPI communication on STM32H7

Jonathan Kim
Associate II

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.

4 REPLIES 4
S.Ma
Principal

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

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?

AScha.3
Chief II

another problem could be the cache...

just try: D-cache off.

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