Skip to main content
ronny
Visitor II
July 10, 2015
Question

SPI Bus Fault due to xPortSysTickHandler FreeRTOS

  • July 10, 2015
  • 0 replies
  • 400 views
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
This topic has been closed for replies.