File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed
libraries/PDM/src/STM32H747_dfsdm Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -68,7 +68,9 @@ void HAL_DFSDM_FilterRegConvHalfCpltCallback(DFSDM_Filter_HandleTypeDef *hdfsdm_
68
68
{
69
69
xfer_status |= DMA_XFER_HALF ;
70
70
// Invalidate Data Cache to get the updated content of the SRAM
71
+ #ifdef CORE_CM7
71
72
SCB_InvalidateDCache_by_Addr ((uint32_t * )& RecBuff [0 ],sizeof (RecBuff )/2 );
73
+ #endif
72
74
}
73
75
PDMIrqHandler (true);
74
76
}
@@ -86,7 +88,9 @@ void HAL_DFSDM_FilterRegConvCpltCallback(DFSDM_Filter_HandleTypeDef *hdfsdm_filt
86
88
{
87
89
xfer_status |= DMA_XFER_FULL ;
88
90
// Invalidate Data Cache to get the updated content of the SRAM
91
+ #ifdef CORE_CM7
89
92
SCB_InvalidateDCache_by_Addr ((uint32_t * )& RecBuff [PDM_BUFFER_SIZE /2 ],sizeof (RecBuff )/2 );
93
+ #endif
90
94
}
91
95
PDMIrqHandler (false);
92
96
}
You can’t perform that action at this time.
0 commit comments