EE313 HW3 Solutions Problem 2-1 Determine the period given the frequency of the waveform. a) π = 2 ππ»π§ π= 1 1 *π = π => π = π 1 = 0.5π₯10−6 = π. π µπ 2π₯106 b) π = 500 ππ»π§ 1 π= = 2π₯10−6 = π µπ 500π₯103 c) π = 4.27 ππ»π§ 1 π= = 0.234π₯10−6 = π. πππ µπ = πππ ππ 4.27π₯106 d) π = 17 ππ»π§ 1 π= = 0.0588π₯10−6 = π. ππππ µπ = ππ. π ππ 17π₯106 Determine the frequency given the period of the waveform. e) π = 2 µπ 1 π= = 0.5π₯106 = π. π π΄π―π = πππ ππ―π 2π₯10−6 f) π = 100 µπ 1 π= = 0.01π₯106 = ππ ππ―π −6 100π₯10 g) π = 0.75 ππ 1 π= = 1.333π₯103 = π. πππ ππ―π 0.75π₯10−3 h) π = 1.5 µπ 1 π= = 0.667π₯106 = πππ ππ―π 1.5π₯10−6 Problem 2-2 Draw the Serial and Parallel waveforms. Calculate how long it will take to transmit if πΆπΆππ = 2ππ»π§. a) 45B16 = {4} {5} {π΅} = {0100} {0101} {1011} Serial πΆπΆππ ππππ One Clock Cycle 1 0 1 1 0 1 0 1 1 0 1 0 0 0 1 LSB MSB 1 = 0.5π₯10−6 = π. π µπ 2π₯106 Duration of Transmission: 0.5 µs x 12 clock-cycles = 6 µs π= Parallel One Clock Cycle πΆπΆππ LSB 20 21 22 MSB 23 1 0 1 0 1 0 1 0 1 0 0 1 1 0 1 0 0 0 1 1 1 0 0 1 = 0.5π₯10−6 = π. π µπ 2π₯106 Duration of Transmission: 0.5 µs x 3 clock-cycles = 1.5 µs π= b) A3C16 = {π΄} {3} {πΆπΆ} = {1010} {0011} {1100} Serial πΆπΆππ ππππ One Clock Cycle 1 0 1 0 0 1 0 1 1 1 0 0 0 LSB 1 0 1 MSB 1 = 0.5π₯10−6 = π. π µπ 6 2π₯10 Duration of Transmission: 0.5 µs x 12 clock-cycles = 6 µs π= Parallel One Clock Cycle πΆπΆππ LSB 20 21 22 MSB 23 1 0 1 0 1 0 1 0 1 0 0 1 0 0 1 1 1 0 0 1 0 1 1 = 0.5π₯10−6 = π. π µπ 2π₯106 Duration of Transmission: 0.5 µs x 3 clock-cycles = 1.5 µs π= Problem 2-3 a) ππππ Divide by Desired Base 33 ÷ 2 = 16 16 ÷ 2 = 8 8÷2=4 4÷2=2 2÷2=1 1÷2=0 ππππ = ππππ πππππ π= Remainder times Base 0.5 π₯ 2 0.0 π₯ 2 0.0 π₯ 2 0.0 π₯ 2 0.0 π₯ 2 0.5 π₯ 2 = = = = = = Output 1 (LSB) 0 0 0 0 1 (MSB) 1 = 0.27π₯10−6 = π. ππ µπ 3.7π₯106 Duration of Transmission: 0.27 µs x 8 clock-cycles = 2.16 µs b) ππππ πππ πππππ πππ π ππππ ππππ πππ πππ πΆπππππ−πΆπ¦πππ 1.21 = 0.27 = 4.48 This tells us that the transmission has already transmitted the 4th Bit and is almost half way through transmitting the 5th Bit. Starting with the LSB the 5th Bit is “0” therefore at 1.21 µs the serial line is Low. Problem 2-4 a) 7-Bits make up each character in ASCII code and since transmission is 8-Bit Parallel it will take 3 clock-cycles to transmit $14. 1 π= = 0.125π₯10−6 = π. πππ µπ 8π₯106 Duration of Transmission: 0.125 µs x 3 clock-cycles = 0.375 µs b) For $78.18 it takes 6 clock-cycles. 1 π= = 0.24π₯10−6 = π. ππ µπ 4.17π₯106 Duration of Transmission: 0.24 µs x 6 clock-cycles = 1.44 µs