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 ...

acumen.lib.ua.edu
from acumen.lib.ua.edu More from this publisher
15.08.2013 Views

known that 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 effectively shuts down all data transmission. One possible solution might be to perform this exact test again but with a different CAN transceiver on each node. Texas Instruments has a transceiver, SN65HVD1050 [100], which according to the data sheet, should work to solve this problem. According to the data sheet, the HVD1050’s bus pins are biased internally to a high-impedance recessive state. This provides for a power-up into a known recessive condition without disturbing ongoing bus communication. It also maintains the integrity of the bus when power or ground is added to or removed from the circuit [100]. Another possible solution is to add additional hardware to the entire CAN bus system, in the form of a bus utilization monitor and data packet logger. Clearly, more time and testing are needed to find a viable solution to this problem. This is important since the ability to plug directly into a currently operating system becomes a valued asset in many CAN applications. For the remaining two tests, send_frame_basic and send_frame_extended, failures are again noted when hot-swapping of nodes was attempted. As previously discussed, more testing is needed, plus the possibility of swapping out the CAN transceiver used on each node, to find a solution and prevent having to perform a hard reset each time hot-swapping is attempted. The prevention of such failures would be a very beneficial feature to any CAN node system, especially for safety-critical networks. It might prove worthwhile for future modifications to consider writing testbench code for tests such as a Reset Mode test and Bus-Off Recovery test. Such tests might provide some insight to possible hot-swapping failures. 209

For the synthesizable CAN Controller, there was an additional test considered but never fully implemented: self_reception_request test. In this test, there are two different modes of operation. First, the CAN module performs an internal loop back (default), which can be used for self-test operation. In this mode, a dummy Acknowledge bit is provided, thereby eliminating the need for another node on the bus to provide the Acknowledge bit (i.e. the module treats its own transmitted message as a message received from a remote node). The rx input pin is ignored and the tx output pin goes to the recessive state (logic ‘1’). Both transmit and receive interrupts are generated. Alternatively, if the user desires, the current message can be queued for transmission without disabling the receiver. It will receive the message only if the Acceptance Filter recognizes the message ID. This test was originally considered as a part of a plan to also implement a FIFO or prioritized FIFO buffer in the synthesizable CAN Controller. But after much time and consideration it was thought that a better approach would be to implement a FIFO or prioritized FIFO buffer as a separate entity in the design and not integrate it as part of the CAN Controller. So for this reason development and implementation of this test was dropped. From the test results of those performed in Chapter 6, the combined 1 – Wire® to CAN prototype system clearly needs more debugging and testing before becoming a fully-functional production prototype. This is evident from the failures noted in Tables 6.2 and 6.4 as a result of the two tests performed. Even though neither of the two tests performed had a failure from a catastrophic point of view, both tests had failures concerning lost CAN bus messages when trying to run 1 – Wire® devices in overdrive speed and also when trying to hot-swap 1 – Wire® devices. As stated previously, this is primarily attributed to the extra steps required to get all 1 – Wire® devices into overdrive mode. This is still a big problem especially if the system is going 210

known that many CAN transceivers on the market today have very low output impedance<br />

when unpowered. This causes the device to sink any signal present on the bus and effectively<br />

shuts down all data transmission. One possible solution might be to perform this exact test again<br />

but with a different CAN transceiver on each node. Texas Instruments has a transceiver,<br />

SN65HVD1050 [100], which according to the data sheet, should work to solve this problem.<br />

According to the data sheet, the HVD1050’s bus pins are biased internally to a high-impedance<br />

recessive state. This provides for a power-up into a known recessive condition without<br />

disturbing ongoing bus communication. It also maintains the integrity of the bus when power or<br />

ground is added to or removed from the circuit [100]. Another possible solution is to add<br />

additional hardware to the entire CAN bus system, in the form of a bus utilization monitor and<br />

data packet logger. Clearly, more time and testing are needed to find a viable solution to this<br />

problem. This is important since the ability to plug directly into a currently operating system<br />

becomes a valued asset in many CAN applications.<br />

For the remaining two tests, send_frame_basic and send_frame_extended, failures are<br />

again noted when hot-swapping of nodes was attempted. As previously discussed, more testing<br />

is needed, plus the possibility of swapping out the CAN transceiver used on each node, to find<br />

a solution and prevent having to perform a hard reset each time hot-swapping is attempted. The<br />

prevention of such failures would be a very beneficial feature to any CAN node system,<br />

especially for safety-critical networks. It might prove worthwhile for future modifications to<br />

consider writing testbench code for tests such as a Reset Mode test and Bus-Off Recovery test.<br />

Such tests might provide some insight to possible hot-swapping failures.<br />

209

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!