UPD78F1506GF-GAT-AX Renesas Electronics America, UPD78F1506GF-GAT-AX Datasheet - Page 628

no-image

UPD78F1506GF-GAT-AX

Manufacturer Part Number
UPD78F1506GF-GAT-AX
Description
MCU 16BIT 78K0R/LX3 128-LQFP
Manufacturer
Renesas Electronics America
Series
78K0R/Lx3r
Datasheet

Specifications of UPD78F1506GF-GAT-AX

Core Processor
78K/0R
Core Size
16-Bit
Speed
20MHz
Connectivity
3-Wire SIO, I²C, LIN, UART/USART
Peripherals
DMA, LCD, LVD, POR, PWM, WDT
Number Of I /o
78
Program Memory Size
64KB (64K x 8)
Program Memory Type
FLASH
Ram Size
4K x 8
Voltage - Supply (vcc/vdd)
1.8 V ~ 5.5 V
Data Converters
A/D 12x12b, D/A 2x12b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°C
Package / Case
*
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Eeprom Size
-
78K0R/Lx3
R01UH0004EJ0401 Rev.4.01
Jul 2, 2010
Remark
The main processing of the slave operation is explained next.
Start serial interface IICA and wait until communication is enabled. When communication is enabled, execute
communication by using the communication mode flag and ready flag (processing of the stop condition and start
condition is performed by an interrupt. Here, check the status by using the flags).
The transmission operation is repeated until the master no longer returns ACK. If ACK is not returned from the
master, communication is completed.
For reception, the necessary amount of data is received. When communication is completed, ACK is not returned
as the next data.
communication status occurs in this way.
Conform to the specifications of the product that is in communication, regarding the transmission and
reception formats.
No
No
No
ACKE = WTIM = 1, SPIE = 0
IICCTL0 ← 0XX011XXB
IICCTL0 ← 1XX011XXB
Clearing communication
IICWL, IICWH ← XXH
Clearing ready flag
direction flag = 1?
direction flag = 1?
After that, the master generates a stop condition or restart condition.
Communication
Ready flag =
Communication
Communication
mode flag = 1?
Communication
Setting IICRSV
mode flag = 1?
SVA ← XXH
IICF ← 0XH
Writing IICA
ACKD = 1?
WREL = 1
Setting port
Setting port
mode flag
IICE = 1
START
Yes
Yes
Yes
Yes
Yes
No
1?
Figure 15-30. Slave Operation Flowchart (1)
No
No
Yes
Starts
transmission.
Selects a transfer clock.
Sets a local address.
Sets a start condition.
Setting of the port used alternatively as the pin to be used.
First, set the port to input mode and the output latch to 0 (see 15.3 (8) Port mode register 6 (PM6)).
Set the port from input mode to output mode and enable the output of the I
(see 15.3 (8) Port mode register 6 (PM6)).
No
Clearing ready flag
direction flag = 0?
Communication
Communication
mode flag = 1?
Ready flag =
Reading IICA
WREL = 1
CHAPTER 15 SERIAL INTERFACE IICA
Yes
Yes
Yes
1?
No
No
Starts
reception.
2
C bus
Exit from the
628

Related parts for UPD78F1506GF-GAT-AX