mcglite#
Overview#
The MCG_Lite example shows how to use MCG_Lite driver:
How to use the mode functions for MCG_Lite mode switch.
How to use the frequency functions to get current MCG_Lite frequency.
Work flow Reset mode –> LIRC8M LIRC8M –> HIRC HIRC –> LIRC2M LIRC2M –> EXT EXT –> HIRC HIRC –> LIRC8M LIRC8M –> EXT EXT –> LIRC2M LIRC2M –> HIRC HIRC –> EXT EXT –> LIRC8M LIRC8M –> LIRC2M LIRC2M –> LIRC8M 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-K32L2B
Hardware requirements
Mini/micro USB cable
FRDMK32L2B board
Personal Computer
Board settings
No special board settings.
Prepare the Demo
Connect a mini/micro USB cable between the PC host and the OpenSDA USB port on FRDMK32L2B board.
Download the program to the target board.
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 K32L2B.
Running the demo
When the demo runs successfully, the board’s LED will blink.
FRDM-MCXC041
Hardware requirements
Type-C USB cable
FRDM-MCXC041 board
Personal Computer
Board settings
No special board settings.
Prepare the Demo
Connect a Type-C USB cable between the PC host and the OpenSDA USB port on FRDM-MCXC041 board.
Download the program to the target board.
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 MCXC041.
Running the demo
When the demo runs successfully, the board’s LED will blink.
FRDM-MCXC242
Hardware requirements
USB-C cable
FRDM-MCXC242 board
Personal Computer
Board settings
No special board settings.
Prepare the Demo
Connect a mini/micro USB cable between the PC host and the OpenSDA USB port on FRDM-MCXC242 board.
Download the program to the target board.
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 MCXC242.
Running the demo
When the demo runs successfully, the board’s LED will blink.
FRDM-MCXC444
Hardware requirements
Type-C USB cable
FRDM-MCXC444 board
Personal Computer
Board settings
No special board settings.
Prepare the Demo
Connect a type-c USB cable between the host PC and the MCU-Link USB port (J13) on the target board.
Download the program to the target board.
Either press the reset button on your board or launch the debugger in your IDE to begin running the demo. .
Running the demo
When the demo runs successfully, the board’s LED will blink.