mcg_pei_blpi
Overview
The pei_bpli example shows how to use MCG driver to change from PEI mode to BLPI mode:
How to use the mode functions for MCG mode switch.
How to use the frequency functions to get current MCG frequency.
Work flow Boot to PEI mode from default reset mode Change mode PEI -> FBI -> BLPI Change back BLPI -> FBI -> PEI Get System clock in PEI mode to blink LED
In this example, because the debug console’s clock frequency may change, so the example running information is not output from debug console. Here the LED blinks to show that the example finished successfully.