Hello,
I measured the clock initialization time with an oscilloscope to be about 130ms, is this time normal?
Well, since you are using some drivers which are based on platform and not optimized specially for this device, the time can be various. there will be huge overhead compared to ASM init code.
in reality, to setup clocks in shortest possible time would require approximately 100 instructions.
Please always refer to your driver documentation for execution time.
NXP usually release those in quality package of drivers.
It will also depends on how do you measure the execution time. Measuring with some driver toggling pin will be much different from tracing the instruction execution with advanced debuggers.
best regards,
Peter