TSPC#
Overview#
The TSPC Example project is to demonstrate usage of the KSDK tspc driver. In this example, TSPC will put the two pads into one group, then disable the output buffer of one pad, and the output buffer of the other pad will change accordingly.
Running the demo#
When the example runs successfully, you can see the similar information from the terminal as below.
TSPC Example started !
PAD2 interrupt is occurred !
PAD2 interrupt flag is cleared !
TSPC 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.
TSPC Example started !
PAD2 interrupt is occurred !
PAD2 interrupt flag is cleared !
TSPC 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.
TSPC Example started !
PAD2 interrupt is occurred !
PAD2 interrupt flag is cleared !
TSPC example is finished !