Trying to get FatFs with uSD card working on Nucleo-H7A3ZI-Q
I've built a simple STM32CubeIDE project with just the SDMMC1 peripheral mapped, a GPIO pin for the SD Detect pin and the FatFs middleware enabled with DMA per a discussion elsewhere on this forum. I have a Waveshare microSD card jumpered to what I'm pretty sure are the right pins on the Nucleo board. The program gets all the way to the f_mkfs call which eventually winds up calling HAL_SD_WriteBlocks_DMA which, if I understand correctly, is supposed to eventually fire the BSP_SD_WriteCpltCallback if it completes the write correctly. Unfortunately, that WriteCpltCallback never gets called and the calling subroutines eventually times out and I'm not sure what event or IRQ is supposed to fire the WriteCpltCallback
I have the Waveshare microSD card jumpered with 6" jumpers to the Nucleo board which possibly presents a signal integrity issue which prevents the WriteBlocks_DMA call from completing correctly. However, I have gotten the Waveshare board to work on a Nucelo413ZH with the same jumpering scheme.
I'm open to any suggestions. A FatFs example program that would work on this Nucleo board would also be greatly appreciated. And if it didn't have all the STM322 HAL overhead, so much the better.
Thanks
