I2C
Main features:
- multimaster capability: the same interface can act as master and slave
- I2C Master features:
- clock generation
- start and stop generation
- I2C slave features:
- programmable I2C address detection
- dual addressing capability to acknowledge 2 slave addresss
- stop bit detection
I2C - addressing
- each device has its own unique address
- address is 7-bit long
- it has to be fast and automatic (after query there is an inmediate response)
I2C in STM32F4:
- generation and detection of 7/10-bit addressing
- supports different communication speeds
- standard up to 100kHz
- fast up to 400kHz
- programmable digital noise filter
- optional clock stretching
- 1-byte buffer with DMA capability
- master transmitter (7 or 10bit)
- one device can own 2 addresses