AnsweredAssumed Answered

MQX Vybrid Clock Setup

Question asked by Ken Green on Jan 29, 2019
Latest reply on Feb 5, 2019 by Ken Green

I noticed that in version MQX 4.2.0 that the CCM_CCR register (Vybrid processor) shows 0x00010005 indicating that it is running from the FIRC oscillator (instead of the FXOSC). I see in the init_hw.c file that the FXOSC is turned on. But on running my app, the CCR reg shows 0x00010005. When is the init_hardware function (which calls clocks_init) called? It appears from the comments in the file (init_hw.c)  that it is called as part of the boot process. I can't find a place where it is called within MQX.

Outcomes