UART Receiving Problem IMX6Q bare-metal programming

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

UART Receiving Problem IMX6Q bare-metal programming

710 次查看
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?

标签 (1)
标记 (2)
0 项奖励
2 回复数

611 次查看
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!

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

611 次查看
khaledali
Contributor III

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

0 项奖励