NJU3503 „# TERMINAL DESCRIPTION 1 No. NJU NJU 3503M 3503L 1 2 3 1 2 3 5 6 4 5 7 6 8 9 10 11 7 8 9 10 Note ) 4 SYMBOLS INPUT/OUTPUT FUNCTIONS INPUT/OUTPUT 3-bit Input / Output PORTB. INPUT/OUTPUT Selects a terminal circuit for each port from follows by the INPUT/OUTPUT mask option. xC-MOS Schmitt Trigger Input Terminal with Pull-up Resistance (ISP) xC-MOS Schmitt Trigger Input Terminal (IS) xC-MOS Output Terminal (OC) When the ports are selected as the input terminal, PB0 operates also as RESTART signal input terminal to return from STANDBY mode, and PB1 operates also as the Edge Detector Terminal. 2-bit Input PORTC. INPUT ADCK / PC0 Selects a function of either of 1) or 2) for PORTC by the INPUT VREF / PC1 mask option. 1) Input terminal for A/D Converter. External Clock Input Terminal : ADCK (ACP,AC) (AD) Reference Voltage Input Terminal : VREF PB0 PB1 PB2 2) 2-bit Input Terminals as PORTC. Selects a terminal circuit for each port from follows by the mask option. xC-MOS Schmitt Trigger Input Terminal with Pull-up Resistance (ISP) xC-MOS Schmitt Trigger Input Terminal (IS) AVDD Analog Block Power source – Connect to VDD terminal when A/D converter is not used. 4-bit Input PORTD. AIN0 / PD0 AIN0 to AIN3: AIN1 / PD1 INPUT Selects a function of either of 1) or 2) for PORTD by the mask option. AIN2 / PD2 1) 4-bit Analog Input to A/D Converter. (AD) AIN3 / PD3 PD0 to PD3: INPUT/OUTPUT 2) 4-bit Input / Output Terminals as PORTD. Selects a terminal circuit for each port from follows by the mask option. xC-MOS Input Terminal with Pull-up Resistance (ICP) xC-MOS Input Terminal (IC) xNch-FET Open-Drain Output Terminal with Pull-up Resistance (ONP) xNch-FET Open-Drain Output Terminal (ON) INPUT/OUTPUT : Input or Output is selected by the mask option. INOUT : Input or Output is changed by the program. NJU3503 „# TERMINAL DESCRIPTION 2 No. NJU NJU 3503M 3503L 12 13 14 11 12 13 15 16 17 14 15 16 19 17 20 21 18 19 SYMBOL INPUT/OUTPUT 3-bit Input / Output PORTE. AIN4 / PE0 AIN4, AIN5: AIN5 / PE1 INPUT Selects a function of either of 1) or 2) for PORTE by the mask option. PE2 1) 2bit Analog Input to A/D Converter. : AIN4,AIN5 (AD) PE0 to PE2: INPUT/OUTPUT 2) 3-bit Input / Output Terminals as PORTE. Selects a terminal circuit for each port from follows by the mask option. xC-MOS Input Terminal with Pull-up Resistance (ICP) xC-MOS Input Terminal (IC) xNch-FET Open-Drain Output Terminal with Pull-up Resistance (ONP) xNch-FET Open-Drain Output Terminal (ON) VSS Power Source ( 0V ) – 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. Maker Testing Terminal with Pull-down Resistance TEST INPUT The terminal is recommended to connect to GND. 2-bit Input PORTF. EXTI / PF0 INPUT Selects a function of either of 1) or 2) for PORTF by the CNTI / PF1 INPUT mask option. 1) External Interrupt Input Terminal with Pull up resistance :EXTI ( IIP,II, P / F ) External Clock Input Terminal with Pull up resistance for Timer2 :CNTI (IIP,II) 22 20 SDO 23 21 SDI(O)/ PG1 SDI(O) :INOUT PG1 : INPUT/OUTPUT Note ) F U N C T I O N S / PG0 SDO :OUTPUT PG0 :OUTPUT 2) 2-bit Input Terminals as PORTF. Selects a terminal circuit for each port from follows by the mask option. xC-MOS Schmitt Trigger Input Terminal with Pull-up Resistance (ISP) xC-MOS Schmitt Trigger Input Terminal (IS) 2-bit Input / Output PORTG. Selects a function of either of 1) or 2) for PORTG by the mask option. 1) Serial Interface Function Serial Data Output Terminal : SDO (SO) Serial Data Input-Output Terminal with Pull-up Resistance : SDI(O) (SDP) 2) 2-bit Input / Output Terminals as PORTG. Selects a terminal circuit for each port from follows by the mask option. xC-MOS Input Terminal with Pull-up Resistance (ICP):PG1 xC-MOS Input Terminal (IC) : PG1 xC-MOS Output Terminal (OC) : PG0,PG1 INPUT/OUTPUT : Input or Output is selected by the mask option. INOUT : Input or Output is changed by the program. 5 NJU3503 „# TERMINAL DESCRIPTION 3 No. NJU NJU 3503M 3503L 24 22 SYMBOL SCK/CKOUT INPUT/OUTPUT FUNCTIONS 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. : SCK (SCP) OUTPUT 2) Clock Divided by Pre-scaler Output Terminal. Selects the dividing times of the clock in the pre-scaler by the mask option. : CKOUT 25 26 27 28 23 24 25 26 PA0 PA1 PA2 PA3 INOUT INOUT INOUT INOUT 29 27 RESET INPUT 30 28 VDD – Note ) 6 4-bit Programmable Input / Output PORTA. These 4-bit terminals direction can be changed by the program as each terminal of Input or Output. Use of Pull-up resistance for a terminal is in accordance with the mask option.(IOP,IO) xas Input : C-MOS Input Terminals xas Output: Nch-FET Open-Drain Output Terminals RESET Terminal. When the low level input-signal, the system is initialized. Power Source (2.4V to 5.5V) 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,P,F,IIP,II,SO,SCP,CKOUT” are symbols using on MASK OPTION GENERATOR(MOG). NJU3503 !" ELECTRICAL CHARACTERISTICS A/D CONVERTER CHARACTERISTICS (VDD=AVDD=2.4~5.5V, VSS=0V, Ta=25°C, fOSC=4MHz) PARAMETER SYMBOL CONDITIONS MIN TYP MAX UNIT Resolution 8 bits VDD=5V,AVDD=5V,VREF=5V ±2 Absolute Accuracy LSB tCONV VDD=5V,AVDD=5V,VREF=5V µs Conversion time 40 V AV Reference Voltage 2.4 V REF DD VIA VSS VREF Analog Input Voltage V 225 kHz ADCK frequency fADCK 52 NJU3503 !" MASK OPTION The NJU3503 can set or select the following options by the mask option as same as the mask of program coding in ROM. 1) INPUT OUTPUT Terminal Selection All of input-output terminals select a type for each port from the following table1 to table2 by the mask option. [ CIRCUIT TYPE TABLE 1 ] TERMINAL TYPES PA0 PA2 PA3 PB1 PB2 ADCK / PC0 VREF / PC1 AIN0 / PD0 AIN1 / PD1 AIN2 / PD2 AIN3 / PD3 AIN4 / PE0 AIN5 / PE1 PE2 EXTRA FUNCTION REMARKS IOP IO IOP IO IOP IO IOP IO PA1 PB0 Programmable Input / Output Port of Input SYMBOL Port of Output Input/ Output Terminal *1 ISP IS ISP IS OC Restart signal input OC Edge detector ISP IS ISP IS ISP IS ICP IC ICP IC ICP IC ICP IC ICP IC ICP IC ICP IC OC ONP ON ONP ON ONP ON ONP ON ONP ON ONP ON ONP ON ACP AC AD Reference input AD Analog input (AIN0) AD Analog input (AIN1) AD Analog input (AIN2) AD Analog input (AIN3) AD Analog input (AIN4) AD Analog input (AIN5) E D R F D Restart signal input Not Restart Rising edge detector Falling edge detector Not edge detector External clock input Note) “IOP, IO, ISP, IS, OC, ICP, IC, ONP, ON, ACP, AC, AD, R, F, D” are symbols using on MASK OPTIONGENERATOR(MOG). *1) The symbol and the detail circuits of INPUT OUTPUT TERMINAL are written in INPUT OUTPUT TERMINAL TYPE. 53 NJU3503 [ CIRCUIT TYPE TABLE 2 ] TERMINAL TYPES EXTI / PF0 *2 CNTI / PF1 *2 SDO / PG0 SDI(O) / PG1 *2 SCK / CKOUT *2 *3 ISP IS ISP IS ICP IC OC OC Programmable Input / Output Port of Input SYMBOL Port of Output Input/ Output Terminal *1 EXTRA FUNCTION IIP II IIP II SO SDP SD SCP SC - External Interrupt input (EXTI) REMARKS R F Rising edge Falling edge External clock to Timer2 input (CNTI) Serial data output Serial data input / output MSB MSB first LSB LSB first Serial clock input-output Output clock divide by pre-scaler Note) “IOP,IO,AD,ICP,ONP,ON,OC,ISP,IS,AD,R,F,IIP,II,SO,SCP,” are symbols using on MASK OPTIN 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. 54 NJU3503 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.