Hardware requirements#
Micro USB cable
MIMX8MM6-EVK board
J-Link Debug Probe
12V power supply
Personal Computer
Board settings#
No special settings are required.
Prepare the Demo#
Connect 12V power supply and J-Link Debug Probe to the board, switch SW101 to power on the board
Connect a USB cable between the host PC and the J901 USB port 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.
Launch the debugger in your IDE to begin running the demo.
Running the demo#
In order to test this feature by using a single i.MX 8M Mini LPDDR4 EVK board, use external loopback of UART3 for testing. Please connect PIN8 (UART3_TXD) and PIN10 (UART3_RXD) by using a flying wire.
When the demo runs successfully, the log would be seen on the debug terminal like:
UART will send first piece of data out without addressing itself: 0x10 0x11 0x12 0x13 0x14 0x15 0x16 0x17
UART will send second piece of data out with addressing itself: Address: 0xfe : 0x80 0x81 0x82 0x83 0x84 0x85 0x86 0x87
UART received data: Address: 0xfe : 0x80 0x81 0x82 0x83 0x84 0x85 0x86 0x87
All data matches!