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.

6.2.1 Test Verification and Overview<br />

For the tests presented here, all 1 – Wire® devices and CAN nodes are tested at regular<br />

speeds (approximately 14 kbps for all 1 – Wire® devices and 10 kbps for all CAN nodes) and<br />

overdrive speeds (approximately 140 kbps for all 1 – Wire® devices and 125 kbps for all<br />

CAN nodes). Also for this test only two CAN nodes and three DS1996 1 – Wire® devices<br />

are used. This was done for easier troubleshooting in case of a catastrophic failure and would<br />

make analysis of the data bytes transferred simpler with fewer CAN nodes and 1 – Wire®<br />

devices on the bus. Since this was the first time testing the combined system, there was some<br />

degree of uncertainty concerning functionality after combining the Verilog® source code of the 1<br />

– Wire® Master and the CAN Module. Combining the source code for the CAN Module<br />

and 1 – Wire® Master required additional lines of code to take into account the additional logic<br />

registers and logic elements required.<br />

For both tests in described Sections 6.2.1.2 and 6.2.1.3, the 1 – Wire Search Algorithm<br />

(see Section 2.3.6) is used to discover the 64-bit identification numbers of the DS1996 1 –<br />

Wire® devices. Once the identification numbers are known and stored in memory on the 1 –<br />

Wire Master, the order in which the numbers are obtained is the order in which the devices are<br />

written to. With the DS1996, the offset data byte is used to determine the next byte of memory<br />

to which data will be written. When the device memory is full, the next available DS1996<br />

discovered by the 1 – Wire® Search Algorithm is used. This process is repeated for all three<br />

DS1996 1 – Wire® devices until the memory of all three devices is full. Then the process is<br />

repeated all over again with the next byte of data being written to the first DS1996 1 – Wire®<br />

device, overwriting old data as necessary.<br />

196

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

Saved successfully!

Ooh no, something went wrong!