AnsweredAssumed Answered

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

Question asked by Szymon Mroczek on Nov 24, 2013

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?

Outcomes