Question 2 [30 Marks] NODE A NODE B ID = 11-bit Identifier AM = Acceptance Mask AC = Acceptance Code ID = 10100000011 AM: 10101010 AC: 01010101 ID = 11001100011 AM: 01000101 AC: 10100101 NODE C NODE D NODE E ID = 00000000000 ID = 11001011111 ID = 11111111111 AM: 11111111 AM: 00111000 AM: 00000000 AC: 00000000 AC: 10000111 AC: 11111111 Figure 4 a) Figure 4 shows five nodes (A, B, C, D and E) of a CAN network. The network is implemented using CAN Specification 2.0 and uses an 11-bit identifier system. Each node uses the Basic CAN Software implementation to filter the received messages. Question 2 continues on the next page
i. At a given time, nodes B, D and E attempt to transmit data onto the Fieldbus. Draw a timing diagram to demonstrate the bus arbitration mechanism that will take place in the network. Clearly, show the signal transmitted onto the Fieldbus and the response of each transmitting node up until the point when a single node wins the arbitration process. [7 Marks] ii. At a given time, Node A transmits a CAN frame onto the Fieldbus. Determine which nodes in the network will accept this message. [8 Marks] iii. If the Full CAN hardware implementation is used, instead of the Basic CAN software implementation, explain how the different nodes in the network will perform message filtering. [8 Marks] Row Parity B7 B6 B5 B4 B3 B2 B1 BO Check Data (1) 0 0 0 0 0 0 1 0 1 Data (2) 0 1 0 1 0 0 0 0 0 Data (3) 1 0 0 0 0 1 10 1 Data (4) 0 1 0 0 0 0 0 0 1 Data (5) 0 1 0 1 1 1 0 1 0 Data (6) 1 0 0 0 0 0 0 0 1 Data (7) 1 1 0 00 0 11 0 Data (8) o o o o o 1 1 1 1 Column Parity Check 1 0 0 0 1 0 0 1 Figure 5 b) Figure 5 shows a set of data frames received by a receiver that uses block parity (logic sense: EVEN) for error detection. i. Determine whether the data has arrived correctly, or not. [2 marks] ii. If you believe there is an error, specify which bit(s) have been received incorrectly, and briefly discuss the options for error correction. [3 marks] iii. Give one example of data error that cannot be detected by this error checking mechanism. [2 marks]
Question 2 [30 Marks] NODE A NODE B ID = 11-bit Identifier AM = Acceptance Mask AC = Acceptance Code ID = 10100000011 AM
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 am