Hardware requirements
Micro USB cable
MCIMX7ULP-EVK board
J-Link Debug Probe
5V power supply
Personal Computer
Board settings
The example requires connecting the FLEXIO pins with the USB2COM pins The connection should be set as follows:
TP25 on base board, TX of USB2COM connected
TP27 on base board, RX of USB2COM connected
GND on base board, Ground of USB2COM connected
Please note this application can’t support running with Linux BSP!
Please note there’s some limitation if running this application in QSPI flash in place. If run it in QSPI flash, there’s high latency when instruction cache miss. The FlexIO UART has no FIFO so it has critical timing requirement that UART data must be read in time, otherwise overflow may occur which causes data loss. So when running in QSPI flash, please don’t input more than 8 characters each time.
Prepare the Demo
Connect 5V power supply and J-Link Debug Probe to the board, switch SW1 to power on the board.
Connect a micro USB cable between the host PC and the J6 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.
Either press the reset button on your board or launch the debugger in your IDE to begin running the example
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 edma example
Board receives 8 characters then sends them out
Now please input: