2021-09-10 02:31 AM
Hello,
I want to use a STM32L4P5 for reading and writing data to 2 SD Cards.
In the STM32CubeL4 repo, I find in the FATFS/src/drivers folder the files
sd_diskio_dma_template_bspv1.c and sd_diskio_dma_template_bspv2.c
Each file calls a different BSP versions.
Why are there two versions of this file?
When I use the BSP generated by the STMCubeIDE, the generated functions seem to be compatible to the bspv1 version.
In the example applications in the STMCubeL4 package, I also haven't found any project that uses the bspv2.
Is there any way to get the corresponding BSP driver, that is compatible with the sd_diskio_dma_template_bspv2.c?
Solved! Go to Solution.
2021-09-10 06:24 AM
Hello @THerb.2 ,
The STMCubeL4 package supports the BSP v1.
Otherwise, FATFS is independent of series, so we have to provide templates for all STM32.
since the BSP has two implementations v1 and v2, we need to provide the 2 templates
BeST Regards,
Walid
2021-09-10 06:24 AM
Hello @THerb.2 ,
The STMCubeL4 package supports the BSP v1.
Otherwise, FATFS is independent of series, so we have to provide templates for all STM32.
since the BSP has two implementations v1 and v2, we need to provide the 2 templates
BeST Regards,
Walid