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

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
386
16-bit timer/
event
counter
00
Function
CR000: 16-bit
timer capture/
compare
register 000
CR010: 16-bit
timer capture/
compare
register 010
TMC00: 16-bit
timer mode
control register
00
CRC00:
Capture/
compare
control register
00
Details of
Function
Changing the CR000 setting during TM00 operation may cause a malfunction.
To change the setting, refer to 6.5 Cautions Related to 16-bit Timer/Event
Counter 00 (17) Changing compare register during timer operation.
In the free-running mode and in the clear & start mode using the valid edge of
the TI000 pin, if CR010 is set to 0000H, an interrupt request (INTTM010) is
generated when CR010 changes from 0000H to 0001H following overflow
(FFFFH).
If the new value of CR010 is less than the value of 16-bit timer counter 0
(TM00), TM00 continues counting, overflows, and then starts counting from 0
again. If the new value of CR010 is less than the old value, therefore, the timer
must be reset to be restarted after the value of CR010 is changed.
The value of CR010 after 16-bit timer/event counter 00 has stopped is not
guaranteed.
The capture operation may not be performed for CR010 set in compare mode
even if a capture trigger is input.
If the register read period and the input of the capture trigger conflict when
CR010 is used as a capture register, the capture trigger input takes precedence
and the read data is undefined. Also, if the timer count stop and the input of the
capture trigger conflict, the capture data is undefined.
Changing the CR010 setting during TM00 operation may cause a malfunction.
To change the setting, refer to 6.5 Cautions Related to 16-bit Timer/Event
Counter 00 (17) Changing compare register during timer operation.
16-bit timer counter 00 (TM00) starts operation at the moment TMC002 and
TMC003 (operation stop mode) are set to a value other than 0, 0, respectively.
Set TMC002 and TMC003 to 0, 0 to stop the operation.
The timer operation must be stopped before writing to bits other than the OVF00
flag.
If the timer is stopped, timer counts and timer interrupts do not occur, even if a
signal is input to the TI000/TI010 pins.
Except when the valid edge of the TI000 pin is selected as the count clock, stop
the timer operation before setting STOP mode or system clock stop mode;
otherwise the timer may malfunction when the system clock starts.
Set the valid edge of the TI000 pin with bits 4 and 5 of prescaler mode register
00 (PRM00) after stopping the timer operation.
If the clear & start mode entered on a match between TM00 and CR000, clear &
start mode at the valid edge of the TI000 pin, or free-running mode is selected,
when the set value of CR000 is FFFFH and the TM00 value changes from
FFFFH to 0000H, the OVF00 flag is set to 1.
Even if the OVF00 flag is cleared before the next count clock is counted (before
TM00 becomes 0001H) after the occurrence of a TM00 overflow, the OVF00
flag is re-set newly and clear is disabled.
The capture operation is performed at the fall of the count clock. An interrupt
request input (INTTM0n0), however, occurs at the rise of the next count clock.
The timer operation must be stopped before setting CRC00.
APPENDIX D LIST OF CAUTIONS
User’s Manual U16898EJ5V0UD
Cautions
p. 87
pp. 88,
118
pp. 88,
118
pp. 88,
119
pp. 88,
121
pp. 88,
121
p. 88
pp. 89,
118
pp. 90,
119
pp. 90,
118
pp. 90,
123
pp. 90,
119
pp. 90,
120
pp. 90,
120
pp. 90,
121
pp. 91,
119
Page
(3/19)

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