UART Receiving Problem IMX6Q bare-metal programming

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

UART Receiving Problem IMX6Q bare-metal programming

718件の閲覧回数
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 返答(返信)

619件の閲覧回数
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!

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

619件の閲覧回数
khaledali
Contributor III

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

0 件の賞賛