M320D MOSDESIGN | Alldatasheet
Document overview
- Manufacturer or author: Provided By alldatasheet.com(free datasheet download site)
- PDF pages: 5
Technical content
一華半導體股份有限公司 MOSDESIGN SEMICONDUCTOR CORP. GENERAL DESCRIPTION The M320D learning decoder is CMOS LSI for remote control system application. It decoder the encoded waveform generated by M320EA/M320EB and drives data output pin(s) according to the code bits decoded from the received waveform. Up to 1,048,576 address codes that Interface with EEPROM (93LC46) can be stored 32 sets of customer codes at maximum.
FEATURES
‧ Operating voltage 2.4V~5.5V. ‧ Pairs with M320EA/M320EB OTP encoders. ‧ Maximum 1,048,576 address and data code. ‧ 4 Data active: D0, D1, D2, D3. ‧ VT goes high during valid receiving. ‧ Selectable latch or momentary type of data output. ‧ An external oscillator resistor and capacitor. ‧ Interface with EEPROM (93LC46) can be stored 32 sets of customer codes at maximum. ‧ Learning capability and the LED current for learning status indication.
APPLICATIONS
‧ Burglar alarm system, car door controllers, car alarm system, home/office security system…etc. BLOCK DIAGRAM OscillatorOSCI DATA VT Freq Divider Logic unit Control Output Driver DIN D3 LED Data 93LC46 Detector Interface Power on Reset LRN RES CS SK LM
一華半導體股份有限公司 MOSDESIGN SEMICONDUCTOR CORP. A B S O L U T E M A X I M U M R A T I N G (TA=25℃) Parameter Rating Unit Supply V oltage -0.3 to 6.0 V Input V oltage -0.3~V DD +0.3 V Operating Temperature -20 to 75 ℃ Storage Temperature -40 to 125 ℃
ELECTRICAL CHARACTERISTICS
Characteristics Sym. Min. Typ. Max. Unit Conditions Operating V oltage V DD 2.4 4.5 5.5 V Operating Current I OP ─ 0.46 1 mA No load Output Drive Current I O ─ 23.5 ─ mA @V DS=1.2V VIH VDD –0.3 V DD VDD Input V oltage VIL VSS VSS VSS +0.3 V Oscillator Frequency Fosc ─ 1.1 ─ MHz External±10%,Rosc=22KΩ,Cosc=20PF PIN DESCRIPTION No. Pin name. I/O Description
1 SK O Serial clock output for EEPROM (connected to SK pin of EEPROM)
2D A T A I / O Input data from EEPROM or output the received data to the EEPROM. (Connected to DO and DI) pin of EEPROM 3 RES I Input for resetting the chip, active low.
4 VSS Negative power supply (GND)
5~8 D0~D3 O Output data pin, active high
9 VT O Valid receiving indication, active high
10 LED O The LED current for learning status indication. 11 LRN I To set the chip into the learning mode, or to erase EEPROM data, active low. 12 LM I When the LH pin disconnected, the data output is of the latch type. When the LH pin connected to VSS, the data output is of the momentary type. 13 VDD Positive power supply.
14 OSCI I Oscillator input pin,
It connects to an external oscillator resistor and capacitor.
15 DIN I Serial information input pin from an RF or an IR receiver
16 CS O EEPROM chip selection signal output (connected to CS pin of EEPROM)
一華半導體股份有限公司 MOSDESIGN SEMICONDUCTOR CORP. FUNCTIONAL DESCRIPTION The M320D is a lining decoder for remote control system application. It can interface with EEPROM(93LC46),and store 32 sets of customer codes at maximum.M320D received waveform from its DIN pin and then decodes it. It contains 20 Address Bit, 4 Data Bit, followed by a Sync Bit. CODE WORD The transmission word of the M320EA/M320EB that composes of 20 Address Bit, 4 Data Bit, Sync Bit. V ALID TRANSMISSION When M320D receives transmission code words, it first checks whether this is a valid transmission. A valid transmission must be a complete code word, and the address bits must match the address setting in the EEPROM. After two consecutive valid transmissions, M320D drives data pins (D0~D3) according to the data bits received, and raises VT to high voltage. The timing is show in the following diagram.
3 WORDS
(D0 ~ D3) MOMENTARY (D0 ~ D3)
2 WORDS 2 WORDS
DEFINITE:1CK= 8 OSC CLKS WIDTH “1” “0” Address Code Key Code M320EA-2 SYNC 96CK 320CK A0~A19 D0 D1 D2 D3 64CK M320EA-1 M320EB 1 1 32CK Address Code Key CodeSYNC 128CK 4CK 320CK A0~A19 D0 D1 D2 D3 64CK
一華半導體股份有限公司 MOSDESIGN SEMICONDUCTOR CORP. LATCH & MOMENTARY The D0~D3 and VT pins are all at low level when power is turned on. Data output type selection (1) LATCH Type(LM=OPEN):The data outputs follow the encoder during valid receiving, and are then latched in this state until the next valid receiving occurs. (2) MOMENTARY Type (LM=VSS):The data follow the encoder only during valid receiving. LEARNING MODE The M320D can save a maximum of 32 sets of customer codes in the EEPROM, after the EEPROM has stored 32 sets of customer codes in it , the decoder still receiving more (33th sets) will overriding 1st set of customer codes in the EEPROM, If any customer code exist, the learning more ignored. ‧ Operation: 1. LRN pin is active low over 0.5 seconds, the LED pin output a high level (LED on); the M320D enters the learning mode. 2. During the 8 seconds, if the DI pin has received proper formatted data no mistakes, the received customer code is stored in the EEPROM and LED flashing 2 times. After the LED off and quits learning mode and goes to the remote control mode. 3. If none of the customer code received within 8 seconds, After the LED off and quits learning mode, it goes to the remote control mode. ‧ EEPROM erase function: 1. When LRN pin is active low over 0.5 seconds,the LED pin is active high (LED ON), enters the learning mode. 2. During the 4 seconds, if continues pressing LRN pin active low 4 times. Enters the clear mode after LED flashing 4 times, indicate the data in the EEPROM are all erased completely. 3. The LED off and quits clear mode, it goes to the remote control mode. ‧ Learning Mode and LED indication function table Action Operation LED indication Enters Learning Mode Learning Key > 0.5sec LED on Learning success LED flashing 2 times The data in the EEPROM are all erased. Enters Learning mode. During the 4 seconds pressing the LRN key 4 times, after the data in the EEPROM are all erased. LED flashing 4 times End Learning Mode LED off
一華半導體股份有限公司 MOSDESIGN SEMICONDUCTOR CORP. RECOMMEND OSCILLATOR PARAMETERS M320D oscillator is constructed by external Rosc 和 Cosc Rosc (KΩ) Cosc (PF) M320D 15 20 1.55 MHz 20 20 1.24 MHz 22 20 1.11 MHz 27 20 924.8 KHz 36 20 708.4 KHz 43 20 595.2 KHz Suggested oscillator resistor of M320EA/M320D: M320EA 390K Ω(~50KHz) <==> M320D 22K Ω/ 20PF (~1.0MHz) Suggested oscillator resistor of M320EB/M320D: M320EB 300K Ω(~80KHz) <==> M320D 22K Ω/ 20PF (~1.0MHz) APPLICATION DIAGRAM *All specs and applications shown above subject to change without prior notice. ( 以上電路及規格僅供參考,本公司得逕行修正 ) DATA OUTPUT M320EA/B (D0~D3) M320D (D0~D3) 0 (VSS) 0 (VSS) 1 (VDD) 1 (VDD) POWER ON 0 (VSS) M320DP 11 6 SK DATA VSS CS DIN OSCI VDD LM LED VT 1 8 93LC46 CS DI DO VDD VSS SK RES LRN Rosc Cosc IR / RF ORG N.C 10K 12V M320EA/B OSC VDD VSS DO IR / RF Rosc M320EA/B 12V OSC VDD VSS DO IR / RF Rosc