cancel
Showing results for 
Search instead for 
Did you mean: 

STM32F746G-Discover SPI communication

sasmithadilshan
Associate II

Hi I am using an STM32F746G DISCO board, I need to read some data from the SD card and then visualize them on the display and afterward, I need to send those data using SPI to the FPGA board, So I need some help insights related to this to achieve this target. I look at some UART examples but I need SPI communication in this case.

5 REPLIES 5
TDK
Guru

Look at the SPI examples for that board.

TDK_0-1706361083869.png

https://github.com/STMicroelectronics/STM32CubeF7/tree/master/Projects/STM32746G-Discovery/Examples/SPI/SPI_FullDuplex_ComPolling

 

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

What help, exactly, do you need?

What have you tried? Where are you stuck?

You seem to have successfully identified the things you need to do:

  1. read some data from the SD card
  2. visualize some data on the display
  3. send some data using SPI

So can you do each of those separately?

In No 3, is the STM32 the master or slave? There should be examples of using the SPI - certainly with the STM32 as Master...

yeah i read the data from the SD card usuign fatfs , now I need to display them to screen as scrollable list and when I select that particular item I need to send that to a slave device using SPI so I am stuck at 2 and 3

 

i ll look in to this as well, thank you so much