MCUXpresso SDK Documentation

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
  1. Connect a type-c USB cable between the host PC and the MCU-Link USB port (J13) on the target board.

  2. Open a serial terminal with the following settings:

    • 115200 baud rate

    • 8 data bits

    • No parity

    • One stop bit

    • No flow control

  3. Download the program to the target board.

  4. 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
  1. Connect a type-c USB cable between the host PC and the MCU-Link USB port (J13) on the target board.

  2. Open a serial terminal with the following settings:

    • 115200 baud rate

    • 8 data bits

    • No parity

    • One stop bit

    • No flow control

  3. Download the program to the target board.

  4. 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 !