LCU#
Overview#
The LCU Example project is to demonstrate usage of the KSDK lcu driver. In this example, The LCU will configure the LUT table to LCU OUTPUT and trigger interrupt when a LUT event is generated.
Running the demo#
When the example runs successfully, you can see the similar information from the terminal as below.
LCU interrupt Example started !
LCU interrupt is occurred
LCU interrupt flag is cleared !
LCU interrupt example is finished !
Supported Boards#
FRDM-MCXE31B
Hardware requirements
Type-C USB cable
FRDM-MCXE31B board
Personal Computer
Board settings
No special settings are required.
Prepare the Demo
Connect a type-c USB cable between the host PC and the MCU-Link USB port (J13) on the target board.
Open a serial terminal with the following settings:
115200 baud rate
8 data bits
No parity
One stop bit
No flow control
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 example runs successfully, you can see the similar information from the terminal as below.
LCU interrupt Example started !
LCU interrupt is occurred
LCU interrupt flag is cleared !
LCU interrupt example is finished !
FRDM-MCXE32B
Hardware requirements
Type-C USB cable
FRDM-MCXE32B board
Personal Computer
Board settings
No special settings are required.
Prepare the Demo
Connect a type-c USB cable between the host PC and the MCU-Link USB port (J13) on the target board.
Open a serial terminal with the following settings:
115200 baud rate
8 data bits
No parity
One stop bit
No flow control
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 example runs successfully, you can see the similar information from the terminal as below.
LCU interrupt Example started !
LCU interrupt is occurred
LCU interrupt flag is cleared !
LCU interrupt example is finished !