Panasonic F77G User Manual page 415

Microcomputer mn101c series
Table of Contents

Advertisement

Reception of Acknowledgement (ACK) Bit after Data Transmission
This LSI does not contain the function of receiving the acknowledgement (ACK) bit after data transmission.
To receive ACK bit after transmitting data, select sc3acks= "0" (No ACK bit) before data transmisison. By
transmitting the 8-bit data, an interrupt generates. Then switch the SBT pin function to "port" in the interrupt
routine. With the port function, program a clock for ACK reception and read the ACK data.
SDA
SCL
Interrupt
Figure 12-3-13 ACK Bit Reception Timing after Transmission of 8-Bit Data
Transmission of Acknowledgement (ACK) bit after Data Reception
The way of the selection if ACK bit is enabled or not is the same to the way at the transmission. When
ACK bit is enabled, ACK bit and clock are output after data (1 to 8 bits) is received. If the reception is to
continue, ACK bit outputs "L". And if the reception is to finish, it outputs "H". The SC3ACK0 of the
SC3CTR register sets the output ACK bit level.
SDA
SCL
Interrupt
Figure 12-3-14 ACK Bit Transmission Timing after Reception of 8-Bit Data
Data transmission period
(Hardware processing period)
ACK bit reception period
(Software processing period)
ACK/
. .
1
2
8
NACK
Data reception period
(Bus release period)
T
Tmax=1.2 T
ACK/
. .
1
2
8
NACK
Chapter 12
ACK bit reception clock
(generated by switching
the pin of software)
ACK bit transmission clock
Operation
Serial Interface 3
XII - 29

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Panaxseries mn101c77cPanaxseries mn101f77g

Table of Contents