upd70f3422gj-gae-qs-ax Renesas Electronics Corporation., upd70f3422gj-gae-qs-ax Datasheet - Page 582

no-image

upd70f3422gj-gae-qs-ax

Manufacturer Part Number
upd70f3422gj-gae-qs-ax
Description
32-bit Single-chip Microcontroller
Manufacturer
Renesas Electronics Corporation.
Datasheet
Chapter 18
582
Cautions concerning set timing
For master reception:
For master transmission: A stop condition cannot be generated normally during the ACK period. Set during the
• SPTn cannot be set at the same time as the STTn bit.
• The SPTn bit can be set only when in master mode
• When the WTIMn bit has been set to 0 and the SPTn bit is set during the wait period that follows output of
Condition for clearing (SPTn = 0)
• Cleared by loss in arbitration
• Automatically cleared after stop condition is detected
• When the LRELn = 1 (communication save)
• When the IICEn = 0 (operation stop)
• After reset
- Change IICCn.WTIMn from 0 to 1 in order to receive an additional interrupt after the ninth clock.
- Cancel the wait state by IICCn.WRELn = 1 or by writing to the IICn register.
- Upon the interrupt after the ninth clock require to set the stop condition by IICCn.STPn = 1. By this the wait
eight clocks, note that a stop condition will be generated during the high-level period of the ninth clock.
When the ninth clock must be output to apply the ACK on the bus by the receiving device, proceed as follows:
SPTn
status will be cancelled and the stop condition will be generated on the bus.
0
1
Stop condition is not generated.
Stop condition is generated (termination of master device’s transfer).
After the SDAn line goes to low level, either set the SCLn line to high level or wait until it goes to
high level. Next, after the rated amount of time has elapsed, the SDAn line is changed from low
level to high level and a stop condition is generated.
Caution
Note
1.
2.
3.
When the TRCn = 1, the WRELn bit is set during the ninth clock and wait is
canceled, after which the TRCn bit is cleared and the SDAn line is set to high
impedance.
Preliminary User’s Manual U17566EE1V2UM00
Cannot be set during transfer.
Can be set only when the ACKEn bit has been set to 0 and during the wait period after
the slave has been notified of final reception.
wait period.
Set the SPTn bit only in master mode. However, when communication
reservation is enabled (IICFn.IICRSVn = 0), the SPTn bit must be set and
a stop condition generated before the first stop condition is detected
following the switch to the operation enabled status. For details, see
“Cautions“ on page 624.
Clearing the IICEn bit to 0 invalidates the signals of this flag.
The SPTn bit is 0 if it is read immediately after data setting.
Note 2
Stop condition trigger
Note 1
Condition for setting (SPTn = 1)
• Set by instruction
.
I
2
C Bus (IIC)

Related parts for upd70f3422gj-gae-qs-ax