Features; Functional Descriptions; Two Wire Serial Interface; Start And Stop Conditions - Holtek HT32F52220 User Manual

32-bit microcontroller with arm cortex-m0+ core
Table of Contents

Advertisement

32-Bit Arm
®
Cortex
®
-M0+ MCU
HT32F52220/HT32F52230

Features

Two-wire I
C serial interface
2
Serial data line (SDA) and serial clock (SCL)
Multiple speed modes
Standard mode – 100 kHz
Fast mode – 400 kHz
Fast mode plus – 1 MHz
Bi-directional data transfer between master and slave
Multi-master bus – no central master
The same interface can act as Master or Slave
Arbitration among simultaneously transmitting masters without corrupting of serial data on the
bus.
Clock synchronization
Allow devices with different bit rates to communicate via one serial bus
Supports 7-bit and 10-bit addressing mode and general call addressing.
Multiple slave addresses using address mask function
Time-out function

Functional Descriptions

Two Wire Serial Interface

The I
2
C module has two external lines, the serial data SDA and serial clock SCL lines, to carry
information between the interconnected devices connected to the bus. The SCL and SDA lines are
both bidirectional and must be connected to a pull-high resistor. When the I
idle state, both pins are at a high level to perform the required wired-AND function for multiple
connected devices.

START and STOP Conditions

A master device can initialize a transfer by sending a START signal and terminate the transfer with
a STOP signal. A START signal is usually referred to as the "S" bit, which is defined as a High to
Low transition on the SDA line while the SCL line is high. A STOP signal is usually referred to as
the "P" bit, which is defined as a Low to High transition on the SDA line while SCL is high.
A repeated START, which is denoted as the "Sr" bit, is functionally identical to the normal START
condition. A repeated START signal allows the I
device or with the same device but in a different transfer direction without releasing the I
control.
Rev. 1.10
2
C interface to communicate with another slave
279 of 366
C bus is in the free or
2
2
C bus
November 09, 2018

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the HT32F52220 and is the answer not in the manual?

Subscribe to Our Youtube Channel

This manual is also suitable for:

Ht32f52230

Table of Contents