AnsweredAssumed Answered

i.MX6UL UART Sends, But Does Not Receive

Question asked by Dennis Jelcic on Jul 31, 2019
Latest reply on Aug 5, 2019 by Dennis Jelcic

We have created a project using example code in the SDK for a UART device driver.  The example simply receives characters, and sends back whatever is received.  We connected a terminal program to the serial port on our test board.  We are able to compile and run the code.  The example successfully sends characters from our test board to the terminal program on a PC.  However, the example code does not receive characters sent by the terminal program.  The "Ready To Read" flag never goes high.  We have tried both the "interrupt" version and the "polled" version of the example code, with the same failure in either case.

 

The terminal program we are using to do the testing appears to be configured properly (115200 bps, 8, N, 1, no flow control).

 

Here is the information regarding our environment and hardware.

 

Software:  IAR EW 8.32.4
Example Program:  NXP UART device driver example program
Processor:  NXP MCIMX6G2CVM05AA
Processor Board:  NXP MCIMX6UL-CM
Baseboard:  NXP MCIMX6UL-BB

 

Could there be some configuration setting that is not set properly?

 

Any assistance would be greatly appreciated.

 

Thank you.

Outcomes