_time_delay_ticks hangs application with multiple Clock Configuration (MQX Lite Processor Expert Kinetis L KL24)

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

_time_delay_ticks hangs application with multiple Clock Configuration (MQX Lite Processor Expert Kinetis L KL24)

719 次查看
mroczeks
Contributor IV

Hi,

I have a project based on Kinetis L (KL24) device. I am using ProcessorExpert for drivers with MQX Lite as a PE driver too.

In my task loop I use _time_delay_ticks function call to wait for some time.

It all works OK if I have only one Clock Configuration created in CPU driver.

If I add second Clock Configuration the software execution reaches _time_delay_ticks function and hangs in Idle Task forever.

I does not matter if I ever use the second Clock Configuration or if this Clock Configuration is different from the first one.

If I delete _time_delay_ticks function call it all works OK.

WTF?

0 项奖励
回复
0 回复数