STM32F746G-DISCO Touch Screen using STemWin + SD Card FatFS
Hello,
I started out with this example:
Then I try to add SD Card support using FATFS on SD Card and SDMMC1 (similar to the “STM32Cube_FW_F7_V1.15.0\Projects\STM32746G-Discovery\Applications\FatFs\FatFs_uSD�? example - which I can compile and run on my board, so I know the hardware works and my SD Card is good)
My code fails consistently on step #4 in my "user.c" file, which is when I try to create/open a new file :astonished_face:
The touchscreen logic runs fine and my error message is displayed on the screed…
Is it something with my clocks configuration?
Is it something with the signals to the card (pull-up vs no-pullup, etc...)?
Is it something with any of the FatFS or driver files (old versions, bugs, etc...)?
Can I not use the SD Card while using the Touch Screen support (that would be crazy...)?
I’m not sure why this is happening, but would appreciate any help you can offer.
Attached is the .IOC file and the GUI_App.c file where my user function is called from (all generated using STM32CubeMX 4.26.0 and modified using Atollic TrueSTUDIO 9.3.0 + the FatFs_uSD code generated using the same STM32CubeMX 4.26.0)
Please help!!! :smiling_face_with_smiling_eyes:
Thanks in advance for any assistance you can offer…
