EasyManua.ls Logo

NXP Semiconductors KW45B41Z-EVK - Connecting and Debugging with MCU-Link

NXP Semiconductors KW45B41Z-EVK
50 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
NXP Semiconductors
KW45B41Z-EVKUM
KW45B41Z-EVK Board User Manual
Debug scenario Feature support
Connect the external debugger to the target MCU SWD connector
J16. The target MCU SWD interface is connected to the external
debugger.
VCOM: MCU-Link VCOM feature can be used
USBSIO: MCU-Link USBSIO feature can be used
Target selection: Target selection jumper JP26 is open
Target power selection: Target power selection jumper JP28 is set to
1-2 shorted
Use MCU-Link as debugger for an external
target MCU
SWD:
MCU-Link SWD feature is enabled (MCU-Link SWD disable jumper
JP22 is open)
Connect the external target MCU to the target MCU SWD connector
J16
VCOM: MCU-Link VCOM feature is not supported
USBSIO: MCU-Link USBSIO feature is not supported
Target selection: Short target selection jumper JP26
Target power selection:
If the external target MCU has to get power from the board, then set
target power selection jumper JP28 to 1-2 shorted
If the external target MCU has to use its own power, then set jumper
JP28 to 2-3 shorted
Table 21. Supported debug scenarios...continued
3.6 Connecting to a target through a USB-to-UART bridge
MCU-Link supports the VCOM serial port feature, which adds a serial COM port on the host computer, and
connects it to the target MCU by using MCU-Link as a USB-to-UART bridge.
In the KW45B41Z-EVK board, MCU-Link is connected to the LPUART1 port of the target MCU through a
voltage translator U23. The voltage translator enables communication between MCU-Link and the target MCU,
by shifting voltage levels of signals between the two devices from 3.3 V to VCC_TGMCU and vice versa.
To use MCU-Link as a USB-to-UART bridge, verify the following jumper settings and connect the J14 connector
on the board to the USB port of the host computer:
Jumper JP20 is open (MCU-Link is in Normal mode)
Jumper JP21 is open (USB-to-UART bridge is enabled)
When you boot the KW45B41Z-EVK board, a VCOM port with the name MCU-Link Vcom Port (COMxx) is
enumerated on the host computer, where “xx” may vary from one computer to another. Each MCU-Link based
board has a unique VCOM number associated with it.
The USB-to-UART bridge (VCOM feature) can be disabled by disabling voltage translator U23 (setting it to high-
impedance). To disable U23, unpower the KW45B41Z-EVK board and short jumper JP21. Shorting/opening
JP21 after powering up the board has no impact on the functions/features of the MCU-Link firmware.
3.7 Connecting to a target through a USB-to-SPI or USB-to-I2C bridge
MCU-Link supports the USB serial input/output (USBSIO) port feature, which adds a USB serial I/O port on the
host computer, and connects it to the target MCU by using MCU-Link as a USB-to-SPI bridge or USB-to-I2C
bridge. Support for the USBSIO feature can be enabled on the host computer using the libusbsio library, which
is a free host library from NXP for Windows/Linux/MacOS systems. For more details on the libusbsio library, see
https://www.nxp.com/libusbsio.
KW45B41Z-EVKUM All information provided in this document is subject to legal disclaimers. © 2023 NXP B.V. All rights reserved.
User manual Rev. 2 — 13 February 2023
44 / 50

Related product manuals