UART Receiving Problem IMX6Q bare-metal programming

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

UART Receiving Problem IMX6Q bare-metal programming

685 Views
khaledali
Contributor III

Hello All,
I tried to configure the UART peripheral in IMX6Q using the reference manual Chapter64 section 13.1

with header "Programming the UART in RS-232 mode" i just made little changes with control flow to make it a software instead of hardware and the baud rate also the RXFIFO trigger level to 1 character instead of 30
In the main program:
i tried to write directly to the UTXD register
and the output correctly appeared.
and i tried in an infinite loop to read any data from URXD register and then forward it to the UTXD

but when trying to write anything to the console there is no thing happened and i receive nothing.
_________________________________________________________________________________________________________
so can anyone help me figure out what is the problem ?

i even tried to see the registers using the jtag connection with Dstream device but all memory locations are accessible except for the
UART registerts?

Labels (1)
0 Kudos
2 Replies

586 Views
igorpadykov
NXP Employee
NXP Employee

Hi Khaled

one can look at attached example for i.MX6Q Sabre board.

Best regards

igor

-----------------------------------------------------------------------------------------------------------------------

Note: If this post answers your question, please click the Correct Answer button. Thank you!

-----------------------------------------------------------------------------------------------------------------------

586 Views
khaledali
Contributor III

Thanks igor i'll try to see the differences between the 2 configurations

0 Kudos