UPD17073 NEC, UPD17073 Datasheet - Page 153
UPD17073
Manufacturer Part Number
UPD17073
Description
4-BIT SINGLE-CHIP MICROCONTROLLER WITH HARDWARE FOR DIGITAL TUNING SYSTEM
Manufacturer
NEC
Datasheet
1.UPD17073.pdf
(226 pages)
- Current page: 153 of 226
- Download datasheet (2Mb)
16.4.2
the P0D2/AMIFC or P0D3/FMIFC/AMIFC pin to be used for the IF counter has been executed, until the counter is
actually started.
selected for the IF counter function, as described in 16.4.1.
16.4.3
(1) Gate time error
(2) Count error
A program example of the IF counter is shown below.
As shown in this example, make sure that a wait time of a certain length elapses after an instruction that specifies
This is because the internal AC amplifier is not ready for normal operation immediately after the pin has been
Example To count frequency of P0D3/FMIFC/AMIFC pin (FMIF count mode) (gate time: 8 ms)
The IF counter has a gate time error and count error, as described in (1) and (2) below.
LOOP:
READ:
The gate time of the IF counter is created by dividing the 75-kHz system clock frequency.
Therefore, if this frequency has an error of “+x” ppm, the gate time accordingly has an error of “-x” ppm.
The IF counter counts frequency at the rising edge of the input signal.
Therefore, if a high-level signal is input to the pin when the gate is opened, one extra pulse is counted.
However, this extra pulse may not be counted, depending on the status of the pin, when the gate is closed.
Therefore, the count error is “+1, -0”.
Program example of IF counter
Error of IF counter
BANK1
INITFLG
SET1
SET1
SKT1
BR
BR
GET
Processing A
Wait
IFCMD1, NOT IFCMD0, IFCCK1, NOT IFCCK0
IFCRES
IFCSTRT ; Starts IF count
IFCG
READ
LOOP
DBF, IFC ; Reads value of IF counter data register to data buffer
; Selects FMIFC pin (FMIF count mode) and sets gate time to 8 ms
; Internal AC amplifier stabilization time
; Resets IF counter
; Detects opening/closing of gate
; Branches to READ: if gate is closed
; Do not read data of IF counter with this processing A.
PD17072,17073
153
Related parts for UPD17073
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
Part Number:
Description:
16/8 bit single-chip microcomputer
Manufacturer:
NEC
Datasheet:
Part Number:
Description:
Dual audio power amp circuit
Manufacturer:
NEC
Datasheet:
Part Number:
Description:
Dual comparator
Manufacturer:
NEC
Datasheet:
Part Number:
Description:
MOS type composite field effect transistor
Manufacturer:
NEC
Datasheet:
Part Number:
Description:
50 V/100 mA FET array incorporating 2 N-ch MOSFETs
Manufacturer:
NEC
Datasheet:
Part Number:
Description:
6-pin small MM high-frequency double transistor
Manufacturer:
NEC
Datasheet:
Part Number:
Description:
6-pin small MM high-frequency double transistor
Manufacturer:
NEC
Datasheet:
Part Number:
Description:
6-pin small MM high-frequency double transistor
Manufacturer:
NEC
Datasheet:
Part Number:
Description:
6-pin small MM high-frequency double transistor
Manufacturer:
NEC
Datasheet:
Part Number:
Description:
Twin transistors equipped with different model chips(6P small MM)
Manufacturer:
NEC
Datasheet:
Part Number:
Description:
Bipolar analog integrated circuit
Manufacturer:
NEC
Datasheet: