UPD78F0537DGA(T)-9EV-A NEC, UPD78F0537DGA(T)-9EV-A Datasheet - Page 457

no-image

UPD78F0537DGA(T)-9EV-A

Manufacturer Part Number
UPD78F0537DGA(T)-9EV-A
Description
8BIT MCU, 128K FLASH, 7KB RAM, SMD
Manufacturer
NEC
Datasheet

Specifications of UPD78F0537DGA(T)-9EV-A

Controller Family/series
UPD78
No. Of I/o's
55
Ram Memory Size
7KB
Cpu Speed
20MHz
No. Of Timers
8
No. Of Pwm
RoHS Compliant
Core Size
8bit
Program Memory Size
128KB
Oscillator Type
External, Internal
Remark
The main processing of the slave operation is explained next.
Start serial interface IIC0 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. After that, the master generates a stop condition or restart condition. Exit from the
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
Clearing communication
ACKE0 = WTIM0 = 1
SPIE0 = 0, IICE0 = 1
Clearing ready flag
direction flag = 1?
direction flag = 1?
Communication
Ready flag =
Communication
Communication
Communication
IICCL0 ← XXH
Setting IICRSV
mode flag = 1?
mode flag = 1?
SVA0 ← XXH
IICC0 ← XXH
IICX0 ← 0XH
IICF0 ← 0XH
ACKD0 = 1?
Writing IIC0
WREL0 = 1
Setting port
mode flag
Figure 17-25. Slave Operation Flowchart (1)
START
CHAPTER 17 SERIAL INTERFACE IIC0
Yes
Yes
Yes
Yes
Yes
No
1?
User’s Manual U17260EJ6V0UD
No
No
Yes
Starts
transmission.
Selects a transfer clock.
Sets a local address.
Sets a start condition.
Sets each pin to the I
2
C mode (see 17.3 (7) Port mode register 6 (PM6)).
No
Clearing ready flag
direction flag = 1?
Communication
Communication
mode flag = 1?
Ready flag =
Reading IIC0
WREL0 = 1
Yes
Yes
Yes
1?
No
No
Starts
reception.
457

Related parts for UPD78F0537DGA(T)-9EV-A