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

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

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

439 Views
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 Kudos
0 Replies