English
Language : 

SDA6000 Datasheet, PDF (268/380 Pages) Infineon Technologies AG – Teletext Decoder with Embedded 16-bit Controller
SDA 6000
Peripherals
Synchronization
In Mastermode, the SCL line is controlled by the I2C Module. Sent and received data is
only valid if SCL is high. With SCL going down, all modules are starting to count down
their low period. During the low period all connected modules are allowed to hold SCL
low. As the physical bus connection is wired-AND, SCL will remain low until the device
with the longest low period enters high state. Then the device with the shortest high
period will pull SCL low again.
Programming
It is strictly recommended not to write to the I2C registers when the I2C is working, except
for interrupt handling. This is indicated by the BUM bit (in master mode) and the interrupt
flags. All registers can be written in initial mode. In master mode the I2C is working as
long as the BUM bit is set, in slave mode the I2C is working from receiving a start
condition until receiving the next stop condition. Change of transmit direction is possible
only after a protocol interrupt (IRQP) or in initialization mode (MOD = 00B).
Initialization
Before data can be sent or received, data buffer size must be set in the count registers
(only necessary if buffer greater than one byte is available). To decide if slave/master or
multimaster mode is required, the MOD bits must be programmed.
Repeated Start Condition
The RSC bit must be set to one.
Start Condition
To generate a start condition the I2C must be in master mode. If the BUM bit is set, a
start condition is sent and the transmission started. The slave returns the acknowledge
bit, which is indicated by the LRB bit.
Sending Data Bytes
To send bytes it is only necessary to write data bytes to the transmit buffer every time a
data interrupt (IRQD) occurs.
Stop Condition
The BUM bit must be set to zero, or the STP bit must be set to one.
Receiving Data Bytes
To receive bytes it is necessary to set the TRX bit to zero. The bytes can be read after
every data interrupt (IRQD). After a stop condition (protocol interrupt IRQE), the count
Users Manual
7 - 117
2000-06-15