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
Sur cette page du site, vous pouvez voir la vidéo en ligne Rust Embedded for STM32 Microcontrollers: I2C protocol durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur JaJakub 01 février 2022, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 5,066 fois et il a aimé 131 téléspectateurs. Bon visionnage!