UPD78F0890GK(A)-GAJ-AX NEC, UPD78F0890GK(A)-GAJ-AX Datasheet - Page 234

8BIT MCU, 128K FLASH, 7K RAM, LQFP

UPD78F0890GK(A)-GAJ-AX

Manufacturer Part Number
UPD78F0890GK(A)-GAJ-AX
Description
8BIT MCU, 128K FLASH, 7K RAM, LQFP
Manufacturer
NEC
Datasheet

Specifications of UPD78F0890GK(A)-GAJ-AX

Controller Family/series
UPD78F
No. Of I/o's
55
Ram Memory Size
7KB
Cpu Speed
20MHz
No. Of Timers
10
No. Of Pwm
RoHS Compliant
Core Size
8bit
Program Memory Size
128KB
Oscillator Type
External, Internal
8.4.3 Square-wave output operation
compare register 5n (CR5n).
(TOE5n) of 8-bit timer mode control register 5n (TMC5n) to 1. This enables a square wave with any selected
frequency to be output (duty = 50%).
234
A square wave with any selected frequency is output at intervals determined by the value preset to 8-bit timer
The TO5n pin output status is inverted at intervals determined by the count value preset to CR5n by setting bit 0
<1> Set each register.
<2> After TCE5n = 1 is set, the count operation starts.
<3> The timer output F/F is inverted by a match of TM5n and CR5n. After INTTM5n is generated, TM5n is
<4> After these settings, the timer output F/F is inverted at the same interval and a square wave is output from
Setting
Note 8-bit timer/event counter 50: P17, PM17
Caution Do not write other values to CR5n during operation.
Remark n = 0, 1
• Clear the port output latch (P17 or P33)
• TCL5n: Select the count clock.
• CR5n:
• TMC5n: Stop the count operation, select the mode in which clear & start occurs on a match of TM5n and
cleared to 00H.
TO5n.
The frequency is as follows.
8-bit timer/event counter 51: P33, PM33
Frequency = 1/2t (N + 1)
(N: 00H to FFH)
Compare value
CR5n.
Timer output F/F inversion enabled
Timer output enabled
(TMC5n = 00001011B or 00000111B)
LVS5n
CHAPTER 8 8-BIT TIMER/EVENT COUNTERS 50 AND 51
1
0
LVR5n
0
1
User’s Manual U17554EJ4V0UD
High-level output
Low-level output
Note
Timer Output F/F Status Setting
and port mode register (PM17 or PM33)
Note
to 0.

Related parts for UPD78F0890GK(A)-GAJ-AX