Problem UART LPC 1347

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

Problem UART LPC 1347

1,526件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Paul Craciun on Wed Dec 11 12:12:49 MST 2013
Hey, I'm new here and I have a problem that i couldn't find a solution to it. When I'm trying to write a value to the THR register, after the assignment the THR reg is still 0. I even tried the code given by NXP and it's doing the same thing. What can i do ? Thanks.
ラベル(1)
0 件の賞賛
返信
4 返答(返信)

1,430件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Paul Craciun on Wed Dec 11 14:46:58 MST 2013
i don't read the value, i know the reg is write-only...but can't i just see it while debugging ?
0 件の賞賛
返信

1,430件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by R2D2 on Wed Dec 11 14:12:04 MST 2013
How do you read this (write only ;-) ) register? 
0 件の賞賛
返信

1,430件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Paul Craciun on Wed Dec 11 14:08:10 MST 2013
yes
0 件の賞賛
返信

1,430件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by R2D2 on Wed Dec 11 12:41:56 MST 2013
?

This register?


Quote:
Table 205. USART Transmitter Holding Register when DLAB = 0, [color=#f00][u]Write Only[/u][/color] (THR - address
0x4000 8000) bit description

0 件の賞賛
返信