cancel
Showing results for 
Search instead for 
Did you mean: 

SPI Bus Fault due to xPortSysTickHandler FreeRTOS

ronny
Associate
Posted on July 10, 2015 at 13:10

When the xPortSysTickHandler is called at the moment the SPI HW block is executing a SPI communication the i get a Bus fault resulting in a Hardfault

Is this a known issue?

I can solve the issue by first executing the FreeRTOS command taskENTER_CRITICAL

but then the Systick is not running anymore, with the result that the Timeout functions in the stmf2xx_hal_spi are not working any more

Does any one know a solution for this issue?

#stm32f2-spi
0 REPLIES 0