blanc6389 wrote on Monday, May 08, 2017:
I am using stm32l162ve with FreeRTOS 7.1.0. System execute the following code in vApplicationIdleHook().
asm volatile( “dsb” );
asm volatile( “wfi” );
asm volatile( “isb” );
If the system clock run at 16MHz, everything is fine. If I change the system clock to 32Mhz, system gets hard fault after executing vApplicationIdleHook(). I have to remove the code in vApplicationIdleHook().
Have someone experienced the same problem before?