Hardware requirements
Mini/micro USB cable
MCX-N9XX-EVK board
Personal Computer
An encoder with PHASE A/B signals.
Board settings
For pin connection between board and encoder, J2.15(P1_0) -> kINPUTMUX_TrigIn1ToQdc0Phasea -> QDC_PHA J3.3 (P1_22) -> kINPUTMUX_TrigIn3ToQdc0Phaseb -> QDC_PHB J2.17(P1_1) -> kINPUTMUX_TrigIn0ToQdc0Index -> QDC_INDEX
Prepare the Demo
Connect a USB cable between the host PC and the MCU-Link USB port on the target board.
Connect the wires between encoder and the MCU board. See to the code for pin mux setting in function “BOARD_InitPins()”.
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
${ANCHOR}