UPD78F9222MC(T)-5A4-A NEC, UPD78F9222MC(T)-5A4-A Datasheet - Page 129

8BIT MCU, 4K FLASH, 256B RAM, 78F9222

UPD78F9222MC(T)-5A4-A

Manufacturer Part Number
UPD78F9222MC(T)-5A4-A
Description
8BIT MCU, 4K FLASH, 256B RAM, 78F9222
Manufacturer
NEC
Datasheet

Specifications of UPD78F9222MC(T)-5A4-A

Controller Family/series
UPD78
No. Of I/o's
17
Ram Memory Size
256Byte
Cpu Speed
10MHz
No. Of Timers
4
No. Of
RoHS Compliant
Core Size
8bit
Program Memory Size
4KB
Oscillator Type
External, Internal

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
UPD78F9222MC(T)-5A4-A
Manufacturer:
NEC
Quantity:
1 000
Part Number:
UPD78F9222MC(T)-5A4-A
Manufacturer:
NEC/PBF
Quantity:
6 640
Part Number:
UPD78F9222MC(T)-5A4-A
Manufacturer:
RENESAS/瑞萨
Quantity:
20 000
Company:
Part Number:
UPD78F9222MC(T)-5A4-A
Quantity:
458
7.4
7.4.1
the count value set in advance to 8-bit compare register 80 (CR80).
cleared to 00H and counting is continued. At the same time, an interrupt request signal (INTTM80) is generated.
When 8-bit timer 80 operates as an interval timer, it can repeatedly generate an interrupt at intervals specified by
To use 8-bit timer 80 as an interval timer, make the following setting.
<1> Disable the operation of 8-bit timer counter 80 (clear TCE80 (bit 7 of 8-bit timer mode control register 80
<2> Set the count clock of 8-bit timer 80 (refer to Tables 7-3 and 7-4).
<3> Set the count value to CR80.
<4> Enable the operation of TM80 (set TCE80 to 1).
When the count value of 8-bit timer counter 80 (TM80) matches the set value of CR80, the value of TM80 is
Tables 7-3 and 7-4 show the interval time, and Figure 7-5 shows the timing of the interval timer operation.
Cautions 1. When changing the value of CR80, be sure to stop the timer operation. If the value of CR80 is
Remark f
Remark f
TCL801
TCL801
Operation of 8-bit Timer 80
Operation as interval timer
(TMC80)) to 0).
0
0
1
1
0
0
1
1
2. If the count clock of TMC80 is set and the operation of TM80 is enabled at the same time by
XP
XP
: Oscillation frequency of clock to peripheral hardware
: Oscillation frequency of clock to peripheral hardware
changed with the timer operation enabled, a match interrupt request signal may be generated
immediately.
using an 8-bit memory manipulation instruction, the error of one cycle after the timer is
started may be 1 clock or more (refer to 7.5 (1) Error when timer starts). Therefore, be sure to
follow the above sequence when using TM80 as an interval timer.
TCL800
TCL800
0
1
0
1
0
1
0
1
Table 7-4. Interval Time of 8-bit Timer 80 (f
Table 7-3. Interval Time of 8-bit Timer 80 (f
2
2
2
2
2
2
2
2
6
8
10
16
6
8
10
16
/f
/f
/f
/f
/f
/f
/f
/f
Minimum Interval Time
XP
XP
Minimum Interval Time
XP
XP
XP
XP
XP
XP
(8
(32
(6.4
(25.6
(128
(8.19 ms)
(102
(6.55 ms)
µ
s)
µ
µ
s)
µ
s)
µ
µ
s)
s)
s)
CHAPTER 7 8-BIT TIMER 80
User’s Manual U16898EJ5V0UD
2
2
2
2
2
2
2
2
14
16
18
24
14
16
18
24
/f
/f
/f
/f
/f
/f
/f
/f
Maximum Interval Time
Maximum Interval Time
XP
XP
XP
XP
XP
XP
XP
XP
(2.05 ms)
(8.19 ms)
(32.7 ms)
(2.01 s)
(1.64 ms)
(6.55 ms)
(26.2 ms)
(1.68 s)
XP
XP
= 10.0 MHz)
= 8.0 MHz)
2
2
2
2
2
2
2
2
6
8
10
16
6
8
10
16
/f
/f
/f
/f
/f
/f
/f
/f
XP
XP
XP
XP
XP
XP
XP
XP
(8
(32
(6.4
(25.6
(128
(8.19 ms)
(102
(6.55 ms)
µ
Resolution
Resolution
µ
s)
µ
s)
µ
s)
µ
µ
s)
s)
s)
129

Related parts for UPD78F9222MC(T)-5A4-A