Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| pmod:pmodcan:reference-manual [2021/05/14 23:03] – ↷ Page moved from reference:pmod:pmodcan:reference-manual to pmod:pmodcan:reference-manual Arthur Brown | pmod:pmodcan:reference-manual [2022/10/04 11:38] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 2: | Line 2: | ||
| ====== Pmod CAN Reference Manual ====== | ====== Pmod CAN Reference Manual ====== | ||
| - | The Digilent Pmod CAN (Revision B) is a CAN 2.0B controller with an integrated transceiver. The embedded [[http:// | + | The Digilent Pmod CAN (Revision B) is a CAN 2.0B controller with an integrated transceiver. The embedded [[https:// |
| {{Digilent Image Gallery | {{Digilent Image Gallery | ||
| Line 77: | Line 77: | ||
| ====== Functional Description ====== | ====== Functional Description ====== | ||
| - | The Pmod CAN utilizes the [[http:// | + | The Pmod CAN utilizes the [[https:// |
| ===== Serial Communication ===== | ===== Serial Communication ===== | ||
| - | The Pmod CAN communicates with the host board via the [[learn/ | + | The Pmod CAN communicates with the host board via the [[learn/ |
| - | Nine SPI instructions are available to read the status of the receiver, load a transmit buffer, modify bits in a register and more. Most of the instruction commands are single byte instructions followed by an address byte. More information is available in the [[:reference:pmod: | + | Nine SPI instructions are available to read the status of the receiver, load a transmit buffer, modify bits in a register and more. Most of the instruction commands are single byte instructions followed by an address byte. More information is available in the [[pmod: |
| Line 93: | Line 93: | ||
| ==== CANINTE ==== | ==== CANINTE ==== | ||
| - | The CANINTE register (page 51) enables the generation of interrupts on [[reference:pmod: | + | The CANINTE register (page 51) enables the generation of interrupts on [[pmod: |
| ^ CANINTE 0x2B ||||| | ^ CANINTE 0x2B ||||| | ||
| Line 181: | Line 181: | ||
| - Send a write SPI command (0x02) | - Send a write SPI command (0x02) | ||
| - Send the address of the register to modify followed by the value to set | - Send the address of the register to modify followed by the value to set | ||
| - | - Three registers are manipulated in this way with a variety of settings; for more details see Section 4.4 (page 47) in the [[http:// | + | - Three registers are manipulated in this way with a variety of settings; for more details see Section 4.4 (page 47) in the [[https:// |
| - CNF1 (0x2A) set to 0x41 | - CNF1 (0x2A) set to 0x41 | ||
| - CNF2 (0x29) set to 0xFB | - CNF2 (0x29) set to 0xFB | ||
| Line 242: | Line 242: | ||
| The CAN protocol uses two communication lines, CANH and CANL, to enable communication between multiple CAN transceivers called nodes. The two bus lines are actively driven to produce a differential voltage greater than 1.5 V, resulting in the Dominant transmission state. CAN transceivers will interpret a dominant transmission as a logic low state. A logic high state is created by neither bus driving their lines so that they idle at approximately the same voltage, typically Vcc/2 as biased by the common mode transceiver. This state is a Recessive transmission and typically has a differential voltage of less than ±100 mV. | The CAN protocol uses two communication lines, CANH and CANL, to enable communication between multiple CAN transceivers called nodes. The two bus lines are actively driven to produce a differential voltage greater than 1.5 V, resulting in the Dominant transmission state. CAN transceivers will interpret a dominant transmission as a logic low state. A logic high state is created by neither bus driving their lines so that they idle at approximately the same voltage, typically Vcc/2 as biased by the common mode transceiver. This state is a Recessive transmission and typically has a differential voltage of less than ±100 mV. | ||
| - | Similar to [[learn/ | + | Similar to [[learn/ |
| - | Timing diagrams from page 58 of the [[http:// | + | Timing diagrams from page 58 of the [[https:// |
| {{ : | {{ : | ||
| Line 255: | Line 255: | ||
| ====== Additional Information ====== | ====== Additional Information ====== | ||
| - | The schematics of the %%Pmod CAN%% are available {{reference: | + | The schematics of the %%Pmod CAN%% are available {{reference: |
| - | Example code demonstrating how to get information from the %%Pmod CAN%% can be found on its Resource Center [[reference:pmod:pmodCAN: | + | Example code demonstrating how to get information from the %%Pmod CAN%% can be found on its Resource Center [[pmod:pmodcan: |
| If you have any questions or comments about the %%Pmod CAN%%, feel free to post them under the appropriate section (" | If you have any questions or comments about the %%Pmod CAN%%, feel free to post them under the appropriate section (" | ||

