We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 373e7c6 commit a31a233Copy full SHA for a31a233
libraries/PDM/src/STM32H747_dfsdm/audio.c
@@ -68,7 +68,9 @@ void HAL_DFSDM_FilterRegConvHalfCpltCallback(DFSDM_Filter_HandleTypeDef *hdfsdm_
68
{
69
xfer_status |= DMA_XFER_HALF;
70
// Invalidate Data Cache to get the updated content of the SRAM
71
+ #ifdef CORE_CM7
72
SCB_InvalidateDCache_by_Addr((uint32_t*)&RecBuff[0],sizeof(RecBuff)/2);
73
+ #endif
74
}
75
PDMIrqHandler(true);
76
@@ -86,7 +88,9 @@ void HAL_DFSDM_FilterRegConvCpltCallback(DFSDM_Filter_HandleTypeDef *hdfsdm_filt
86
88
87
89
xfer_status |= DMA_XFER_FULL;
90
91
92
SCB_InvalidateDCache_by_Addr((uint32_t*)&RecBuff[PDM_BUFFER_SIZE/2],sizeof(RecBuff)/2);
93
94
95
PDMIrqHandler(false);
96
0 commit comments