LC72341G SANYO | Alldatasheet
Document overview
- Manufacturer or author: Provided By ALLDATASHEET.COM(FREE DATASHEET DOWNLOAD SITE)
- PDF pages: 12
Technical content
The LC72341G/W, LC72342G/W, and LC72343G/W are single-chip microcontrollers with both a 1/4-duty 1/2-bias LCD driver circuit and a PLL circuit that can operate at up to 250 MHz integrated on the same chip. These ICs are ideal for use in portable audio equipment. Functions
- High-speed programmable divider
- Program memory (ROM) — LC72341G/W: 2048 words
- 16 bits (4KB) — LC72342G/W: 3072 words · 16 bits (6KB) — LC72343G/W: 4096 words · 16 bits (8KB)
- Data memory (RAM) — LC72341G/W: 128 words · 4 bits — LC72342G/W: 192 words · 4 bits — LC72343G/W: 256 words · 4 bits
- Instruction cycle time — 40 µs (for all single-word instructions.)
- Stack — 4 levels (LC72341G/W) — 8 levels (LC72342G/W, and LC72343G/W)
- LCD driver — 48 to 80 segments (1/4-duty 1/2-bias drive)
- Timer interrupts — One timer circuit providing intervals of 1, 5, 10, and 50 ms.
- External interrupts — One external interrupt (INT)
- A/D converter — Two channels (5-bit successive approximation)
- Input ports — 7 (Of which two can be switched to function as A/D converter inputs)
- Output ports — 6 (Of which one can be switched to function as the BEEP tone output. Two ports are open-drain ports.)
- I/O ports — 16 (Of which 8 can be selected to function as LCD ports as mask options.)
- PLL circuit — Two types of dead band control are supported, and an unlock detection circuit is included. Reference frequencies of 1, 3, 5, 6.25, 12.5, and 25 kHz can be provided.
- Input frequency range — FM band: 10 to 130 MHz 130 to 250 MHz — AM band: 0.5 to 15 MHz Package Dimensions unit: mm 3159-QFP64G unit: mm 3159-SQFP64 CMOS IC 31398RM (OT) No. 5799-1/12 Preliminary SANYO: QFP64G [LC72341G, 72342G, 72343G] SANYO: SQFP64 [LC72341W, 72342W, 72343W] SANYO Electric Co.,Ltd. Semiconductor Bussiness Headquarters TOKYO OFFICE Tokyo Bldg., 1-10, 1 Chome, Ueno, Taito-ku, TOKYO, 110-8534 JAPAN Low-Voltage Single-Chip Microcontrollers with On- Chip PLL and LCD Driver Circuits LC72341G/W, LC72342G/W, LC72343G/W Ordering number : EN*5799
- IF counter — HCTR input pin; 0.4 to 12 MHz
- Voltage detection circuit (VSENSE) — Detects the VDD voltage and sets a flag
- External reset pin — Restarts execution from location 0 when the CPU and PLL circuits are operating
- Power on reset circuit — Starts execution from location 0 at power on.
- Universal counter — 20 bits
- Beep tones — 3.1 and 1.5 kHz
- Halt mode: The microcontroller operating clock is stopped
- Backup mode: The crystal oscillator is stopped
- An amplifier for a low-pass filter is built in
- CPU and PLL circuit operating voltage — 1.8 to 3.6 V
- RAM data retention voltage — 1.0 V or higher
- Packages — QIP-64G : 0.8-mm lead pitch — SQFP-64 : 0.5-mm lead pitch Pin Assignment No. 5799-2/12 LC72341G/W, 72342G/W, 72343G/W * PE0 and PE1 are open-drain outputs. * The I/O ports can be set to input or output individually. * The functions of the segment/general-purpose ports can be set in bit units.
No. 5799-3/12 LC72341G/W, 72342G/W, 72343G/W Divider Programmable divider PLL data latch PLL control count end Reference divider Phase- detector System clock generator Time base control Pon reset Bus driver Data latch/ Bus driver Data latch/ Bus driver Address decoder Program counter Stack Timer 0 Judge Beep tone Latch A Latch B JMP CAL Return interrupt reset Doubler circuit Common driver Instruction decoder Bus control Address decoder LCD Port driver Lach Bank Skip Bank Data latch/ Bus driver Data latch/ Bus driver Data latch/ Bus driver Data latch/ Bus driver Data latch/ Bus driver Universal counter (20 bits) Data bus
No. 5799-4/12 LC72341G/W, 72342G/W, 72343G/W Parameter Symbol Conditions Ratings Unit Maximum supply voltage VDD max –0.3 to +4.0 V Input voltage VIN All input pins –0.3 to VDD + 0.3 V Output voltage VOUT 1 AOUT, PE –0.3 to +15 V VOUT 2 All output pins except VOUT 1 –0.3 to VDD to + 0.3 V IOUT 1 PC, PD, PG, PH, EO 0 to 3 mA IOUT 2 PB 0 to 1 mA Output current IOUT 3 AOUT, PE 0 to 2 mA IOUT 4 S1 to S20 300 µA IOUT 5 COM1 to COM4 3 mA Allowable power dissipation Pd max Ta = –20 to +70°C 300 mW Operating temperature Topr –20 to +70 °C Storage temperature Tstg –45 to +125 °C Specifications Absolute Maximum Ratings at Ta = 25°C, VSS = 0 V Parameter Symbol Conditions Ratings Unit min typ max Supply voltage VDD 1 CPU and PLL operating voltage 1.8 3.0 3.6 V VDD 2 Memory retention voltage 1.0 V VIH1 VIH2, VIH3, AMIN, FMIN, 0.7 VDD VDD V Input high-level voltage Input ports except HCTR and XIN. VIH2 RES 0.8 VDD VDD V VIH3 Port PF 0.6 VDD VDD V VIL1 VIL2, VIL3, AMIN, FMIN, 0 0.3 VDD V Input low-level voltage Input ports except HCTR and XIN. VIL2 RES 0 0.2 VDD V VIL3 Port PF 0 0.2 VDD V VIN1 XIN 0.5 0.6 Vrms Input amplitude VIN2 FMIN, AMIN 0.035 0.35 Vrms VIN3 FMIN 0.05 0.35 Vrms VIN4 HCTR 0.035 0.35 Vrms Input voltage range VIN5 ADI0, ADI1 0 VDD V FIN1 XIN : CI ≤ 35 kΩ 70 75 80 kHz FIN2 FMIN : VIN2, VDD 1 10 130 MHz Input frequency FIN3 FMIN : VIN3, VDD 1 130 250 MHz FIN4 AMIN (H) : VIN2, VDD 1 2 40 MHz FIN5 AMIN (L) : VIN2, VDD 1 0.5 10 MHz FIN6 HCTR : VIN4, VDD 1 0.4 12 MHz Allowable Operating Ranges at Ta = –20 to 70°C, VDD = 1.8 to 3.6 V Parameter Symbol Conditions Ratings Unit min typ max IIH1 XIN : VI= VDD = 3.0 V 3 µA Input high-level current IIH2 FMIN, AMIN, HCTR : VI= VDD = 3.0 V 3 8 20 µA IIH3 Ports PA/PF (with no pull-down resistor), PC, 3 µAPD, PG, and PH. RES: VI= VDD = 3.0 V IIL1 XIN : VI= VDD = VSS –3 µA Input low-level current IIL2 FMIN, AMIN, HCTR : VI= VDD = VSS –3 –8 –20 µA IIL3 Ports PA/PF (with no pull-down resistor), PC, –3 µAPD, PG, and PH. RES: VI= VDD = VSS Input floating voltage VIF PA/PF with pull-down resistors used 0.05 VDD V Pull-down resistance R PD 1 PA/PF with pull-down resistors used, VDD = 3 V 75 100 200 kΩ Hysteresis VH RES 0.1 VDD 0.2 VDD V Voltage doubler reference voltage DBR4 Ta = 25°C, referenced to VDD , C3 = 0.47 µF 1.3 1.5 1.7 V Electrical Characteristics at Ta = –20 to 70°C, VDD = 1.8 to 3.6 V (in the allowable operating ranges)
No. 5799-5/12 LC72341G/W, 72342G/W, 72343G/W Note: C1, C2, and C3 must be provided even if no LCD is used. Note: 1. Capacitors C1, C2, and C3 must be connected to the DBR pins. Note: The halt mode current is measured with the CPU executing 20 instructions every 125 ms. Parameter Symbol Conditions Ratings Unit min typ max VOH 1 PB : IO = –1 mA VDD – 0.7 VDD V VOH 2 PC, PD, PG, PH : IO = –1 mA VDD – 0.3 VDD V VOH 3 EO : IO = –500 µA VDD – 0.3 VDD V Output high-level voltage VOH 4 XOUT : IO = –200 µA VDD – 0.3 VDD V VOH 5 S1 to S20 : IO = –20 µA: *1 2.0 V VOH 6 COM1, COM2, COM3, COM4: 2.0 VIO = –100 µA : *1 VOL 1 PB : IO = –50 µA 0.7 VDD V VOL 2 PC, PD, PE, PG, PH : IO = –1 mA 0.3 VDD V VOL 3 EO : IO = –500 µA 0.3 VDD V VOL 4 XOUT : IO = –200 µA 0.3 VDD V Output low-level voltage VOL 5 S1 to S20 : IO = –20 µA: *1 1.0 V VOL 6 COM1, COM2, COM3, COM4 : 1.0 VIO = –100 µA : *1 VOL 7 PE : IO = 5 mA 1.0 V VOL 8 AOUT : IO = 1 mA, AIN = 1.3 V, VDD = 3 V 0.5 V Output off leakage current IOFF 1 Ports PB, PC, PD, PG, PH, and EO –3 +3 µA IOFF 2 Ports AOUT and PE –100 +100 nA A/D conversion error ADI0, ADI1, VDD = VDD 1 –1/2 +1/2 LSB Electrical Characteristics at Ta = –30 to 70°C, VDD = 1.8 to 3.6 V (in the allowable operating ranges) Parameter Symbol Conditions Ratings Unit min typ max Falling supply voltage detection voltageVSENSE 1 Ta = 25°C *2 1.6 1.75 1.9 V Rising supply voltage detection voltage VSENSE 2 Ta = 25°C *2 VSENSE1 +0.1 VSENSE1 +0.2 V Pull-down resistance R PD 2 TEST1, TEST2 10 kΩ IDD 1 VDD 1 : FIN2 130 MHz, Ta = 25°C 10 mA IDD 2 VDD 2: In halt mode at Ta = 25°C, *3 0.1 mA Supply current IDD 3 VDD = 3.6 V, with the oscillator stopped, 1 µAat Ta = 25°C, *4 IDD 4 VDD = 1.8 V, with the oscillator stopped, 0.5 µAat Ta = 25°C, *4 Electrical Characteristics at Ta = –20 to 70°C, VDD = 1.8 to 3.6 V (in the allowable operating ranges)
No. 5799-6/12 LC72341G/W, 72342G/W, 72343G/W When the Supply Voltage is Falling When the Supply Voltage is Rising Note: 3. Halt Mode Current Test Circuit Note: 4. Backup Mode Current Test Circuit All ports other than those specified in the figure must be left open. Set ports PC and PD to output. Select segments S13 to S20. All ports other than those specified in the figure must be left open. Set ports PC and PD to output. Select segments S13 to S20. Note: 2.The V SENSE voltage When the VDD voltage falls, the VSENSE flag is set at the point that voltage falls under 1.75 V (typical). The TST instruction can be used to read the value of the VSENSE flag. Applications can easily determine when the batteries are exhausted by monitoring this flag. After VSENSE is set when the supply voltage falls, it will not be reset if the supply voltage rises by less than 0.1 V, because the voltages detected by the VSENSE circuit differ when the supply voltage is falling and when the supply voltage is rising.
No. 5799-7/12 LC72341G/W, 72342G/W, 72343G/W Pin Functions Pin No. Pin I/O Function I/O circuit XIN XOUT I O Connections for a 75-kHz crystal oscillator element TEST1 TEST2 I I IC test pins. These pins must be tied to ground. Input with built-in pull- down resistor PA0 PA1 PA2 PA3 I Special-purpose key return signal input ports designed with a low threshold voltage. When used in conjunction with port PB to form a key matrix, up to 3 simultaneous key presses can be detected. The four pull-down resistors are selected together in a single operation using the IOS instruction (PWn = 2, b1); they cannot be specified individually. Input is disabled in backup mode, and the pull-down resistors are disabled after a reset. Unbalanced CMOS push-pull circuit PB3 PB2 PB1 PB0 O Special-purpose key source signal output ports. Since unbalanced CMOS output transistor circuits are used, diodes to prevent short-circuits when multiple keys are pressed are not required. These ports go to the output high-impedance state in backup mode. These ports go to the output high-impedance state after a reset and remain in that state until an output instruction (OUT, SPB, or RPB) is executed. Care is required in designing the output loads if these pins are used for functions other than key source outputs. CMOS push-pull circuit14 PC0 PC1 PC2 PC3 INT/PD0 PD1 PD2 PD3 I/O General-purpose I/O ports*. PD0 can be used as an external interrupt port. Input or output mode can be set in a bit unit using the IOS instruction (Pwn = 4, 5). A value of 0 specifies input, and 1 specifies output. These ports go to the input disabled high- impedance state in backup mode. They are set to function as general-purpose input ports after a reset. N-channel open drain BEEP/PE0 PE1 General-purpose output ports with shared beep tone output function (PE0 only). The BEEP instruction is used to switch PE0 between the general-purpose output port and beep tone output functions. To use PE0 as a general-purpose output port, execute a BEEP instruction with b2 set to 0. Set b2 to 1 to use PE0 as the beep tone output port. The b0 and b1 bits are used to select the beep tone frequency. There are two beep tone frequencies supported. When PE0 is set up as the beep tone output, executing an output instruction to PN0 only changes the state of the internal output latch, it does not affect the beep tone output in any way. Only the PE0 pin can be switched between the general-purpose output function and the beep tone output function; the PE1 pin only functions as a general- purpose output. These pins go to the high-impedance state in backup mode and remain in that state until an output instruction or a BEEP instruction is executed. Since these ports are open-drain ports, resistors must be inserted between these pins and V DD . These ports are set to their general-purpose output port function after a reset. CMOS input/analog input PF0/ADI0 PF1/ADI1 PF2 I General-purpose input and A/D converter input shared function ports (PF2 is a general- purpose input only port). The IOS instruction (Pwn = FH) is used to switch between the general-purpose input and A/D converter port functions. The general-purpose input and A/D converter port functions can be switched in a bit unit, with 0 specifying general- purpose input, and 1 specifying the A/D converter input function. To select the A/D converter function, set up the A/D converter pin with an IOS instruction with Pwn set to 1. The A/D converter is started with the UCC instruction (b3 = 1, b2 = 1). The ADCE flag is set when the conversion completes. The INR instruction is used to read in the data. If an input instruction is executed for one of these pins which is set up for analog input, the read in data will be at the low level since CMOS input is disabled. In backup mode these pins go to the input disabled high-impedance state. These ports are set to their general-purpose input port function after a reset. The A/D converter is a 5-bit successive approximation type converter, and features a conversion time of 1.28 ms. Note that the full-scale A/D converter voltage (1FH) is (63 · 96)V DD . Continued on next page. Note: * Applications must establish the output data in advance with an OUT, SPB, or RPB instruction and then set the pin to output mode with an IOS instruction when using the I/O switchable ports as output pins.
No. 5799-8/12 LC72341G/W, 72342G/W, 72343G/W Continued from preceding page. Pin No. Pin I/O Function I/O circuit PG3/S20 PG2/S19 PG1/S18 PG0/S17 PH3/S16 PH2/S15 PH1/S14 PH0/S13 I/O LCD driver segment output and general-purpose I/O shared function ports. The IOS instruction is used for switching both between the segment output and general-purpose I/O functions and between input and output for the general-purpose I/O port function.*
- When used as segment output ports The general-purpose I/O port function is selected with the IOS instruction (Pwn = 8). b0 = S17 to 20/PG0 to 3 (0: Segment output, 1: PG0 to 3) The general-purpose I/O port function is selected with the IOS instruction (Pwn = 9). b0 = S13 to 16/PH0 to 3 (0: Segment output, 1: PH0 to 3)
- When used as general-purpose I/O ports The IOS instruction (Pwn = 6,7) is used to select input or output. Note that the mode can be set in a bit unit. b0 = PG0 b0 = PH0 b1 = PG1 [0: Input, 1: Output] b1 = PH1 [0: Input, 1: Output] b2 = PG2 b2 = PH2 b3 = PG3 b3 = PH3 In backup mode, these pins go to the input disabled, high-impedance state if set up as general-purpose outputs, and are fixed at the low level if set up as segment outputs. These ports are set up as segment outputs after a reset. Although the general-purpose port/LCD port setting is a mask option, the IOS instruction must be used as described above to set up the port function. CMOS push-pull circuit S16 to S1 33 to 44 O LCD driver segment output pins. A 1/4-duty 1/2-bias drive technique is used. The frame frequency is 75 Hz. In backup mode, the outputs are fixed at the low level. After a reset, the outputs are fixed at the low level. CMOS push-pull circuit COM4 COM3 COM2 COM1 O LCD driver common output pins. A 1/4-duty 1/2-bias drive technique is used. The frame frequency is 75 Hz. In backup mode, the outputs are fixed at the low level. After a reset, the outputs are fixed at the low level. DBR4 DBR3 DBR2 DBR1 LCD power supply stepped-up voltage pins.
53 RES I
System reset input. In CPU operating mode or halt mode, applications must apply a low level for at least one full machine cycle to reset the system and restart execution with the PC set to location 0. This pin is connected in parallel with the internal power on reset circuit.
70 HCTR I
Universal counter dedicated input port.
- When taking frequency measurements, select the HCTR frequency measurement mode and measurement time with the UCS instruction (b3 = 0, b2 = 0) and start the count with a UCCinstruction. The CNTEND flag is set when the count completes. Since this circuit functions as an AC amplifier, always use capacitor coupling with the input signal. Input is disabled in backup mode, in halt mode, after a reset, and in PLL stop mode. UCS b3, b2 Input pin Measurement mode 0 0 HCTR Frequency measurement 0 1 — 1 0 — 1 1 — UCS b1, b0 Measurement time 0 0 1 ms 0 1 4 ms 1 0 8 ms 1 1 32 ms Continued on next page. CMOS input/analog input Note: * Applications must establish the output data in advance with an OUT, SPB, or RPB instruction and then set the pin to output mode with an IOS instruction when using the I/O switchable ports as output pins.
No. 5799-9/12 LC72341G/W, 72342G/W, 72343G/W Pin No. Pin I/O Function I/O circuit
56 FMIN I
FM VCO (local oscillator) input. This pin is selected with the PLL instruction CW1. The input must be capacitor coupled. Input is disabled in backup mode, in halt mode, after a reset, and in PLL stop mode.
57 AMIN I
AM VCO (local oscillator) input. This pin and the bandwidth are selected with the PLL instruction CW1. The input must be capacitor coupled. Input is disabled in backup mode, in halt mode, after a reset, and in PLL stop mode.
59 E0 O
The main charge pump output. When the local oscillator frequency divided by N is higher than the reference frequency a high level is output, when lower, a low level is output, and the pin is set to the high-impedance state when the frequencies match. Output goes to the high-impedance state in backup mode, in halt mode, after a reset, and in PLL stop mode. AIN AOUT AGND O Transistor used for the low-pass filter amplifier. Connect AGND to ground. V SS VSS VDD Power supply pin. This pin must be connected to ground. Power supply pin. This pin must be connected to ground. Power supply pin. This pin must be connected to V DD . Continued from preceding page. CW1 b1, b0 Bandwidth 1 0 2 to 40 MHz (SW) 1 1 0.5 to 10 MHz (MW, LW) CMOS amplifier input CMOS amplifier input Push-pull CMOS output Handling of Unused Pins Pin No. Pin I/O type Pin handling 3 to 6 PA port I Connect to VDD or VSS . May be left open if the pull-up resistor is selected with the IOS instruction. 7 to 10 PB port O Open 11 to 14 PC port I/O Connect to VDD or VSS when input is selected. Leave open if output is selected. 15 to 18 PD port I/O Connect to VDD or VSS when input is selected. Leave open if output is selected. 19, 20 PE port O Open 21 to 23 PF port I Connect to VDD or VSS . The PF2 pin only may be left open if the pull-up resistor is selected with the IOS instruction. 25 to 28PG/S ports I/O/S Connect to VDD or VSS when input is selected. Leave open if output or LCD operation is selected. 29 to 32PH/S ports I/O/S Connect to VDD or VSS when input is selected. Leave open if output or LCD operation is selected. 33 to 41 S port O Open 45 to 48 COM O Open 49 DBR1 — Connect to DBR2 through a capacitor. 50 DBR2 — Connect to DBR1 through a capacitor. 51 DBR3 — Connect to VSS through a capacitor. 52 DBR4 — Connect to VSS through a capacitor.
53 RES I VDD
54 HCTR I VSS Leave open if FMIN is used.
56 FMIN I VSS
57 AMIN I VSS
59 EO O Open
60 AIN I VSS
61 AOUT O Open
63 TEST1 I Connect to VSS or leave open. Connection to VSS is preferable. 2 TEST2 I Connect to VSS or leave open. Connection to VSS is preferable.
No. 5799-10/12 LC72341G/W, 72342G/W, 72343G/W Mask Options Development Environment and Tools
- The LC72P341 is available as a OTP version.
- The LC72EV340 is available as an evaluation chip.
- A total debugging system is formed by the combination of the TB-72EV32 evaluation chip board, the RE32 multi- function emulator, and a personal computer for system control. Port Selection
1 PG3/S20 General-purpose portLCD port
2 PG2/S19 General-purpose portLCD port
3 PG1/S18 General-purpose portLCD port
4 PG0/S17 General-purpose portLCD port
5 PH3/S16 General-purpose portLCD port
6 PH2/S15 General-purpose portLCD port
7 PH1/S14 General-purpose portLCD port
8 PH0/S13 General-purpose portLCD port
No. 5799-11/12 LC72341G/W, 72342G/W, 72343G/W Instruction Set Instruction Mnemonic Opcode Machine code Operationgroup 1st 2nd 15 12 11 8 7 4 3 0 AD r M 0100 00 DH DL r r ‹ (r) + (M) ADS r M 0100 01 DH DL r r ‹ (r) + (M), skip if carry AC r M 0100 10 DH DL r r ‹ (r) + (M) + C ACS r M 0100 11 DH DL r r ‹ (r) + (M) + C, skip if carry AI M I 0101 00 DH DL I M ‹ (M) + I AIS M I 0101 01 DH DL I M ‹ (M) + I, skip if carry AIC M I 0101 10 DH DL I M ‹ (M) + I + C AICS M I 0101 11 DH DL I M ‹ (M) + I + C, skip if carry SU r M 0110 00 DH DL r r ‹ (r) – (M) SUS r M 0110 01 DH DL r r ‹ (r) – (M), skip if borrow SB r M 0110 10 DH DL r r ‹ (r) – (M) – b SBS r M 0110 11 DH DL r r ‹ (r) – (M) – b, skip if borrow SI M I 0111 00 DH DL I M ‹ (M) – I SIS M I 0111 01 DH DL I M ‹ (M) – I, skip if borrow SIB M I 0111 10 DH DL I M ‹ (M) – I – b SIBS M I 0111 11 DH DL I M ‹ (M) – I – b, skip if borrow SEQ r M 0001 00 DH DL r (r) ‹ (M), skip if zero SEQI M I 0001 10 DH DL I (M) — I, skip if zero SNEI M I 0000 01 DH DL I (M) — I, skip if not zero SGE r M 0001 10 DH DL r (r) — (M), skip if not borrow SGEI M I 0001 11 DH DL I (M) — I, skip if not borrow SLEI M I 0000 11 DH DL I (M) — I, skip if borrow ANDI M I 0010 01 DH DL I M ‹ (M) AND I ORI M I 0010 11 DH DL I M ‹ (M) OR I EXLI M I 0011 10 DH DL I M ‹ (M) XOR I AND r M 0010 00 DH DL r r ‹ (r) AND M OR r M 0010 10 DH DL r r ‹ (r) OR M EXL r M 0011 00 DH DL r r ‹ (r) XOR M SHR r 0000 00 00 1110 r Shift r right with carry LD r M 1101 00 DH DL r r ‹ (M) ST M r 1101 01 DH DL r M ‹ (r) MVRD r M 1101 10 DH DL r [DH, rn] ‹ (M) MVRS M r 1101 11 DH DL r M ‹ [DH, rn] MVSR M1 M2 1110 00 DH DL1 DL2 [DH, DL1] ‹ [DH, DL2] MVI M I 1110 01 DH DL I M ‹ I TMT M N 1111 00 DH DL N if M (N) = all 1, then skip TMF M N 1111 01 DH DL N if M (N) = all 0, then skip JMP ADDR 100 ADDR (13 bits) PC ‹ ADDR CAL ADDR 101 ADDR (13 bits) PC ‹ ADDR, Stack ‹ (PC) + 1 RT 0000 0000 1000 PC ‹ Stack RTI 0000 0000 1001 PC ‹ Stack, BANK ‹ Stak, carry ‹ stack SS I N 1111 1111 000 I N (Status reg. I)N ‹ 1 RS I N 1111 1111 001 I N (Status reg. I)N ‹ 0 TST I N 1111 1111 01 I N if (Status reg. I)N = all 1, then skip TSF I N 1111 1111 10 I N if (Status reg. I)N = all 0, then skip TUL N 0000 0000 1101 N if Unlock F/F (N) = all 0, then skip Addition instructionsSubtraction instructionsComparison instructions Logic and arithmetic instructionsTransfer instructions Jump and subroutine call instructions Status register test and flip-flop control instructions Memory test instructions Continued on next page.
PS No. 5799-12/12 LC72341G, W, LC72342G, W, LC72343G, W This catalog provides information as of March, 1998. Specifications and information herein are subject to change without notice. n 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. n 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. n 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. Instruction Mnemonic Opcode Machine code Operationgroup 1st 2nd 15 12 11 8 7 4 3 0 PLL M r 1111 10 DH DL r PLL reg. ‹ PLL data TMS I 0000 0000 1100 I Timer reg. ‹ I UCS I 0000 0000 0001 I UCS reg. ‹ I UCC I 0000 0000 0010 I UCC reg. ‹ I BEEP I 0000 0000 0110 I BEEP reg. ‹ I DZC I 0000 0000 1011 I DZC reg. ‹ I BANK I 0000 0000 0111 I BANK ‹ I IOS Pn I 1111 1110 Pn I IOS reg. Pn ‹ I INR M Rn 0011 10 DH DL r M ‹ (Rn reg.) IN M Pn 1110 10 DH DL Pn M ‹ (Pn) OUT M Ph 1110 11 DH DL Pn Pn ‹ M SPB Pn N 0000 0010 Pn N (Pn) N ‹ 1 RPB Pn N 0000 0011 Pn N (Pn) N ‹ 0 TPT Pn N 1111 1100 Pn N if (Pn) N = all 1, then skip TPF Pn N 1111 1101 Pn N if (Pn) N = all 0, then skip LCDA M I 1100 00 DH DL DIGIT LCD (DIGIT) ‹ M LCDB M I 1100 01 DH DL DIGIT LCPA M I 1100 10 DH DL DIGIT LCD (DIGIT) ‹ Logic LCPB M I 1100 11 DH DL DIGIT Array ‹ M HALT I 0000 0000 0100 I HALT reg. ‹ I, then CPU Stop CKSTP 0000 0000 0101 Stop Xtal OSC NOP 0000 0000 0000 No operation Peripheral hardware control instructionsI/O instructionsLCD control instructions Other instructions Continued from preceding page.