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.

5.3.20 CAN Node Overview<br />

As stated in Section 4.3.2, each individual CAN node is comprised of an 8-pin<br />

Microchip PIC12CE674 microcontroller [42], an 18-pin Microchip MCP2515 Stand-Alone<br />

CAN Controller [46], and an 8-pin Microchip MCP2551 High-Speed CAN transceiver [45].<br />

Together these create a fully autonomous CAN node, which supports both “time-based” (in<br />

the sense that messages are automatically transmitted from each CAN node every 500 ms) and<br />

“event-driven” message transmission. Each individual node is interrupt driven and capable of<br />

monitoring five external inputs (two analog and three digital) and automatically generating<br />

messages based upon their value. The node also controls two digital outputs, responding to<br />

message requests via the CAN network and generating a repeating, time-based message. Each<br />

node is configured for a maximum CAN bus speed of 125 kbps, which is closest to the<br />

overdrive speed of 1 – Wire® devices, and is capable of handling standard or extended frames.<br />

Figure 5.32 shows the block diagram of one CAN node. There are two function<br />

blocks. The first is the Control Logic block. This function is performed by the PIC12CE674<br />

microcontroller. The PIC12CE674 was chosen because of the low pin count and powerful<br />

feature set, including an internal oscillator; on-board, multi-channel, 8-bit analog-to-digital<br />

converter (ADC); multiple interrupt sources; and low-power sleep mode. The second is the<br />

CAN Interface block. This block is comprised of the MCP2515 CAN Controller and the<br />

MCP2551 transceiver. The MCP2515 provides a full CAN 2.0 implementation with message<br />

filtering, which relieves the host microcontroller from having to perform any CAN bus related<br />

overhead. This is a key feature given the limited available code space of the PIC12CE674.<br />

166

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

Saved successfully!

Ooh no, something went wrong!