Hard Fault when dicrease core freq on F373
- January 11, 2021
- 2 replies
- 837 views
Hi,
I'm using STM32F373 for my project. When I'm using core freq >=36MHz everything is fine. But I need to decrease core freq for power consumption. When I run project with 12/24MHz Hard Fault is occurred in 1-5 secconds. Times is randoms. (Of course, if I'm using empty proj with "while" loop everything is fine too)
For more information I'm using:
FreeRTOS CMSIS V1
SDADC1,2,3
USB
DMA
Faul Analyzer:
Hard Fault Details - Bus, memory managment or usage fault (FORSED)
Bus Fault Details - Imprecise data access violation (IMPRECISERR)
In some task uses complex calculetions (for example calculation of thousands trigonometry functions ). And when I'm disable this task time of working increasing to 20-30 secs but Hard Fault is occurred anyway.
Below I attach clock config when hard Faul is occured
Thanks for answers!