Hardware requirements
Mini/micro USB cable
MIMXRT1024-EVK board
Personal Computer
USB to Com Converter
Board settings
Connect pin:
RX of USB2COM to J17-2
TX of USB2COM to J17-4
GND of USB2COM to J19-14
Prepare the Demo
Connect the USB2COM Converter to the host PC
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
When the demo runs successfully, the log would be seen on the UART Terminal port which connected to the USB2COM like:
Flexio uart polling example
Board will send back received characters
Note: To debug in qspiflash, following steps are needed:
Select the flash target and compile.
Set the SW8: 1 off 2 off 3 on 4 off, then power on the board and connect USB cable to J23.
Start debugging in IDE.
Keil: Click “Download (F8)” to program the image to qspiflash first then clicking “Start/Stop Debug Session (Ctrl+F5)” to start debugging.