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:06] – ↷ Links adapted because of a move operation 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 [[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 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 244: | Line 244: | ||
| 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 [[pmod: | Example code demonstrating how to get information from the %%Pmod CAN%% can be found on its Resource Center [[pmod: | ||

