MCUXpresso SDK Documentation

mcg_pee_blpi

mcg_pee_blpi#

Overview#

The pee_bpli example shows how to use MCG driver to change from PEE mode to BLPI mode:

  1. How to use the mode functions for MCG mode switch.

  2. How to use the frequency functions to get current MCG frequency.

  3. Work flow Boot to PEE mode from default reset mode Change mode PEE -> PBE ->FBE -> FBI -> BLPI Change back BLPI -> FBI -> FBE -> PBE -> PEE Get System clock in PEE 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.

Supported Boards#

FRDM-K22F
Hardware requirements
  • Mini/Micro USB cable

  • FRDMK22F board

  • Personal Computer

Board settings

No special board settings.

Prepare the Demo
  1. Connect a mini/micro USB cable between the PC host and the OpenSDA USB port on FRDMK22F board.

  2. Download the program to the target board.

  3. Either press the reset button on your board or launch the debugger in your IDE to begin running the demo. For detailed instructions, see Getting Started with Software Development Kit for K22F.

Running the demo

When the demo runs successfully, the board’s LED will blink.

TWR-KM34Z50MV3
Hardware requirements
  • Mini USB cable

  • TWR-KM34Z75M board

  • Personal Computer

Board settings

No special settings are required.

Prepare the Demo
  1. Connect a USB cable between the host PC and the OpenSDA USB port on the target board.

  2. Download the program to the target board.

  3. Either press the reset button on your board or launch the debugger in your IDE to begin running the example.

Running the demo

When the demo runs successfully, the board’s LED will blink.

TWR-KM34Z75M
Hardware requirements
  • Mini USB cable

  • TWR-KM34Z75M board

  • Personal Computer

Board settings

No special settings are required.

Prepare the Demo
  1. Connect a USB cable between the host PC and the OpenSDA USB port on the target board.

  2. Download the program to the target board.

  3. Either press the reset button on your board or launch the debugger in your IDE to begin running the example.

Running the demo

When the demo runs successfully, the board’s LED will blink.

TWR-KM35Z75M
Hardware requirements
  • Micro USB cable

  • TWR-KM35Z75M board

  • Personal Computer

Board settings

No special settings are required.

Prepare the Demo
  1. Connect a USB cable between the host PC and the OpenSDA USB port on the target board.

  2. Download the program to the target board.

  3. Either press the reset button on your board or launch the debugger in your IDE to begin running the example.

Running the demo

When the demo runs successfully, the board’s LED will blink.