NEC V850/SB1 User Manual page 283

32-bit single-chip microcontroller
Table of Contents

Advertisement

CHAPTER 10
ACKEn
0
Disable acknowledgment.
1
Enable acknowledgment. During the ninth clock period, the SDA line is set to low level. However, the
ACK is invalid during address transfers and is valid when EXCn = 1.
Condition for clearing (ACKEn = 0)
• Cleared by instruction
• When RESET is input
STTn
0
Do not generate a start condition.
1
When bus is released (in STOP mode):
Generate a start condition (for starting as master). The SDAn line is changed from high level to low level
and then the start condition is generated. Next, after the rated amount of time has elapsed, SCLn is
changed to low level.
When bus is not used:
This trigger functions as a start condition reserve flag. When set, it releases the bus and then
automatically generates a start condition.
In the wait state (when master device)
Generate a restart condition after releasing the wait.
Cautions concerning set timing
• For master reception:
Cannot be set during transfer. Can be set only when ACKEn has been set to 0 and slave
has been notified of final reception.
• For master transmission: A start condition cannot be generated normally during the ACKn period. Set during the wait
period.
• Cannot be set at the same time as SPTn
Condition for clearing (STTn = 0)
• Cleared by instruction
• Cleared by loss in arbitration
• Cleared after start condition is generated by master
device
• When LRELn = 1
• When IICEn = 0
• Cleared when RESET is input
Note This flag's signal is invalid when IICEn = 0.
Remark
Bit 1 (STTn) is 0 if it is read immediately after data setting.
SERIAL INTERFACE FUNCTION
Acknowledge control
Note
Condition for setting (ACKEn = 1)
• Set by instruction
Start condition trigger
Condition for setting (STTn = 1)
• Set by instruction
User's Manual U13850EJ6V0UD
(3/4)
283

Advertisement

Table of Contents
loading

This manual is also suitable for:

V850/sb2

Table of Contents