Ordering number : EN4758B CMOS LSI LC7218, 7218M, 7218JM PLL Frequency Synthesizer for Electronic Tuning in AV Systems Overview Package Dimensions The LC7218, LC7218M and LC7218JM are PLL frequency synthesizers for electronic tuning. The LC7218, LC7218M and LC7218JM are optimal for AM/FM tuner circuits that require high mounting densities. unit: mm 3067-DIP24S [LC7218] Features • These products feature a rich set of built-in functions for AV applications, including reference frequency and unlock detection circuits, I/O ports and a generalpurpose counter. Functions • Programmable dividers — FMIN pin: 130 MHz at 70 mVrms and 160 MHz at 100 mVrms input (built-in prescaler) — AMIN pin: Pulse swallower and direct division techniques • Reference frequencies: Ten selectable frequencies: 1, 5, 9, 10, 3.125, 6.25, 12.5 25, 50 and 100 kHz • Output ports: 7 pins Complementary outputs: 2 pins N-channel open drain outputs: 5 pins • Input ports: 2 pins • General-purpose counter: For measuring IF and other signals (Also used for station detection when functioning as an IF counter.) — HCTR pin: Frequency measurement (for inputs up to 70 MHz) — LCTR pin: Frequency and period measurement • PLL unlock detection circuit Detects phase differences of 0.55, 1.11, 2.22 and 3.33 µs. • Controller clock output: 400 kHz • Clock time base output: 8 Hz • Serial data I/O — Supports CCB format communication with the system controller. • Package: LC7218: DIP24S LC7218M: MFP24 LC7218JM: MFP24S SANYO: DIP24S • CCB is a trademark of SANYO ELECTRIC CO., LTD. • CCB is SANYO’s original bus format and all the bus addresses are controlled by SANYO. SANYO Electric Co.,Ltd. Semiconductor Bussiness Headquarters TOKYO OFFICE Tokyo Bldg., 1-10, 1 Chome, Ueno, Taito-ku, TOKYO, 110 JAPAN 63096HA (OT)/42895TH (OT) No. 4758-1/16 LC7218, 7218M, 7218JM Package Dimensions unit: mm unit: mm 3045B-MFP24 3112-MFP24S [LC7218M] [LC7218JM] SANYO: MFP24 SANYO: MFP24S Pin Assignments No. 4758-2/16 LC7218, 7218M, 7218JM Block Diagram Pin Symbols XIN, XOUT: FMIN, AMIN: CE, CL, DI, DO: OUT0 to OUT6: IN0, IN1: HCTR, LCTR: PD1, PD2: SYC: Crystal oscillator (7.2 MHz) Local oscillator signal input Serial data I/O Output ports Input ports General-purpose counter inputs Charge pump outputs Control clock (400 kHz) Specifications Absolute Maximum Ratings at Ta = 25°C, VSS = 0 V Parameter Maximum supply voltage Input voltage Output voltage Symbol VDD max Conditions Unit –0.3 to +7.0 VIN (1) CE, CL, DI, IN0, IN1 –0.3 to +7.0 V VIN (2) Input pins other than VIN (1) –0.3 to VDD + 0.3 V VOUT (1) DO, SYC VOUT (2) OUT1, OUT2 VOUT (3) OUT3 to OUT6, OUT0 VOUT (4) Output pins other than VOUT (1), VOUT (2) and VOUT (3) Ta ≤ 85°C Allowable power dissipation Ratings VDD Pd max :LC7218 V –0.3 to +7.0 V –0.3 to VDD + 0.3 V –0.3 to +15 V –0.3 to VDD + 0.3 V 350 :LC7218M 300 :LC7218JM 200 mW Operating temperature Topr –40 to +85 °C Storage temperature Tstg –55 to +125 °C No. 4758-3/16 LC7218, 7218M, 7218JM Allowable Operating Ranges at Ta = –40 to +85°C, VSS = 0 V Parameter Supply voltage Input high level voltage Input low level voltage Output voltage Input frequency Crystal oscillators for which operation is guaranteed Symbol min typ max Unit VDD 4.5 6.5 V VDD (2) VDD: Crystal oscillator guaranteed operation 3.5 6.5 V VIH (1) CE, CL, DI, IN0, IN1 2.2 6.5 V VIH (2) LCTR: Pulse waveform, DC coupling*4 0.7 VDD (1) VDD (1) V VIL (1) CE, CL, DI, IN0, IN1 0 0.7 V VIL (2) LCTR*4 0 0.3 VDD (1) V VOUT (1) DO, SYC 6.5 V VOUT (2) OUT3 to OUT6, OUT0 13 V fIN (1) XIN: Sine wave capacitor coupling, VDD (2) 1.0 fIN (2) FMIN: Sine wave capacitor coupling, VDD (1)*1 10 fIN (3) AMIN: Sine wave capacitor coupling, VDD (1)*1 0.5 40 MHz fIN (4) HCTR: Sine wave capacitor coupling, VDD (1)*2 10 60 (70)*6 MHz fIN (5) LCTR: Sine wave capacitor coupling, VDD (1)*3 15 500 kHz fIN (6) LCTR: Pulse wave DC coupling, VDD (1)*4 1.0 20 × 103 Hz XIN-XOUT: CI ≤ 50 Ω 3.0 Xtal VIN (1) Input amplitude Conditions VDD (1) XIN: Sine wave capacitor coupling, VDD (1) MHz MHz 8.0 MHz 1.5 Vrms 1.5 Vrms VIN (2) FMIN: Sine wave capacitor coupling, VDD (1) VIN (3) AMIN: Sine wave capacitor coupling, VDD (1) VIN (5) 7.2 8.0 130 (160)*5 0.5 0.070 (0.100)*5 VIN (4) 7.2 0.070 1.5 Vrms HCTR: Sine wave capacitor coupling, VDD (1)*2 0.070 (0.100)*6 1.5 Vrms LCTR: Sine wave capacitor coupling, VDD (1)*3 0.070 1.5 Vrms Note: 1. 2. 3. 4. 5. 6. DV SP 1/2 divider 1/16, 17 swallow 12-bit main divider Input pin 1 * 10 to 130 (160) MHz Input frequency ● 0 1 2 to 40 MHz — ● ● AMIN 0 0 0.5 to 10 MHz — — ● ● ● FMIN AMIN DV and SP are bits in the serial data. *: don’t care Frequency measurement Frequency measurement Period measurement fIN (2): 10 to 160 MHz/VIN (2) 0.100 Vrms (minimum) fIN (4): 10 to 70 MHz/VIN (4) 0.100 Vrms (minimum) No. 4758-4/16 LC7218, 7218M, 7218JM Electrical Characteristics for the Allowable Operating Ranges Parameter Internal feedback resistance Hysteresis Input high level current Input low level current Output high level voltage Output low level voltage Output off leakage current Symbol Conditions min typ max Unit Rf (1) XIN 1.0 MΩ Rf (2) FMIN 500 kΩ Rf (3) AMIN 500 kΩ Rf (4) HCTR 500 kΩ Rf (5) LCTR 500 VH LCTR 0.1 VDD kΩ 0.6 VDD V IIH (1) CE, CL, DI: VI = 6.5 V 5.0 µA IIH (2) IN0, IN1: VI = VDD 5.0 µA IIH (3) XIN: VI = VDD 20 µA IIH (4) FMIN, AMIN: VI = VDD 40 µA IIH (5) HCTR, LCTR: VI = VDD 40 µA IIL (1) CE, CL, DI: VI = VSS 5.0 µA IIL (2) IN0, IN1: VI = VSS 5.0 µA IIL (3) XIN: VI = VSS 20 µA IIL (4) FMIN, AMIN: VI = VSS 40 µA IIL (5) HCTR, LCTR: VI = VSS 40 µA VOH (1) OUT1, OUT2: IO = –1 mA VDD – 1.0 VOH (2) PD1, PD2: IO = –0.5 mA VDD – 1.0 VOL (1) OUT1, OUT2: IO = 1 mA 1.0 V VOL (2) PD1, PD2: IO = 0.5 mA 1.0 V VOL (3) OUT3 to OUT6: IO = 5 mA 1.0 V VOL (4) OUT0: IO = 1 mA 1.0 V V V V VOL (5) DO: IO = 5 mA 1.0 VOL (6) SYC: IO = 0.5 mA (VDD = 3.5 to 6.5 V) 1.0 V IOFF (1) OUT3 to OUT6, OUT0: VO = 13 V 5.0 µA IOFF (2) DO: VO = 6.5 V 5.0 µA IOFF (3) SYC: VO = 6.5 V (VDD = 3.5 to 6.5 V) 5.0 µA Three-state high level off leakage current IOFFH PD1, PD2: VO = VDD 0.01 10.0 nA Three-state low level off leakage current IOFFL PD1, PD2: VO = VSS 0.01 10.0 nA Input capacitance CIN 2 3 pF IDD (1) VDD: fIN (2) = 130 MHz, VIN (2) = 70 mVrms, with a 7.2 MHz crystal, other input pins at VSS, output pins open 20 30 mA IDD (2) VDD: PLL block stopped (PLL inhibit state), crystal oscillator operating (SYC, TB), with a 7.2 MHz crystal, other input pins at VSS, output pins open 1.0 Current drain FMIN, HCTR 1 mA Note: A capacitor of at least 2000 pF must be inserted between the power supply VDD and VSS potentials. No. 4758-5/16 LC7218, 7218M, 7218JM Pin Functions Pin No. Symbol I/O 1 24 XIN XOUT Input Output 19 FMIN Input Type Function Xtal OSC • Connections for a 7.2 MHz crystal oscillator Local oscillator signal input • FMIN is selected when DV in the serial input data is set to 1. • Input frequency range: 10 to 130 MHz (70 mVrms minimum) • The signal passes through an internal divide-by-two prescaler and is then supplied to the swallow counter. • Although the divisor setting is in the range 256 to 65,536, the actual divisor will be twice the set value due to the presence of the internal divide-by-two prescaler. 18 AMIN Input Local oscillator signal input • AMIN is selected when DV in the serial input data is set to 0. • When SP in the serial input data is set to 1: — Input frequency range: 2 to 40 MHz (70 mVrms minimum). — The signal is supplied directly to the swallow counter without passing through the internal divide-by-two prescaler. — The divisor setting is in the range 256 to 65,536 and the actual divisor will be the value set. • When SP in the serial input data is set to 0: — Input frequency range: 0.5 to 10 MHz (70 mVrms minimum). — The signal is supplied directly to a 12-bit programmable divider. — The divisor setting is in the range 4 to 4,096 and the actual divisor will be the value set. 21 22 PD1 PD2 Three-state Charge pump outputs • PLL charge pump outputs. High levels are output from PD1 and PD2 when the local oscillator frequency divided by n is higher than the reference frequency, and low levels are output when that frequency is lower than the reference frequency. These pins go to the floating state when the frequencies agree. 6 SYC N-channel open drain Controller clock • SYC is a controller clock source. The LC7218 outputs a 400 kHz 66% duty signal from this pin after power is applied. 20 VDD — Power supply • The LC7218 power supply pin. A voltage of between 4.5 and 6.5 V must be provided when the PLL is operating. The supply voltage can be lowered to 3.5 V when only operating the crystal oscillator circuit to acquire the controller clock and the clock time base outputs. 23 VSS — Ground • The LC7218 ground pin 2 CE Input* Chip enable • This pin must be set high when inputting serial data (via DI) or when outputting serial data (via DO). 4 CL Input* Clock • The clock input used for data signal synchronization during serial data input (via DI) or output (via DO). 3 DI Input* Input data • Input pin used when transferring serial data from the controller to the LC7218. • A total of 36 bits of data must be supplied to set up the LC7218 initial state. 5 DO Output (N-channel open drain) Output data • Output pin used when transferring serial data to the controller from the LC7218. • A total of 28 bits from an internal shift register can be output in synchronization with the CL signal. Note: * The high and low level input voltages for the CE, CL, DI, IN0 and IN1 pins are VIH = 2.2 to 6.5 V and VIL = 0 to 0.7 V, regardless of the power supply voltage VDD. Continued on next page. No. 4758-6/16 LC7218, 7218M, 7218JM Continued from preceding page. Pin No. Symbol 9 10 11 12 13 14 17 OUT0 OUT1 OUT2 OUT3 OUT4 OUT5 OUT6 Output*1 7 8 IN0 IN1 Input*2 16 15 HCTR LCTR I/O Input Input Type Function Output port • These pins latch bits O0 to O6 in the serial data transferred from the controller, invert that data and output the inverted data in parallel. • The OUT0 pin can also be used to output an 8 Hz clock time base signal. (When TB is 1.) • OUT1 and OUT2 are complementary outputs. • OUT0, OUT3, OUT4, OUT5 and OUT6 are N-channel open drain outputs that can handle up to 13 V. Input port • The values of the IN0 and IN1 input ports can be converted from parallel to serial and output from the DO output pin. General-purpose counter Frequency measurement signal input pin • HCTR is selected when SC in the serial input data is set to 1. • Input frequency range: 10 to 60 MHz (70 mVrms minimum) • The signal is supplied to a general-purpose 20-bit binary counter after passing through a divide-by-eight circuit. Therefore, the value of the counter is 1/8 of the frequency actually input to HCTR. • When HCTR is selected the LC7218 will function in frequency measurement mode and the measurement period can be selected to be either 60 or 120 ms. (GT = 0: 60 ms, 1: 120 ms) • The result of the measurement (the value of the general-purpose counter) can be output MSB first from the DO output pin. General-purpose counter Frequency or period measurement signal input pin • LCTR is selected when SC in the serial input data is set to 0. • When SF in the serial input data is set to 1: — Frequency measurement mode is selected. — Input frequency range: 15 to 500 kHz (70 mVrms minimum). — The signal is supplied directly to the general-purpose counter without passing through the internal divide-by-eight circuit. — The measurement period is the same as for HCTR. • When SF in the serial input data is set to 0: — Period measurement mode is selected. — Input frequency range: 1 Hz to 20 kHz (VIH = 0.7 VDD minimum, VIL = 0.3·VDD maximum) — The measurement can be selected to be for one or two cycles. If two cycle measurement is selected the input frequency range becomes 2 Hz to 20 kHz. (GT = 0: one cycle, 1: two cycles) • Measurement results are output in the same manner as HCTR measurement results. Note: *1. Since the output port states are undefined when power is first applied, transfer the control data quickly. *2. The high and low level input voltages for the CE, CL, DI, IN0 and IN1 pins are VIH = 2.2 to 6.5 V and VIL = 0 to 0.7 V, regardless of the power supply voltage VDD. Control Data Format (serial input data) No. 4758-7/16 LC7218, 7218M, 7218JM The LC7218 control data consists of 36 bits. All 36 bits must be input after power is applied to set up the LC7218 initial state. This is because the last two bits, while being unrelated to user functions, are data that switches the LSI test modes. Once the LC7218 has been initialized, the contents of the first 24 bits (D0 to CTEN) can be changed without changing the contents of the last 12 bits (R0 to T1) by inputting data to DI in serial data input mode. No. Control block/data Description Related data • This data sets up the programmable divider. D0 to D15 is a binary value with D15 as the MSB. The position of the LSB is changed by DV and SP as listed in the table below. (1) Programmable divider data D0 to D15 DV SP LSB 1 * D0 Divisor setting Actual divisor 256 to 65536 DV SP Twice the set value 0 1 D0 256 to 65536 The set value 0 0 D4 4 to 4096 The set value * don’t care When D4 is the LSB, bits D0 to D3 are ignored. (2) (3) Output port data O0 to O6 • Data that determines the states of the output ports OUT0 to OUT6. O0 determines the OUT0 pin output. However, note that when O0 is 0, OUT0 will output a high level, and when O0 is 1, OUT0 will output a low level. O1 to O6 function in the same manner. • These can be used for a wide range of purposes, including, for example, band switching signals. • When the TB bit is set to 1, the O0 data is ignored and the OUT0 pin outputs an 8 Hz clock time base signal. • Since the output port states are undefined when power is first applied, transfer the control data quickly. TB General-purpose counter initial data CTEN • Data that determines the operation of the general-purpose counter. When CTEN is 0, the 20-bit binary counter (the general-purpose counter) is reset and the HCTR and LCTR pins are pulled down to ground. When CTEN is set to 1, the general-purpose counter reset state is cleared and the counter operates according to the SC bit (the general-purpose selection data). In this state, the general-purpose counter will count either the HCTR or LCTR input signal. • Since the general-purpose counter is reset by setting CTEN to 0, the result of a count operation must be sent to the controller while CTEN is still 1. SC SF GT • Data that selects one of the ten LC7218 reference frequencies or sets the LC7218 to backup mode in which PLL operation is disabled. (4) Reference frequency data R0 to R3 R0 R1 R2 R3 0 0 0 0 Reference frequency (kHz) 100 0 0 0 1 50 0 0 1 0 25 0 0 1 1 25 12.5 0 1 0 0 0 1 0 1 6.25 0 1 1 0 3.125 0 1 1 1 3.125 1 0 0 0 10 1 0 0 1 9 1 0 1 0 5 1 0 1 1 1 1 1 0 0 1 1 0 1 1 1 1 0 1 1 1 1 PLL inhibit state* Note: * PLL inhibit (backup mode) The programmable divider block is turned off, both the FMIN and AMIN pins are pulled down to ground, and the charge pump outputs go to the floating state. Continued on next page. No. 4758-8/16 LC7218, 7218M, 7218JM Continued from preceding page. No. Control block/data Description Related data • DV selects the local oscillator input pin. (FMIN or AMIN) • SP switches the input frequency range when AMIN is selected. (5) Divider selection data DV (6) Sensitivity selection data SP DV SP Input pin Input frequency range (MHz) 1 * FMIN 10 to 130 0 1 AMIN 2 to 40 0 0 AMIN 0.5 to 10 * don’t care (7) General-purpose counter input pin selection data SC (8) General-purpose counter frequency/period mode switching data SF • SC selects the input pin (HCTR or LCTR) for the general-purpose counter. • SF selects the measurement type (frequency or period) when LCTR is selected. When HCTR is selected, SF is ignored and the LC7218 operates in frequency measurement mode. DV SP Input pin Measurement type 1 * HCTR Frequency measurement (sine wave) 0 1 LCTR Frequency measurement (sine wave) 0 0 LCTR Period measurement (pulse waveform) CTEN GT * don’t care (9) General-purpose counter count time selection data GT • GT selects the measurement time in frequency measurement mode and the number of periods in period measurement mode. GT = 0: 60 ms/one period GT = 1: 120 ms/two periods (frequency measurement/period measurement) (10) Time base output control data TB • When TB is set to 1 an 8 Hz 40% duty clock time base signal is output from OUT0. O0 bit is ignored in this mode. (11) LSI test mode control data T0, T1 • T0 and T1 switch the LSI between test and normal operating modes. The test modes and have no user related functions. Both T0 and T1 must always be set to 0. Be sure to set both T0 and T1 to 0 after power is applied. CTEN SC SF O0 DO Output Format (serial data output) The LC7218 includes a 28-bit internal shift register that can be used to output the following data from DO: the IN0 and IN1 input port states, the general-purpose counter (20-bit binary counter) and the unlock detection circuit state. The contents of the shift register is latched at the point that serial data output mode is selected. No. Data (1) Input port data I0 and I1 • The values of the IN0 and IN1 input ports are latched into I0 and I1. I0 ← IN0, I1 ← IN1 (2) General-purpose counter binary data C19 to C0 • The C19 to C0 data is latched from value of the general-purpose 20-bit binary counter. C19 ← 20-bit binary counter MSB C0 → 20-bit binary counter LSB PLL unlock state data UL3 to UL0 • The UL3 to UL0 data is latched from the unlock detection circuit. UL0: 1.11 UL1: 2.22 These bits are set to 1 if a phase difference in excess of these times (in µs) was detected. UL2: 3.33 (for a 7.2 MHz crystal) UL3: 0.55 (3) Description No. 4758-9/16 LC7218, 7218M, 7218JM Serial Data I/O Methods The LC7218 supports a total of three I/O modes: two control data input (serial data input) modes and one DO output (serial data output) mode. Data I/O is performed after the mode has been determined. The mode is selected by four data items (A0 to A3) synchronized with a clock (the CL pin) applied before the CE pin is set high. The mode is determined when the CE pin goes high. Mode 1 A3 0 A2 0 A1 0 A0 1 Item Function Serial data input (all bits) • This mode is used to input all 36 bits of the control data (serial input data). This mode is used for initialization following power on and to change data that cannot be changed in mode 2. All 36 bits of the control data is input from the LC7218 DI pin. 2 0 0 1 0 Serial data input (partial input) • This mode is used to input a subset (24 bits) of the control data (serial input data). This mode is used to change three data items: the programmable divider data (D0 to D15), the output port data (O0 to O6) and the general-purpose counter start data (CTEN), for a total of 24 bits. The other 12 bits of control data are not changed by a mode 2 operation. (Use mode 1 when the other 12 bits must be changed.) 3 0 0 1 1 Serial data output • The DO output mode (serial data output) is used to output three data items from the DO pin: the input port data, the general-purpose counter binary data and the PLL unlock state data. 0 to 0 1 to 0 0 to 0 0 to 0 Invalid setting • This mode is invalid and does not support any data input or output operations. 1. In the serial data input modes (modes 1 and 2), t1 ≥ 1.5 µs, t2 ≥ 0 µs, t3 ≥ 1.5 µs, and t4 < 1.5 µs. • Mode 1: A total of 40 bits, the four mode selection bits and the 36 control data bits (from D0 to T1), are input from the DI pin in synchronization with the clock (CL) signal. • Mode 2: A total of 28 bits, the four mode selection bits and 24 control data bits (from D0 to CTEN), are input from the DI pin in synchronization with the clock (CL) signal. No. 4758-10/16 LC7218, 7218M, 7218JM 2. In serial data output mode (mode 3), t1 ≥ 1.5 µs, t2 ≥ 0 µs, t3 ≥ 1.5 µs, and t5 < 1.5 µs. (However, note that since the DO pin is an n-channel open drain output, the transition time depends on the value of the pull-up resistor.) • Mode 3: Serial output mode (mode 3) is selected by the four bits of mode selection data. When the CE pin goes high, IO is output from the DO pin. After that, the internal shift register is shifted and the next bit is output from the DO pin on each falling edge of the CL signal. (Thus 27 clock cycles are required to output all data through the UL0 bit after CE goes high.) When this mode is selected, at the point the CE pin falls to the low level, the DO pin will be forcibly set to the high level. The DO pin will go low if the IN0 pin input changes state or if a general-purpose counter measurement completes. (General-purpose counter completion takes precedence over changes in the IN0 pin signal.) Structure of the Programmable Divider DV SP (A) 1 * FMIN Input pin 256 to 65536 Divisor setting Twice the set value Actual divisor Input frequency range (MHz) (B) 0 1 AMIN 256 to 65536 The set value 2 to 40 (C) 0 0 AMIN 4 to 4096 The set value 0.5 to 10 10 to 130 Note: 1. The actual divisor will be twice the set value when FMIN (A) is used. For example, if the divisor setting is 1000 the actual divisor will be 2000 and if the divisor setting is 1001 the actual divisor will be 2002. In other words, the channel skip will be twice the reference frequency. 2. To set the channel skips of 1, 5 and 9 kHz using FMIN (A), the crystal oscillator should be changed to 3.6 MHz. However, the times listed in the table that follows change since they are referenced to the crystal oscillator frequency. Note that care must be taken to prevent overtone oscillation when a 3.6 MHz crystal oscillator is used. No. 4758-11/16 LC7218, 7218M, 7218JM Xtal Item 7.2 MHz 3.6 MHz Time base clock 8 Hz 4 Hz System clock 400 kHz 200 kHz Frequency measurement period 120/60 ms 240/120 ms Frequency measurement check signal 900 kHz 450 kHz Reference frequencies 100, 50, 25, ......... 10, 9, 5, 1 kHz 50, 25, 12, 5, .......... 5, 4.5, 2.5, 0.5 kHz Serial data I/O (CL) t1 ≥ 1.5 µs, t3 ≥ 1.5 µs t1 ≥ 3.0 µs, t3 ≥ 3.0 µs Structure of the General-Purpose Counter SC SF S1 1 * HCTR Input pin Frequency measurement Measurement item Measurement frequency range 10 to 60 MHz (sine wave) 120 m/60 ms GT (1/0) S2 0 1 LCTR Frequency measurement 15 to 500 kHz (sine wave) 120 m/60 ms S3 0 0 LCTR Period measurement 1 Hz to 20 kHz (pulse wave) Two periods/one period The LC7218 general-purpose counter is a 20-bit binary counter. The value of the counter can be read out, msb first, from the DO pin. When the general-purpose counter is used for frequency measurement, GT selects the measurement period to be one of two periods, 60 or 120 ms. The frequency of the signal input to the HCTR or LCTR pin can be measured by determining the number of pulses input to the general-purpose counter during the measurement period. When the general-purpose counter is used for period measurement, the period of the signal input to the LCTR pin can be measured by determining the number of check signal (900 kHz) cycles input to the general-purpose counter during one or two periods of the signal input to the LCTR pin. The general-purpose counter is started by setting CTEN to 1 in the serial data. While the serial data is acquired internally in the LC7218 at the point the CE signal goes from high to low, the input to the HCTR or LCTR pin must be provided within 10 ms after CE goes low. No. 4758-12/16 LC7218, 7218M, 7218JM Next, the value of the general-purpose counter after the measurement completes must be read out while CTEN is still 1. (The general-purpose counter is reset when CTEN is set to 0.) Another point that requires care here is that before starting the general-purpose counter, it must be reset by setting CTEN to 0. Note that although signals input to the LCTR pin are transmitted directly to the general-purpose counter, signals input to the HCTR pin are divided by eight internally before being transmitted to the general-purpose counter. Therefore the value of the general-purpose counter will be 1/8 of the actual frequency input to the HCTR pin. When counting intermediate frequency signals, always have the controller first check for the presence of the IF-IC SD (station detect) signal and then only turn on the IF counter buffer output if the SD signal was present. Auto-search techniques that only use an IF count are subject to stopping at frequencies where there is no station due to leakage output from the IF counter buffer. Note that although the DO pin is forced to the high level when the general-purpose counter is started (when CTEN is set to 1), the DO pin automatically goes low when the measurement completes (after either 60 or 120 ms has elapsed or when a signal has been applied for one or two periods). Therefore the DO pin can be used to check for measurement completion. 1. When the general-purpose is not used (when CTEN is 0) the DO pin can be used to check for changes in external signals. • When mode 3 is specified and data is output through DO, DO will automatically go high after data output has completed, i.e., when CE goes low. • After that, DO goes low automatically when the IN0 signal changes state. (That is, DO can be used to check for changes in an external signal input to IN0.) No. 4758-13/16 LC7218, 7218M, 7218JM 2. When the general-purpose counter is used the DO pin can be used to check for completion of the general-purpose counter measurement. • When CTEN is set to 1, DO going low due to changes in IN0 is disabled and DO is set high automatically. • DO is automatically set low when the general-purpose counter measurement completes. (That is, DO can be used to check for measurement completion.) PLL Unlock Data Read Out Procedure The internal data UL(n) is set on the rising edge of øERROR and reset on the rising edge of CE . The øERROR data UL(n) from before the previous CE rising edge can be read out in mode 3 (data output). In the example above, the data from the period between t0 and t1 is read out. 0.55 µs ≤ 1.11 µs ≤ 2.22 µs ≤ 3.33 µs ≤ øERROR < 0.55 µs → øERROR < 1.11 µs → øERROR < 2.22 µs → øERROR < 3.33 µs → øERROR → UL0 : 1.11 µs UL1 : 2.22 µs UL2 : 3.33 µs UL3 : 0.55 µs UL (n) 3210 0000 1000 1001 1011 1111 Each bit is set to 1 according to øERROR as described above. øERROR: the phase difference (for a 7.2 MHz crystal) No. 4758-14/16 LC7218, 7218M, 7218JM Sample Application System TV/FM/AM (When IF count is performed) Note: 1. The coupling capacitors used on the FMIN, AMIN, HCTR, and LCTR pins should be between 50 and 100 pF. However, a 1000 pF capacitor should be used for LCTR if frequencies under 100 kHz are to be used. 2. Coupling capacitors should be located as close to their pin as possible. 3. When counting intermediate frequency signals, always have the controller first check for the presence of the IF-IC SD signal and then only turn on the IF counter buffer output if the SD signal was present. 1. TV, 50 kHz steps When the UHF RF = 637.75 MHz (IF = +10.7 MHz) TV VCO = 648.45 MHz PLL fref = 3.125 kHz DV = 1, SP = * (FMIN selected) Programmable divider divisor Set N = 12969 (decimal). 2. FM, 100 kHz steps When the FM RF = 90 MHz (IF = +10.7 MHz) FM VCO = 100.7 MHz PLL fref = 50 kHz DV = 1, SP = * (FMIN selected) Programmable divider divisor Set N = 1007 (decimal). 3. AM, 10 kHz steps When the AM RF = 1000 kHz (IF = +450 kHz) AM VCO = 1450 kHz PLL fref = 10 kHz DV = 0, SP = 0 (AMIN, low speed measurement selected) Programmable divider divisor Set N = 145 (decimal). *: Do not care No. 4758-15/16 LC7218, 7218M, 7218JM ■ No products described or contained herein are intended for use in surgical implants, life-support systems, aerospace equipment, nuclear power control systems, vehicles, disaster/crime-prevention equipment and the like, the failure of which may directly or indirectly cause injury, death or property loss. ■ Anyone purchasing any products described or contained herein for an above-mentioned use shall: ➀ Accept full responsibility and indemnify and defend SANYO ELECTRIC CO., LTD., its affiliates, subsidiaries and distributors and all their officers and employees, jointly and severally, against any and all claims and litigation and all damages, cost and expenses associated with such use: ➁ Not impose any responsibility for any fault or negligence which may be cited in any such claim or litigation on SANYO ELECTRIC CO., LTD., its affiliates, subsidiaries and distributors or any of their officers and employees jointly or severally. ■ Information (including circuit diagrams and circuit parameters) herein is for example only; it is not guaranteed for volume production. SANYO believes information herein is accurate and reliable, but no guarantees are made or implied regarding its use or any infringements of intellectual property rights or other rights of third parties. This catalog provide information as of June, 1996. Specifications and information herein are subject to change without notice. No. 4758-16/16