diff options
author | Damien <damlobster@gmail.com> | 2021-07-22 00:40:40 +0200 |
---|---|---|
committer | KevinOConnor <kevin@koconnor.net> | 2021-07-27 13:15:25 -0400 |
commit | cff61605fb7260ab60d1abd4e295b71a533869ac (patch) | |
tree | f117dd64e85ec18a62c7c4305781fa03d37ed0a9 /docs/CANBUS.md | |
parent | 7e88f9220c641dd1e7e5b748381bd7ac758bc8d2 (diff) | |
download | kutter-cff61605fb7260ab60d1abd4e295b71a533869ac.tar.gz kutter-cff61605fb7260ab60d1abd4e295b71a533869ac.tar.xz kutter-cff61605fb7260ab60d1abd4e295b71a533869ac.zip |
docs : make modifications to all md files to make them compatible with mkdocs
all markdown files must have a single H1 heading at the top.
Signed-off-by: Damien Martin <damlobster@gmail.com>
Update CNAME
Diffstat (limited to 'docs/CANBUS.md')
-rw-r--r-- | docs/CANBUS.md | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/docs/CANBUS.md b/docs/CANBUS.md index de652cee..5d5b2a08 100644 --- a/docs/CANBUS.md +++ b/docs/CANBUS.md @@ -1,6 +1,8 @@ +# CANBUS + This document describes Klipper's CAN bus support. -# Device Hardware +## Device Hardware Klipper currently only supports CAN on stm32 chips. In addition, the micro-controller chip must support CAN and it must be on a board that @@ -10,7 +12,7 @@ To compile for CAN, run "make menuconfig" and select "CAN bus" as the communication interface. Finally, compile the micro-controller code and flash it to the target board. -# Host Hardware +## Host Hardware In order to use a CAN bus, it is necessary to have a host adapter. There are currently two common options: @@ -40,7 +42,7 @@ iface can0 can static Note that the "Raspberry Pi CAN hat" also requires [changes to config.txt](https://www.waveshare.com/wiki/RS485_CAN_HAT). -# Terminating Resistors +## Terminating Resistors A CAN bus should have two 120 ohm resistors between the CANH and CANL wires. Ideally, one resistor located at each the end of the bus. @@ -58,7 +60,7 @@ printer and use a multi-meter to check the resistance between the CANH and CANL wires - it should report ~60 ohms on a correctly wired CAN bus. -# Finding the canbus_uuid for new micro-controllers +## Finding the canbus_uuid for new micro-controllers Each micro-controller on the CAN bus is assigned a unique id based on the factory chip identifier encoded into each micro-controller. To @@ -81,7 +83,7 @@ Note that the `canbus_query.py` tool will only report uninitialized devices - if Klipper (or a similar tool) configures the device then it will no longer appear in the list. -# Configuring Klipper +## Configuring Klipper Update the Klipper [mcu configuration](Config_Reference.md#mcu) to use the CAN bus to communicate with the device - for example: |