Download 78K0/Kx2-L Sample Program (Serial Interface IICA)

Transcript
CHAPTER 1 OVERVIEW
This sample program shows an example of using serial interface IICA. 16 bytes of data are transmitted and received
via the I2C bus in slave operation.
[Operation overview]
78K0/Kx2-L microcontroller
SCLA0
Master device
SDAA0
Serial interface IICA
• Operating mode: fast mode
• Transfer clock: 400 kHz
• Local address: A0H
I2C slave reception (16 bytes)
2
I C slave transmission (16 bytes)
Caution
The received data is
processed to create
transmission data.
For a definition of the I2C bus, refer to the 78K0/Kx2-L User’s Manual.
Application Note U19691EJ1V0AN
3