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

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
216
• High-level width = [CR01n value] – [CR00n value] × [Count clock cycle]
• Low-level width = [CR00n value] × [Count clock cycle]
This is an application example where the pulse width of the signal input to the TI00n pin is measured.
By setting CRC0n, the count value can be captured to CR00n in the phase reverse to the falling edge of the
TI00n pin (i.e., rising edge) and to CR01n at the falling edge of the TI00n pin.
The high- and low-level widths of the input pulse can be calculated by the following expressions.
If the reverse phase of the TI00n pin is selected as a trigger to capture the count value to CR00n, the INTTM00n
signal is not generated. Read the values of CR00n and CR01n to measure the pulse width immediately after the
INTTM01n signal is generated.
However, if the valid edge specified by bits 6 and 5 (ES1n1 and ES1n0) of prescaler mode register 0n (PRM0n) is
input to the TI01n pin, the count value is not captured but the INTTM00n signal is generated. To measure the
pulse width of the TI00n pin, mask the INTTM00n signal when it is not used.
Remark n = 0:
Capture & count clear input
Figure 7-34. Timing Example of Clear & Start Mode Entered by TI00n Pin Valid Edge Input
(TMC0n3, TMC0n2)
n = 0, 1:
Capture interrupt
Capture interrupt
(TI00n pin input)
Capture register
Capture register
TM0n register
Operable bits
Capture input
(INTTM01n)
(INTTM00n)
µ
µ
(CR00n)
(CR01n)
(CR00n: Capture Register, CR01n: Capture Register) (3/3)
(TI01n)
PD78F0531, 78F0532, 78F0533
PD78F0534, 78F0535, 78F0536, 78F0537, 78F0537D
0000H
(c) TOC0n = 13H, PRM0n = 00H, CRC0n = 07H, TMC0n = 0AH
CHAPTER 7 16-BIT TIMER/EVENT COUNTERS 00 AND 01
L
L
00
0000H
0000H
User’s Manual U17260EJ6V0UD
L
M
L
10
N
M
P
O
N
O
Q
P
R
Q
S
R
T
S
T
W
W

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