The sixth video of the Rust Embedded course.
In this video you will learn:
What is I2C protocol.
The order of operations in I2C protocol.
The most important features of I2C protocol.
How to read data from the LSM303 magnetometer located on the F3Discovery board.
How to make sure that you I2C communication is functional.
What is open-drain and pull-up resistor, and how to find them on electrical schematics.
How to use reference manuals of external sensors.
References:
Rust Discovery Book - Chapter 14 - I2C (https://docs.rust-embedded.org/discov...)
Understanding the I2C bus by Texas Instruments (https://www.ti.com/lit/an/slva704/slv...)
LSM303AGR (https://www.st.com/resource/en/datash...)
LSM303DLHC (https://www.st.com/resource/en/datash...)
F3Discovery electrical schematics (https://docs.rs-online.com/5192/09007...)
Timeline:
0:00 - Intro
0:41 - Basics of I2C
2:16 - LSM303 magnetometer sensor
3:12 - Important I2C features
5:04 - Reviewing crate documentation
5:40 - Reviewing I2C example from documentation
7:25 - Building our own I2C solution
9:20 - Testing the solution
10:32 - LSM303 reference manual
11:08 - Differences across STM32 HAL crates
12:00 - Outro
#rust #embedded #google
Auf dieser Seite können Sie das Online-Video Rust Embedded for STM32 Microcontrollers: I2C protocol mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer JaJakub 01 Februar 2022 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 5,066 Mal angesehen und es wurde von 131 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!