How to write stm32l5xx_hal_mmc DMA to stm32l5xx_hal_ospi?
I’m attempting to optimize a process of loading a large file from eMMC flash memory directly into a SPI device with 8 data lanes. Originally, I meant to use peripheral to peripheral in the DMA component that comes internally with the STM32L5 series. However, the hal32l5xx_hal_mmc driver states
“No general propose DMA Configuration is needed, an Internal DMA for SDMMC Peripheral are used.�?
I’m trying to determine the most speed-efficient way to manage this transfer. I’m currently experimenting with directly calling the OctoSPI memory mapped location as the data buffer in the HAL_MMC_ReadBlocks_DMA function but I’m having little success.
Are there any examples of using MMC Peripheral to Peripheral DMA communication? How would this process be achieved?
