Enable MCU UARTs
Connect usb typec cable from pc to typec port J15 of board.(It will emulate four serial ports[e.g. COM0 - LPUART8, COM1, COM2 - LPUART1, COM3 - LPUART2] in pc)
COM0(LPUART8 - use as uart of cortex-m33 core1)
COM2(LPUART1 - use as uart of Cortex-A)
COM3(LPUART2 - use as uart of Cortex-m33 core0)
Connect two usb2uart converter from pc to arduino interface of board.(It will emulate two serial ports[e.g. COM4 - LPUART11, COM5 - LPUART12] in pc)
COM4(LPUART11 - use as uart of cortex-m7 core0)
J48-2(M2_UART11_RXD) – TX of usb2uart converter – pc
J48-4(M2_UART11_TXD) – RX of usb2uart converter – pc
GND —————– GND of usb2uart converter – pc
COM5(LPUART12 - use as uart of cortex-m7 core1)
J44-4(M1_UART12_RXD) – TX of usb2uart converter – pc
J44-2(M1_UART12_TXD) – RX of usb2uart converter – pc
GND —————– GND of usb2uart converter – pc
Note:
mx943evk for
m33_image.bin
is used forrpmsg str echo
,rpmsg ping pong
andpower_mode_switch_rtos
.mx943alt for
m33_image.bin
is used for almost other examples.JTAG cannot be used when LPUART8 is used.
Pls change uart from LPUART8 to LPUART1 and generate m33_image.bin with command
make config=mx94alt all
when debugging with jtag.For MCUXPresso SDK
_boards/imx943evk/board.h #define BOARD_DEBUG_UART_INSTANCE 8 -> #define BOARD_DEBUG_UART_INSTANCE 1
Parent topic:Run a demo application