Problem UART LPC 1347

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

Problem UART LPC 1347

695 Views
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.
Labels (1)
0 Kudos
4 Replies

599 Views
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 Kudos

599 Views
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 Kudos

599 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Paul Craciun on Wed Dec 11 14:08:10 MST 2013
yes
0 Kudos

599 Views
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 Kudos