15.08.2013 Views

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

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

to be used in any type of safety-critical application environment. A simple and obvious fix to<br />

this problem is to run similar speeds on both buses without allowing hot-swapping: either the<br />

CAN bus at 10 kbps and the 1 – Wire® bus at 14 kbps or the CAN bus at 125 kbps and the<br />

1 – Wire® bus at 140 kbps. The downside to this option is the reduced flexibility placed on the<br />

combined system which is stated as being one of the big advantages of using 1 – Wire® devices<br />

and technology.<br />

The other type of failure from the tests conducted on the combined prototype system<br />

occurred when sending a 1 – Wire® command to multiple CAN nodes. It was originally<br />

thought that the cause of data loss was from receiving the response data bytes from the CAN<br />

nodes before the 1 – Wire® Master had time to process and write the received data bytes to the<br />

appropriate memory locations on the DS1996 1 – Wire® devices. Another possible scenario for<br />

the source of the data loss was that data was coming in to the 1 – Wire® Master before all of the<br />

1 – Wire® slave devices were operating in overdrive speed. After inserting numerous traps and<br />

inserting lines of debug code, it was determined that when requesting data from multiple CAN<br />

nodes the first byte of received data could be overwritten by the second byte of data if the 1 –<br />

Wire® Master had not been able to successfully process the incoming data byte. However, no<br />

definitive conclusions were reached as to the root cause of data loss. Data loss could have been a<br />

combination of one or both scenarios. Clearly further research and testing is needed to find a<br />

solution to prevent data loss and the idea of inserting a delay timer for the cases when 1 – Wire®<br />

slaves are being operated at overdrive speed certainly merits exploration. No further testing was<br />

performed with additional nodes, since it can be assumed that if failures were seen when<br />

requesting data from two CAN nodes that this problem would only become more apparent as<br />

211

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

Saved successfully!

Ooh no, something went wrong!