Rust Embedded for STM32 Microcontrollers: I2C protocol

Published: 01 February 2022
on channel: JaJakub
5,066
131

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


On this page of the site you can watch the video online Rust Embedded for STM32 Microcontrollers: I2C protocol with a duration of hours minute second in good quality, which was uploaded by the user JaJakub 01 February 2022, share the link with friends and acquaintances, this video has already been watched 5,066 times on youtube and it was liked by 131 viewers. Enjoy your viewing!