Thursday, March 9, 2017

ECET 365 Week 6 Homework Answers / Embedded Microprocessor Systems with Lab – Online Homework Help


ECET 365 Week 6 Homework Assignment
Page 710: Problems 14.1–14.4, 14.8–14.13
14.1 For each term, give a definition in 32 words or less.
14.2 For each pair of terms, compare and contrast in 32 words or less.
14.3 What fundamental property is used to transmit information through a channel?
14.4 Consider a telephone line with a channel bandwidth of 2 kHz and SNR of 40 dB. What is the maximum data rate possible?
14.8 Consider how the ACK bit is used in a CAN network.
14.9 If the CAN channel is noisy, it is possible that some bits will be transmitted in error. Assume there are four nodes: one is transmitting, and three are receiving. What happens if a data bit is flipped in the channel due to noise being added into the channel?
14.10 Consider a situation where two microcontrollers are connected with a CAN network. Computer 1 generates 8-bit data packets that must be sent to Computer 2, and Computer 2 generates 8-bit data packets that must be sent to Computer 1. The packets are generated at random times, and the goal is to minimize the latency between when a data packet is generated on one computer to when it is received on the other. Describe the CAN protocol you would use: 11-bit versus 29-bit ID, number of bytes of data, and bandwidth. Clearly describe what is in the ID and how the data is formatted.
14.11 A CAN system has a baud rate of 100,000 bits/sec, 29-bit ID, and three bytes of data per frame. Assuming there is no bit-stuffing, what is the maximum bandwidth of this network, in bytes/s.

14.13 Consider a situation where four microcontrollers are connected together using a CAN network. Assume for this question that each frame contains 100 bits. Also assume the baud rate is 100,000 bits/sec; therefore, it takes 1 ms to send a frame. Initially, the CAN controllers are initialized (i.e., all computers have previously executed CAN_Open).

No comments:

Post a Comment