Datasheet map¶
The driver follows CANopen, whose specifications (CiA 301 and CiA 402) were not obtained. This page says which public documents it was written against instead, where to get each one, and where each part of the driver is described in them, so you can check any behaviour against its source. Section names are the source's own; the printed page numbers are used for the transceiver datasheet, and the source files and web pages, which have no pages, are cited as page 1.
- Datasheet: SN65HVD23x 3.3-V CAN Bus Transceivers, Texas Instruments SN65HVD230, SN65HVD231, SN65HVD232 (SLOS346),
revision O (2018-04). Get it from the vendor page or as a
PDF.
SHA-256 of the file used:
e98fc0c59168c035d7958111924dae7e21e46ab45bdfd6400aef048299d6d716. - Reference: CANopen, Wikipedia contributors Wikipedia article (oldid 1373604442), revision last edited September
2026 (2026-09). Get it from the vendor page.
SHA-256 of the file used:
83686c7763189d65235685d3fc3a1f683b9dd20409233b7b519aa47f89910631. - Reference: CANopen Explained - A Simple Intro, CSS Electronics canopen-tutorial-simple-intro, revision 2026
edition (2026). Get it from the vendor page.
SHA-256 of the file used:
1b23efffd099308d401a189bf561f60a4258c4c8bd5f0bb8bdc6799febbabf48. - Source: CANopenNode 301/CO_SDOserver.h, CANopenNode project CO_SDOserver.h, revision master as downloaded
(2026-11). Get it from the vendor page.
SHA-256 of the file used:
1679a82fb5b41114c2c9353b445cf4e408a2aa48082ad65f41da208c3bf5b2c3. - Source: CANopenNode 301/CO_Emergency.h, CANopenNode project CO_Emergency.h, revision master as downloaded
(2026-11). Get it from the vendor page.
SHA-256 of the file used:
ebfb8fb2d635f869bd89b25856adc82945a875754683c2b85d3b778acc437791. - Source: CANopenNode 301/CO_HBconsumer.c, CANopenNode project CO_HBconsumer.c, revision master as downloaded
(2026-11). Get it from the vendor page.
SHA-256 of the file used:
8507404f1fcf5e66680699cb3f698ea805d337a6f5c01e7688a780ac54ca0a8e. - Source: CANopenNode 301/CO_SYNC.h, CANopenNode project CO_SYNC.h, revision master as downloaded (2026-11). Get it
from the vendor page.
SHA-256 of the file used:
3e9ae95c5b548a645f691829913e2bd118bf8d1857a6e2b8fbb9288eccc954a6. - Source: CANopenNode storage/CO_storage.c, CANopenNode project CO_storage.c, revision master as downloaded
(2026-11). Get it from the vendor page.
SHA-256 of the file used:
bae1ea996ec3eb29b7105be012135f1d10c41b902224f71b06ad80408489c3eb. - Source: canopen/sdo/client.py, christiansandberg python-canopen sdo/client.py, revision master as downloaded
(2026-11). Get it from the vendor
page.
SHA-256 of the file used:
ce45ea768a5cfa04e28824322fb18aeee7a19b022b1a2f5d0b99d65e5b8e6abb. - Source: canopen/sdo/constants.py, christiansandberg python-canopen sdo/constants.py, revision master as downloaded
(2026-11). Get it from the vendor
page.
SHA-256 of the file used:
480522e2c5207ae82194f462ce9f5a3bb0f13f3c9e919b5cfabac9f1e92a8a25. - Source: canopen/sdo/base.py, christiansandberg python-canopen sdo/base.py, revision master as downloaded
(2026-11). Get it from the vendor page.
SHA-256 of the file used:
a11fd2f7bc5258fcc703d18aafbfe31cdfe2bcb440471cb81f21ce0cb322c675. - Source: canopen/nmt.py, christiansandberg python-canopen nmt.py, revision master as downloaded (2026-11). Get it
from the vendor page.
SHA-256 of the file used:
6dffe9247952c1693d187d97639eff40e30380583577e60d68f53852584fb08a. - Source: canopen/emcy.py, christiansandberg python-canopen emcy.py, revision master as downloaded (2026-11). Get it
from the vendor page.
SHA-256 of the file used:
2990c42ac72f4b658a636d217cbf5b54527c53da337e90370adb130d32df511d. - Source: canopen/network.py, christiansandberg python-canopen network.py, revision master as downloaded (2026-11).
Get it from the vendor page.
SHA-256 of the file used:
ea80e7b5c140c036fbccba90c3dbd0bc15f22ac43c26b00d1929afcd435a9e3f. - Source: canopen/pdo/base.py, christiansandberg python-canopen pdo/base.py, revision master as downloaded
(2026-11). Get it from the vendor page.
SHA-256 of the file used:
9d42f59de85b0437c7b2b0c98b515ca3862978dbdd154126c206a06ac806ef43. - Source: canopen/profiles/p402.py, christiansandberg python-canopen profiles/p402.py, revision master as downloaded
(2026-11). Get it from the vendor
page.
SHA-256 of the file used:
ad2dcb773364636fb2ad085620a8b2b8f2df950a5e3fe05f3db129c4b66786eb.
| Topic | Datasheet section | Page | In the driver | Explained on |
|---|---|---|---|---|
| Pin configuration | SN65HVD230, SN65HVD231, SN65HVD232 (SLOS346): 7 Pin Configuration and Functions | p. 5 | CanInterface |
Hardware |
| Supply voltage and mode select (RS) | SN65HVD230, SN65HVD231, SN65HVD232 (SLOS346): 8.3 Recommended Operating Conditions; 5 Description (continued) | p. 6 | CanInterface::EnsureInitialized() |
Hardware, Porting |
| CAN node: transceiver and controller wiring | SN65HVD230, SN65HVD231, SN65HVD232 (SLOS346): 11.2 Typical Application | p. 26 | CanInterface, Send(), Receive() |
Hardware, Quickstart, Porting |
| Bus termination | SN65HVD230, SN65HVD231, SN65HVD232 (SLOS346): 11.2.1.1 CAN Termination | p. 26 | CanInterface::Receive(), RxStatus::Error |
Hardware, Troubleshooting |
| Pre-defined connection set (COB-IDs) | Wikipedia article (oldid 1373604442): Pre-defined connection set | p. 1 | kCobId*, SdoRequestId(), HeartbeatId(), EmcyId() |
Hardware, Architecture, Contract |
| NMT master frame (identifier 0, command then node) | Wikipedia article (oldid 1373604442): Network management (NMT) | p. 1 | MakeNmtFrame(), SendNmt() |
API guide, Contract |
| Object dictionary and communication objects | canopen-tutorial-simple-intro: Object dictionary | p. 1 | ReadDeviceType(), ReadErrorRegister(), SdoReadU32() |
API guide, Contract |
| SDO server behaviour: toggle bit, size, abort | CO_SDOserver.h: CO_SDOserver.h: transfer sequence and abort codes | p. 1 | GetLastAbort(), toggle checks, BufferTooSmall |
Contract, Troubleshooting, Testing and CI, Configuration |
| Emergency message layout | CO_Emergency.h: CO_Emergency.h: EMCY frame | p. 1 | ParseEmcy(), PopEmcy(), EmcyEvent |
API guide, Contract |
| Heartbeat consumer | CO_HBconsumer.c: CO_HBconsumer.c | p. 1 | MonitorNode(), GetNodeStatus(), Poll() |
API guide, Contract, Troubleshooting |
| SYNC producer and counter | CO_SYNC.h: CO_SYNC.h: SYNC frame and counter | p. 1 | SendSync(), ConfigureSync(), ServiceSync() |
API guide, Contract |
| Store and restore parameters | CO_storage.c: CO_storage.c: signatures and sub-indices | p. 1 | StoreParameters(), RestoreDefaults() |
API guide, Contract |
| SDO expedited and segmented transfer | python-canopen sdo/client.py: SdoClient: initiate, upload, download, segments | p. 1 | SdoUpload(), SdoDownload(), MakeSdo*() |
API guide, Contract, Architecture |
| SDO command specifiers and abort codes | python-canopen sdo/constants.py: SDO constants | p. 1 | SdoAbortCode, AbortCodeName(), ParseSdoReply() |
API guide, Contract, Troubleshooting |
| SDO object access and data types | python-canopen sdo/base.py: SdoBase: variable access | p. 1 | SdoReadU8() to SdoWriteU32() |
API guide |
| NMT commands and states | python-canopen nmt.py: NMT commands and state codes | p. 1 | SendNmt(), NmtCommand, NmtState |
API guide, Contract, Quickstart |
| Node guarding toggle bit | python-canopen nmt.py: NMT guarding reply | p. 1 | GuardNode() |
API guide, Contract, Troubleshooting |
| Emergency message consumer | python-canopen emcy.py: EmcyConsumer | p. 1 | PopEmcy() |
API guide |
| Network-level services | python-canopen network.py: Network: send, subscribe | p. 1 | Client::Poll() |
Architecture |
| PDO communication and mapping parameters | python-canopen pdo/base.py: PDO map and communication records | p. 1 | ConfigurePdo(), ReadPdoConfig(), EncodePdoMapEntry() |
API guide, Contract |
| CiA 402 state machine and controlword | python-canopen profiles/p402.py: BaseNode402: states, masks, transitions | p. 1 | DecodeStatusword(), DriveEnable(), DriveDisable(), DriveResetFault() |
API guide, Contract, Troubleshooting |
| CiA 402 modes of operation | python-canopen profiles/p402.py: Operation modes | p. 1 | OperationMode, SetDriveMode() |
API guide |
When the datasheet and the driver differ¶
The driver is written against the revision above. If you have a newer revision, compare its revision history with the topics above; a change to a pin, a register, a timing or a value the driver uses is a bug report for this repository. Where the driver deliberately goes beyond the datasheet, the Contract says so.
The repository never contains the PDF itself: vendors own their documents. Download it from the vendor, and compare its SHA-256 with the one above to confirm you have the same file.