NJU3504 „# TERMINAL DESCRIPTION 1 No. NJU NJU SYMBOLS INPUT/OUTPUT F U N C T I O NS 3504F 3504L 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. xC-MOS Schmitt Trigger Input Terminal with Pull-up Resistance(IB) xC-MOS Schmitt Trigger Input Terminal(ID) xC-MOS Output Terminal(OB) PG0 INPUT/OUTPUT 2-bit Input / Output PORTG. PG1 INPUT/OUTPUT Selects a terminal circuit for each port from follows by the mask option. xC-MOS Schmitt Trigger Input Terminal with Pull-up Resistance(IB) xC-MOS Schmitt Trigger Input Terminal(ID) xC-MOS Output Terminal(OB) PH0 INPUT/OUTPUT 2-bit Input / Output PORTH. PH1 INPUT/OUTPUT Selects a terminal circuit for each port from follows by the mask option. xC-MOS Schmitt Trigger Input Terminal with Pull-up Resistance(IB) xC-MOS Schmitt Trigger Input Terminal(ID) xC-MOS Output Terminal(OB) 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) – AVSS 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 NJU3504L(SDIP package). PF0 PF1 PF2 NJU3504 „# TERMINAL DESCRIPTION 2 No. NJU NJU SYMBOL INPUT/OUTPUT F U N C T I O N 3504F 3504L 13 14 15 16 16 17 18 19 18 21 17 19 20 22 20 21 23 24 22 25 23 26 Note ) 3-bit Input PORTI. Selects a function of either of 1) or 2) for PORTI by the mask option. 1) 4-channel Analog Input to A/D Converter. 2) 4-bit Input Terminals as PORTI. Selects a terminal circuit for each port from follows by the mask option. xC-MOS Input Terminal with Pull-up Resistance(IA) xC-MOS Input Terminal(IC) AVDD Analog Block Power source – Connect to VDD terminal when A/D converter is not used. 2-bit Input PORTJ. INPUT VREF / PJ0 Selects a function of either of 1) or 2) for PORTJ by the ADCK / PJ1 INPUT mask option. 1) Input terminal for A/D Converter. Reference Voltage Input Terminal : VREF External Clock Input Terminal : ADCK 2) 2-bit Input Terminals as PORTJ. Selects a terminal circuit for each port from follows by the mask option. xC-MOS Schmitt Trigger Input Terminal with Pull-up Resistance(IB) xC-MOS Schmitt Trigger Input Terminal(ID) 2-bit Input PORTK. EXTI / PK0 INPUT Selects a function of either of 1) or 2) for PORTK by the CNTI / PK1 INPUT mask option. 1) External Interrupt Input Terminal with Pull up resistance :EXTI External Clock Input Terminal with Pull up resistance for Timer2 :CNTI 2) 2-bit Input Terminals as PORTK. Selects a terminal circuit for each port from follows by the mask option. xC-MOS Schmitt Trigger Input Terminal with Pull-up Resistance(IB) xC-MOS Schmitt Trigger Input Terminal(ID) 2-bit Input / Output PORTL. SDO / 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 INPUT/OUTPUT Serial Data Input-Output Terminal with Pull-up Resistance : SDI(O) 2) 2-bit Input / Output Terminals as PORTL. Selects a terminal circuit for each port from follows by the mask option. xC-MOS Input Terminal with Pull-up Resistance (IA) :PL1 xC-MOS Input Terminal(IC):PL1 xC-MOS Output Terminal(OB):PL0,PL1 INPUT/OUTPUT : Input or Output is selected by the mask option. INOUT : Input or Output is changed by the program. AIN0 AIN1 AIN2 AIN3 / / / / PI0 PI1 PI2 PI3 INPUT INPUT INPUT INPUT NJU3504 „# TERMINAL DESCRIPTION 3 No. NJU NJU SYMBOL INPUT/OUTPUT FUNCTION 3504F 3504L 24 27 25 26 27 28 28 29 30 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. OUTPUT 2) Clock Divided by Pre-scaler Output Terminal. Selects the dividing times of the clock in the pre-scaler by the mask option. 4-bit Programmable Input / Output PORTA. PA0 INOUT These 4-bit terminals’ direction can be changed by the PA1 INOUT program as 4-Input or 4-Output. PA2 INOUT Use of Pull-up resistance is in accordance with the mask PA3 INOUT option. xas Input : C-MOS Input Terminals xas Output: Nch-FET Open-Drain Output Terminals 4-bit Programmable Input / Output PORTB. PB0 INOUT These 4-bit terminals’ direction can be changed by the PB1 INOUT program as 4-Input or 4-Output. PB2 INOUT Use of Pull-up resistance is in accordance with the mask PB3 INOUT option. xas Input : C-MOS Input Terminals xas Output: Nch-FET Open-Drain Output Terminals VDD – Power Source (2.4V to 5.5V) PC0 INPUT/OUTPUT 2-bit Input / Output PORTC. PC1 INPUT/OUTPUT Selects a terminal circuit for each port from follows by the mask option. xC-MOS Input Terminal with Pull-up Resistance(IA) xC-MOS Input Terminal(IC) xNch-FET Open-Drain Output Terminal with Pull-up Resistance(OA) xNch-FET Open-Drain Output Terminal(OC) PD0 INPUT/OUTPUT 4-bit Input / Output PORTD. PD1 INPUT/OUTPUT Selects a terminal circuit for each port from follows by the PD2 INPUT/OUTPUT mask option. xC-MOS Input Terminal with Pull-up Resistance(IA) PD3 INPUT/OUTPUT xC-MOS Input Terminal(IC) xC-MOS Output Terminal(OB) PE0 INPUT/OUTPUT 4-bit Input / Output PORTE. PE1 INPUT/OUTPUT Selects a terminal circuit for each port from follows by the PE2 INPUT/OUTPUT mask option. xC-MOS Input Terminal with Pull-up Resistance(IA) PE3 INPUT/OUTPUT xC-MOS Input Terminal(IC) xC-MOS Output Terminal(OB) INPUT/OUTPUT : Input or Output is selected by the mask option. INOUT : Input or Output is changed by the program. SCK / CKOUT NJU3504 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.