MCUXpresso SDK Documentation

mcg_fee_blpi

mcg_fee_blpi#

Overview#

The fee_bpli example shows how to use MCG driver to change from FEE 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 FEE mode from default reset mode Change from FEE -> FBI -> BLPI Change back BLPI -> FBI -> FEE Get System clock in FEE 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.