Homework 6 Solution

8 data bits ucsz 011 no parity upm 00 1 stop

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: h Name: Lab Section: USART units as follows: • Asynchronous communication • USART0 as receive only, USART1 as transmit only • 115,200 baud rate • 8 data bits • no Parity • 1 stop bit • An interrupt enable bit is set if and only if that is necessary. You may initialize unrelated control bits as you wish. Asynchronous communication UMSEL = 0 USART0 as receive only, USART1 as transmit only: For USART0, RXEN = 1, TXEN = 0 For USART1, EXEN = 0, EXEN = 1 115,200 baud rate Set UBRR0H and UBRR0L accordingly, use formula or table. 8 data bits UCSZ = 011 no Parity UPM = 00 1 stop bit USB = 0 An interrupt enable bit is set if and only if that is necessary For this application, we only have to enable RXCIE on USART0 Recall the template to set up a U...
View Full Document

Ask a homework question - tutors are online