STM32F746G-Discover SPI communication
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-01-27 12:57 AM
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.
- Labels:
-
TouchGFX
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-01-27 5:12 AM
Look at the SPI examples for that board.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-01-27 5:18 AM - edited ‎2024-01-27 5:19 AM
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:
- read some data from the SD card
- visualize some data on the display
- 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...
A complex system designed from scratch never works and cannot be patched up to make it work.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-01-28 12:36 AM
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-01-28 12:37 AM
i ll look in to this as well, thank you so much
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-01-29 2:12 AM
@sasmithadilshan wrote:I am stuck at 2 and 3
So start with 2 first.
Have you selected a graphics library/framework?
eg,
https://www.st.com/content/st_com/en/ecosystems/stm32-graphic-user-interface.html
A complex system designed from scratch never works and cannot be patched up to make it work.
