USART

Go To Last Post
6 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

when data is received serially in which register it is saved

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Which interface? U(S)ART, TWI, SPI?

You need to provide a little more detail on the problem if you want to get help

axos88

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Subject line says USART, Axos.

Still, no mention of AVR model AFAICS, and as register names vary between models we a more or less stuck anyway.

asif!
What did the data sheet tell you?

As of January 15, 2018, Site fix-up work has begun! Now do your part and report any bugs or deficiencies here

No guarantees, but if we don't report problems they won't get much of  a chance to be fixed! Details/discussions at link given just above.

 

"Some questions have no answers."[C Baird] "There comes a point where the spoon-feeding has to stop and the independent thinking has to start." [C Lawson] "There are always ways to disagree, without being disagreeable."[E Weddington] "Words represent concepts. Use the wrong words, communicate the wrong concept." [J Morin] "Persistence only goes so far if you set yourself up for failure." [Kartman]

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Oh right... Wasn't paying attention.
If there is only one USART, it is usually named UDR (Usart Data Register), but you better check the datasheets USART section.
AVR Datasheets are a gem, very good, and clear documentation. So don't be afraid, you won't have to read all the 700 pages, just the ones related. Also check the Register Table at the end.
If only every datasheet were just like that...

axos88

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Quote:
If there is only one USART, it is usually named UDR

Only in older AVRs. The newer AVRs all have UDR0 when there is only one USART.

Regards,
Steve A.

The Board helps those that help themselves.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I stand corrected

axos88