Question Description
I'm working on a c programming exercise and need an explanation to help me learn.
Transmit characters from a 9 digit number through the built-in USART port on the AVR Xplained mini 328 board.
Simply use the built-in USART hardware of the AVR to transmit a serial string that contains your 9 digit number.
You must set up the USART's serial mode and bit rate (a.k.a. baud rate) to 9600 bits/sec, 8 data bits, 1 stop bit, and poll the transmit status register to wait until it is ready before writing an output data byte to the USART's serial data register.
The final output demonstration is to show the characters corresponding to the 9 digits of your number followed by carriage return and linefeed followed by a 500ms delay which must be repeated continuously at 9600 bits per second (one-bit period = 1/9600 seconds, ~100us/bit, for 10 bits, ~1ms per character).
The Atmel Xplained Mini board will be the Transmitter, you must set up your computer as a USART (Serial) Receiver using PuTTY and the FT232R Breakout board.
Note: The debug hardware on the Xplained mini 328 board also uses the hardware USART pins (PD1 (TXD) and PD0 (RXD) pins) on the AVR μC, so they will show activity while downloading your code. Due to which, you cannot use the debugger and do serial I/O at the same time.

Explanation & Answer

Please view ex...

Review
Review




24/7 Homework Help
Stuck on a homework question? Our verified tutors can answer all questions, from basic math to advanced rocket science!





Similar Content
Related Tags
The Splendid and The Vile
by Erik Larson
Jane Eyre
by Charlotte Brontë
Death on the Nile
by Agatha Christie
The 48 Laws of Power
by Robert Greene
The Tipping Point
by Malcolm Gladwell
Murder on the Orient Express
by Agatha Christie
The Hobbit
by J. R. R. Tolkien
Too Much and Never Enough
by Mary L. Trump
Frankenstein
by Mary Shelley





