DESIGN OF A CUSTOM ASIC INCORPORATING CAN™ AND 1 ...
DESIGN OF A CUSTOM ASIC INCORPORATING CAN™ AND 1 ... DESIGN OF A CUSTOM ASIC INCORPORATING CAN™ AND 1 ...
In addition to being conducted at two different speeds, the tests are also conducted using both 11-bit and 29-bit message identifier fields. Without hot swapping, no failures are noted while running any of the tests but a considerable degradation in the performance is noticed in the bandwidth when using the extended 29-bit message identifiers at the 125 kbps speeds. When making an attempt to perform hot swapping on any individual node (regardless of any of the eight tests being conducted or bus speeds), it is noticed that all communications on the CAN bus come to a halt and the only way to restore communications is to perform a hard reset, powering down the Altera DE2 board and all CAN nodes. It is clear that more extensive testing is needed to find a solution for this problem. It is common that adding additional components to a network most often requires shutting down the entire network to prevent costly system errors, as was evident in this case. The ability to plug-in or remove a CAN node from the system would be a valued asset for many CAN applications. At this time, it is believed that the transceivers on each CAN node are the root cause of the failure, since hot swapping CAN nodes requires that the transceiver output remain stable during the unpowered to power-up transition without disturbing ongoing CAN network communications. Since many CAN transceivers on the market today have very low output impedance when unpowered, this causes the device to sink any signal present on the bus and would effectively shut down all bus communication. Clearly, further research and testing is needed in this area along with CAN transceivers from different manufacturers being replaced on individual CAN nodes. 189
5.3.21.4 Send Basic Frame Test (send_frame_basic) For this test, messages are placed on the CAN bus for reception by all nodes using only the 11-bit message identifier (CAN 2.0A). The Altera DE2 Development and Education board is connected with 30 CAN nodes on the network. The test setup is the same as that shown previously in Figure 5.40. Again only two data rates are tested, 10 kbps and 125 kbps, since these two data rates are closest to those data rates supported by most 1 – Wire® devices. Table 5.21 shows the results for this test. Table 5.21 Send Basic Frame (send_frame_basic) Test Results. Data Rate Messages Sent Data Bytes Length of test Hot Swapped Failures 10 kbps 225,419 8 60 min No None 10 kbps 253 8 60 min Yes Yes 125 kbps 2,748,624 8 60 min No None 125 kbps 119 8 60 min Yes Yes Again, while attempting to hot swap CAN nodes on the network, communication on the bus is halted and the only way to restore communications is to perform a hard reset, powering down the Altera DE2 board and all CAN nodes. This is clearly an issue that merits further research and exploration to fully understand the nature and root cause of the failure when attempting to hot swap nodes on the CAN bus. For both data rates, the total messages sent is representative of the total number of messages sent up to the point that hot swapping of a node is attempted. When hot swapping of nodes is not attempted, no failures are noted. For the data rate of 10 kbps and 30 CAN nodes, no significant degradation in bandwidth or reduction in total messages transferred is realized. However, while conducting this test at 125 kbps with 30 CAN nodes, a slight degradation in bandwidth is noticed as can be seen by the lower amount of messages transferred within the same amount of time from the test conducted here versus the test conducted in Section 5.3.21.2 (compared to data in Table 5.20 190
- Page 163 and 164: 5.2.8.4 Command Recognition (cmd_re
- Page 165 and 166: TBF - The Transmit Buffer provides
- Page 167 and 168: compensate for the propagation dela
- Page 169 and 170: Figure 5.15 CAN Module memory map [
- Page 171 and 172: ‘0’, fast speed mode will be us
- Page 173 and 174: COMP-SEL: Comparator Select. When t
- Page 175 and 176: Figure 5.18 CAN Status Register. B
- Page 177 and 178: that buffer is given to the CPU and
- Page 179 and 180: Acceptance Mask Registers (accepted
- Page 181 and 182: SJW1, SJW0: Synchronization Jump Wi
- Page 183 and 184: TSEG22 - TSEG10: Time Segment Bits.
- Page 185 and 186: The transmit clock (ttxclk) is used
- Page 187 and 188: 5.3.13 CAN Module Transmit Buffer I
- Page 189 and 190: Figure 5.28 CAN Transmit Data Segme
- Page 191 and 192: 5.3.20 CAN Node Overview As stated
- Page 193 and 194: Read Digital InputsRead the value o
- Page 195 and 196: the clock high time is either 5 µs
- Page 197 and 198: Yes Perform A/D Conversion on AN0 W
- Page 199 and 200: and GP2 and GP5 as outputs. With th
- Page 201 and 202: external INT pin, and then branches
- Page 203 and 204: Read MCP2515 Rx Buffer for Digital
- Page 205 and 206: When a valid message is received, t
- Page 207 and 208: Table 5.19 Resource Utilization. Re
- Page 209 and 210: For this test, only one CAN node wa
- Page 211 and 212: an Error Frame to be generated. Aft
- Page 213: messages, acknowledge messages, or
- Page 217 and 218: going from one node to 30 nodes (se
- Page 219 and 220: Table 6.1 Resource Utilization. Rev
- Page 221 and 222: 6.2.1 Test Verification and Overvie
- Page 223 and 224: has read access to this register. T
- Page 225 and 226: system configuration used for this
- Page 227 and 228: or not depends on the number of rec
- Page 229 and 230: 6.4. There are two receiving CAN no
- Page 231 and 232: CHAPTER 7 CONCLUSIONS AND FUTURE WO
- Page 233 and 234: a communication bus reset will occu
- Page 235 and 236: For the synthesizable CAN Controlle
- Page 237 and 238: additional CAN nodes were added to
- Page 239 and 240: Fall-Through Stack A LOW level on t
- Page 241 and 242: In conclusion, the prototype system
- Page 243 and 244: REFERENCES [1] IBM ASIC Products Ap
- Page 245 and 246: [22] “CAN - a brief tutorial for
- Page 247 and 248: [44] Microchip MCP2515 - Stand-Alon
- Page 249 and 250: [67] K. Tindell and A. Burns, “Gu
- Page 251 and 252: [88] “Verilog - A Language Refere
5.3.21.4 Send Basic Frame Test (send_frame_basic)<br />
For this test, messages are placed on the CAN bus for reception by all nodes using only<br />
the 11-bit message identifier (CAN 2.0A). The Altera DE2 Development and Education board<br />
is connected with 30 CAN nodes on the network. The test setup is the same as that shown<br />
previously in Figure 5.40. Again only two data rates are tested, 10 kbps and 125 kbps, since<br />
these two data rates are closest to those data rates supported by most 1 – Wire® devices. Table<br />
5.21 shows the results for this test.<br />
Table 5.21 Send Basic Frame (send_frame_basic) Test Results.<br />
Data Rate Messages Sent Data Bytes Length of test Hot Swapped Failures<br />
10 kbps 225,419 8 60 min No None<br />
10 kbps 253 8 60 min Yes Yes<br />
125 kbps 2,748,624 8 60 min No None<br />
125 kbps 119 8 60 min Yes Yes<br />
Again, while attempting to hot swap CAN nodes on the network, communication on<br />
the bus is halted and the only way to restore communications is to perform a hard reset, powering<br />
down the Altera DE2 board and all CAN nodes. This is clearly an issue that merits further<br />
research and exploration to fully understand the nature and root cause of the failure when<br />
attempting to hot swap nodes on the CAN bus. For both data rates, the total messages sent is<br />
representative of the total number of messages sent up to the point that hot swapping of a node is<br />
attempted. When hot swapping of nodes is not attempted, no failures are noted.<br />
For the data rate of 10 kbps and 30 CAN nodes, no significant degradation in<br />
bandwidth or reduction in total messages transferred is realized. However, while conducting this<br />
test at 125 kbps with 30 CAN nodes, a slight degradation in bandwidth is noticed as can be<br />
seen by the lower amount of messages transferred within the same amount of time from the test<br />
conducted here versus the test conducted in Section 5.3.21.2 (compared to data in Table 5.20<br />
190