NJU3505 n TERMINAL DESCRIPTION 1 No. NJU NJU SYMBOL INPUT/OUTPUT FUNCTIONS 3505F 3505L 44 1 2 5 6 7 3 4 X X 5 6 8 9 7 10 8 11 9 10 12 13 11 12 14 15 Note ) INPUT/OUTPUT 3-bit Input / Output PORTF. INPUT/OUTPUT Selects a terminal circuit for each port from follows by the INPUT/OUTPUT mask option. ·C-MOS Schmitt Trigger Input Terminal with Pull-up Resistance (ISP) ·C-MOS Schmitt Trigger Input Terminal (IS) ·C-MOS Output Terminal (OC) PG0 INPUT/OUTPUT 2-bit Input / Output PORTG. PG1 INPUT/OUTPUT Selects a terminal circuit for each port from follows by the mask option. ·C-MOS Schmitt Trigger Input Terminal with Pull-up Resistance (ISP) ·C-MOS Schmitt Trigger Input Terminal (IS) ·C-MOS Output Terminal (OC) PH0 INPUT/OUTPUT 2-bit Input / Output PORTH. PH1 INPUT/OUTPUT Selects a terminal circuit for each port from follows by the mask option. ·C-MOS Schmitt Trigger Input Terminal with Pull-up Resistance (ISP) ·C-MOS Schmitt Trigger Input Terminal (IS) ·C-MOS Output Terminal (OC) When the ports are selected as the input terminal, PH0 operates also as RESTART signal input terminal to return from STANDBY mode, and PH1 operates also as the Edge Detector Terminal. RESET Terminal. INPUT RESET When the low level input-signal, the system is initialized. Maker Testing Terminal with Pull-down Resistance TEST INPUT The terminal is recommended to connect to GND. Internal Oscillator Terminals. OSC1 INPUT Connects a device selected from the ceramic or the crystal OSC2 OUTPUT resonator, or the resistor, to these terminals for the internal oscillator. In the external clock operation, OSC1 is the external clock input terminal and OSC2 is normally open terminal. VSS Power Source ( 0V ) – SS AV Analog Block Power Source ( 0V ) – Connects to VSS terminal when A/D converter is not used. INPUT/OUTPUT : Input or Output is selected by the mask option. INOUT : Input or Output is changed by the program. X : No terminals in the NJU3505L(SDIP package). PF0 PF1 PF2 NJU3505 n TERMINAL DESCRIPTION 2 No. NJU NJU SYMBOL INPUT/OUTPUT F U N C T I O N INPUT INPUT INPUT INPUT 4-bit Input PORTI. Selects a function of either of 1) or 2) for PORTI by the mask option. 1) 4-bit Analog Input to A/D Converter. (AD) 2) 4-bit Input Terminals as PORTI. Selects a terminal circuit for each port from follows by the mask option. ·C-MOS Input Terminal with Pull-up Resistance (ICP) ·C-MOS Input Terminal (IC) Analog Block Power source Connect to VDD terminal when A/D converter is not used. 2-bit Input PORTJ. Selects a function of either of 1) or 2) for PORTJ by the mask option. 1) Input terminal for A/D Converter. Reference Voltage Input Terminal : VREF (AD) External Clock Input Terminal : ADCK (AD) 2) 2-bit Input Terminals as PORTJ. Selects a terminal circuit for each port from follows by the mask option. ·C-MOS Schmitt Trigger Input Terminal with Pull-up Resistance (ISP) ·C-MOS Schmitt Trigger Input Terminal (IS) 2-bit Input PORTK. Selects a function of either of 1) or 2) for PORTK by the mask option. 1) External Interrupt Input Terminal with Pull up resistance :EXTI (R/F) External Clock Input Terminal with Pull up resistance for Timer2 :CNTI (IIP,II) 2) 2-bit Input Terminals as PORTK. Selects a terminal circuit for each port from follows by the mask option. ·C-MOS Schmitt Trigger Input Terminal with Pull-up Resistance (ISP) ·C-MOS Schmitt Trigger Input Terminal (IS) 3505F 3505L 13 14 15 16 16 17 18 19 18 21 AVDD – 17 19 20 22 VREF / PJ0 ADCK / PJ1 INPUT INPUT 20 21 23 24 EXTI / PK0 CNTI / PK1 INPUT INPUT 22 25 23 26 Note ) AIN0 AIN1 AIN2 AIN3 / / / / PI0 PI1 PI2 PI3 2-bit Input / Output PORTL. / PL0 SDO :OUTPUT Selects a function of either of 1) or 2) for PORTL by the PL0 :OUTPUT SDI(O) / PL1 SDI(O) :INOUT mask option. 1) Serial Interface Function PL1 : Serial Data Output Terminal : SDO (SO) INPUT/OUTPUT Serial Data Input-Output Terminal with Pull-up Resistance : SDI(O) (SDP) 2) 2-bit Input / Output Terminals as PORTL. Selects a terminal circuit for each port from follows by the mask option. ·C-MOS Input Terminal with Pull-up Resistance (ICP):PL1 ·C-MOS Input Terminal (IC) : PL1 ·C-MOS Output Terminal (OC) : PL0,PL1 INPUT/OUTPUT : Input or Output is selected by the mask option. INOUT : Input or Output is changed by the program. SDO NJU3505 n TERMINAL DESCRIPTION 3 No. NJU NJU SYMBOL INPUT/OUTPUT FUNCTION 3505F 3505L 24 27 25 28 26 29 27 30 28 31 29 30 31 32 32 33 34 35 33 34 35 36 37 38 36 37 38 39 39 40 41 42 40 41 42 43 1 2 3 4 Note ) Selects a function of either of 1) or 2) by the mask option. SCK :INOUT 1) Serial Clock Input or Output Terminal with Pull-up CKOUT : Resistance. (SCP) OUTPUT 2) Clock Divided by Prescaler Output Terminal. Selects the dividing times of the clock in the prescaler by the mask option. 4-bit Programmable Input / Output PORTA. AIN4/PA0 PA0: INOUT Selects a function of either of 1) or 2) for PORTA by the AIN4: INPUT mask option. AIN5/PA1 PA1: INOUT 1) 4-bit Analog Input to A/D Converter. (AD) AIN5: INPUT 2) 4-bit Input / Output Terminals as PORTA. AIN6/PA2 PA2: INOUT These 4-bit terminals direction can be changed by the AIN6: INPUT program as 4-Input or 4-Output. AIN7/PA3 PA3: INOUT Use of Pull-up resistance for a terminal is in accordance AIN7: INPUT with the mask option. ·as Input : C-MOS Input Terminals (IOP) ·as Output: Nch-FET Open-Drain Output Terminals (IO) 4-bit Programmable Input / Output PORTB. PB0 INOUT These 4-bit terminals direction can be changed by the PB1 program as 4-Input or 4-Output. PB2 Use of Pull-up resistance for a terminal is in accordance PB3 with the mask option. ·as Input : C-MOS Input Terminals (IOP) ·as Output: Nch-FET Open-Drain Output Terminals (IO) VDD – Power Source (2.4V to 5.5V) PC0 INPUT/OUTPUT 2-bit Input / Output PORTC. Selects a terminal circuit for each port from follows by the PC1 mask option. ·C-MOS Input Terminal with Pull-up Resistance (ICP) ·C-MOS Input Terminal (IC) ·Nch-FET Open-Drain Output Terminal with Pull-up Resistance (ONP) ·Nch-FET Open-Drain Output Terminal (ON) PD0 INPUT/OUTPUT 4-bit Input / Output PORTD. Selects a terminal circuit for each port from follows by the PD1 mask option. PD2 ·C-MOS Input Terminal with Pull-up Resistance (ICP) PD3 ·C-MOS Input Terminal (IC) ·C-MOS Output Terminal (OC) PE0 INPUT/OUTPUT 4-bit Input / Output PORTE. Selects a terminal circuit for each port from follows by the PE1 mask option. PE2 ·C-MOS Input Terminal with Pull-up Resistance (ICP) PE3 ·C-MOS Input Terminal (IC) ·C-MOS Output Terminal (OC) INPUT/OUTPUT : Input or Output is selected by the mask option. INOUT : Input or Output is changed by the program. “IOP,IO,AD,ICP,ONP,ON,OC,ISP,IS,AD,R,F,IIP,II,SO,SCP” are symbols using on MASK OPTION GENERATOR(MOG). SCK / CKOUT NJU3505 !" ELECTRICAL CHARACTERISTICS DC CHARACTERISTICS 2-1 (VDD=2.4~3.6V, PARAMETER SYMBOL C O N D I T I O N S MIN VDD VDD Supply Voltage 2.4 IDD1 VDD Supply Current VDD=3V,fOSC=1MHz X’tal Oscillation In Reset IDD2 VDD VDD=3V,fOSC=1MHz Ceramic Oscillation In Reset IDD3 VDD VDD=3V,fOSC=1MHz CR Oscillation In Reset IDD4 VDD VDD=3V,fOSC=2MHz Operating (Except ADC) IDD5 VDD VDD=3V, STANDBY Mode IADD AVDD AVDD=VDD=3V,ADCK=225kHz AIN4/PA0~AIN7/PA3, VIH1 0.8VDD High-Level PB0~PB3, PC0, PC1, Input Voltage PD0~PD3, PE0~PE3, AIN0/PI0~AIN3/PI3, SDI(O)/PL1 PF0~PF2, VIH2 0.85VDD PG0, PG1, PH0, PH1, VREF/PJ0, ADCK/PJ1, EXTI/PK0, CNTI/PK1, RESET VIH3 VDD-0.3 OSC1 AIN4/PA0~AIN7/PA3, VIL1 Low-Level 0 PB0~PB3, PC0, PC1, Input Voltage PD0~PD3, PE0~PE3, AIN0/PI0~AIN3/PI3, SDI(O)/PL1 PF0~PF2, VIL2 0 PG0, PG1, PH0, PH1, VREF/PJ0, ADCK/PJ1, EXTI/PK0, CNTI/PK1, RESET VIL3 OSC1 0 *1 Input/output port is set as an Input terminal. *2 Input/output port is set as an Output terminal. *3 Excludes the current drawn though internal pull-up resistors. VSS=0V, Ta= -20~75°C) TYP MAX UNIT NOTE 3.6 V 0.3 0.5 mA *3 0.3 0.5 mA *3 0.4 0.6 mA *3 0.6 1.0 mA *3 2.0 µA *3 3.5 mA *3 VDD V *1 VDD V *1 VDD 0.2VDD V V *1 0.15VDD V *1 0.3 V 2.5 NJU3505 !" MASK OPTION The NJU3505 can set or select the following options by the mask option using the same mask of p rogram coding in ROM. ① INPUT OUTPUT Terminal Selection All of input-output terminals can select a type for each port from the following table1 to table2 by the mask option. [ CIRCUIT TYPE TABLE 1 ] TERMINAL TYPES AIN4 / PA0 AIN5 / PA1 AIN6 / PA2 AIN7 / PA3 PB0 PB1 PB2 PB3 PC0 Programmable Input / Output Port of Output SYMBOL Port of Input Input / Output Terminal *1 IOP IO IOP IO IOP IO IOP IO IOP IO IOP IO IOP IO IOP IO EXTRA FUNCTION AD Analog input (AIN4) AD Analog input (AIN5) AD Analog input (AIN6) AD Analog input (AIN7) REMARKS ICP ONP IC ON PC1 ICP ONP IC ON PD0 ICP OC IC PD1 ICP OC IC PD2 ICP OC IC PD3 ICP OC IC PE0 ICP OC IC PE1 ICP OC IC PE2 ICP OC IC PE3 ICP OC IC Note) “IOP,IO,AD,ICP,IC,ONP,ON,OC” are symbols using on MASK OPTION GENERATOR(MOG). *1) The symbol and the detail circuits of INPUT OUTPUT TERMINAL are written in INPUT OUTPUT TERMINAL TYPE. NJU3505 [ CIRCUIT TYPE TABLE 2 ] TERMINAL TYPES PF0 ISP IS ISP IS ISP IS ISP IS ISP IS ISP IS ISP IS PF1 PF2 PG0 PG1 PH0 PH1 AIN0 / PI0 AIN1 / PI1 AIN2 / PI2 AIN3 / PI3 VREF / PJ0 ADCK / PJ1 *2 EXTI / PK0 *2 CNTI / PK1 *2 SDO / PL0 SDI(O) / PL1 *2 SCK / CKOUT *2 *3 EXTRA FUNCTION REMARKS OC OC OC OC OC OC Restart signal input OC Edge detector ICP IC ICP IC ICP IC ICP IC ISP IS ISP IS ISP IS ISP IS ICP IC Programmable Input / Output Port of Input SYMBOL Port of Output Input / Output Terminal *1 OC OC AD Analog input (AIN0) AD Analog input (AIN1) AD Analog input (AIN2) AD Analog input (AIN3) AD Reference input AD External clock input IIP II IIP II SO SDP SD SCP SC - External Interrupt input E D R F D Restart signal input Not Restart Rising edge detector Falling edge detector Not edge detector R F Rising edge Falling edge External clock to Timer2 input Serial data output Serial data input / output MSB MSB first LSB LSB first Serial clock input-output Output clock divide by prescaler Note) “ISP,IS,OC,ICP,IC,AD,ACP,AC,IIP,II,SO,SDP,SD,SCP,SC,E,D,R,F,MSB,LSB” are symbols using on MASK OPTION GENERATOR(MOG). *1) The symbol and the detail circuits of INPUT OUTPUT TERMINAL are written in INPUT OUTPUT TERMINAL TYPE. *2) The pull-up resistance is added to the terminal selected as the extra function. *3) When Serial INPUT-OUTPUT is selected, “SCK” is selected automatically. When it is not selected, “CKOUT” is selected automatically. NJU3505 MEMO [CAUTION] The specifications on this databook are only given for information , without any guarantee as regards either mistakes or omissions. The application circuits in this databook are described only to show representative usages of the product and not intended for the guarantee or permission of any right including the industrial rights.