Inter-Integrated Circuit (I2C)
In this chapter, we will learn about the Inter-Integrated Circuit (I2C) communication protocol. We will begin by exploring the fundamental principles of the I2C protocol, covering its modes of operation, addressing methods, and the communication process. Then, we will examine the key registers of the I2C peripheral in STM32 microcontrollers and apply this knowledge to develop a bare-metal I2C driver.
In this chapter, we will cover the following main topics:
- An overview of the I2C protocol
- The STM32 I2C peripheral
- Developing the I2C Driver
By the end of this chapter, you will have a solid grasp of the I2C protocol and be equipped with the skills to develop bare-metal drivers for I2C.