mirror of
https://github.com/Klipper3d/klipper.git
synced 2025-08-07 05:54:05 -06:00
docs: Added instructions how to configure I2C for MPU-9250
Signed-off-by: Dmitry Butyugin <dmbutyugin@google.com>
This commit is contained in:
parent
f2e27ae05e
commit
8804c1578d
2 changed files with 12 additions and 1 deletions
|
@ -69,6 +69,15 @@ Make sure the Linux SPI driver is enabled by running
|
|||
`sudo raspi-config` and enabling SPI under the "Interfacing options"
|
||||
menu.
|
||||
|
||||
## Optional: Enabling I2C
|
||||
|
||||
Make sure the Linux I2C driver is enabled by running `sudo raspi-config`
|
||||
and enabling I2C under the "Interfacing options" menu.
|
||||
If planning to use I2C for the MPU accelerometer, it is also required
|
||||
to set the baud rate to 400000 by: adding/uncommenting
|
||||
`dtparam=i2c_arm=on,i2c_arm_baudrate=400000` in `/boot/config.txt`
|
||||
(or `/boot/firmware/config.txt` in some distros).
|
||||
|
||||
## Optional: Identify the correct gpiochip
|
||||
|
||||
On Raspberry Pi and on many clones the pins exposed on the GPIO belong
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue