hw3_D06_sol

hw3_D06_sol - EE 3803: Microprocessor System Design D Term...

Info iconThis preview shows pages 1–3. Sign up to view the full content.

View Full Document Right Arrow Icon
EE 3803: Microprocessor System Design D Term 2006 Homework 3 -- Solutions 1. Sketch the word 'GOT' being transmitted via RS-232 at 19200 BAUD, 8-bit data, odd parity and 1 stop bit. Your drawing should indicate voltage levels and bit duration. Clearly label the start, data, parity and stop bits and determine how long the transmission takes if the bytes are transmitted back-to-back. [20 pts] Bit duration = 1/19200 bps = 52.083 μ s. Each character has 1 start (mark) bit, 8 character bits 1 parity bit and 1 stop bits = 11 bits The whole transmission = (3 char*11 bits/char)/19200 = 17.187 ms Odd parity bit = 1 when the number of message bits, including the parity bit , is odd. (Start and Stop bits are NOT considered!) 'G' = 47h = 01000111b = Odd parity (p = 1), 'O' = 4Fh = 01001111b = Even parity (p =0) 'T' = 54h = 01010100b = Even parity (p = 0). LSB of each character is transmitted first. For RS-232, logic 1 is transmitted by a voltage between -5V and -15V. Logic 0 is transmitted using +5V to +15V. m = Start (mark) bit = high voltage, p = Parity bit , s = Stop (space) bit = low voltage
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Interrupt Controller and 2 cascaded 8259As. The master 8259A should be I/O mapped such that it is programmable using ports E040h and E041h. Slave 1 should be mapped to addresses E060h and E061h and should be connected to IR0 of the master. Slave 2 should be mapped to addresses E0F0h and E0F1h and should be connected to IR7 of the master. [20 pts] The PIC's are all IO Mapped (M/IO = 1) . Additionally, for CS to be active (i.e. selecting the device for writing command word) the address lines must be as follows. A15 A14 A13 A12 A11 A10
Background image of page 2
Image of page 3
This is the end of the preview. Sign up to access the rest of the document.

Page1 / 5

hw3_D06_sol - EE 3803: Microprocessor System Design D Term...

This preview shows document pages 1 - 3. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online