FM3540/60 4/5 Bit Multiplexed, 1 Bit Latched Port with Standard 2-Wire Bus Interface and Non-Volatile Latches General Description registers and select whether the I-Port or one of the internal nonvolatile registers is output to the Y-port. The FM3540/60 is fabricated with an advanced CMOS technology to achieve high density and low power. The FM3540/60 multiplexes the I-port input signals with two internal non-volatile registers that can be loaded through the serial port. The multiplexer is selected via the serial port and defaults to the I-Port upon power-up. Pull-up resistors are provided on the input port to accommodate connections to open drain outputs and to eliminate the need for external resistors. The device supports a choice of either 2.5V output or Open Drain Outputs for easy interface to devices with different VDD Levels. Features ■ Extended Operating Voltage Range 3.0V-5.5V ■ IIC Compatible Slave Interface. ■ ESD performance: Human body model > 2000V ■ Choice of 2.5V outputs or Open-Drain Outputs The serial port is an IIC compatible slave only interface and supports both 100kbits and 400kbits modes of operation. The port is used to read the I-Port, Write Data to the internal non-volatile Block Diagram Non_Mux_Out I[4:0] Y[4:0] Mux1 SOPRA Mux2 SOPRB MXSB, MXSA IIC Read Logic Mux3 MUXSEL Control Logic OVRD SDA SCL IIC Interface Shift Register Slave Address Register ASEL Comparator Start/Stop Logic © 2001 Fairchild Semiconductor Corporation FM3540/60 Rev. C 1 www.fairchildsemi.com FM3540/60 4/5 Bit Multiplexed, 1 Bit Latched Port with Standard 2-Wire Bus Interface and Non-Volatile Latches October 2001 Order Number FM3540CM14 FM3540CMT14 FM3540SM14 FM3540SMT14 Package Number Package Description Packing Y-Port Output Type Device Address M14A 14-Pin SO T&R Open-Collector 1001110 MTC14 14-Pin TSSOP T&R Open-Collector 1001110 M14A 14-Pin SO T&R Fixed 2.5V 1001110 MTC14 14-Pin TSSOP T&R Fixed 2.5V 1001110 FM3560M20 M20B 20-Pin SO T&R (See Note below) (See Note below) FM3560MT20 MTC20 20-Pin TSSOP T&R (See Note below) (See Note below) Note About Y-Port Output Type: FM3560 device has a dedicated input pin (LEVEL) to select either "Fixed 2.5Volts" or "Open-Collector" Y-Port output type. Note About Device Address: 1. For FM3540 with an alternate device address of 0110111, contact Fairchild Marketing/Sales. 2. FM3560 device has a dedicated input pin (ASEL) to select either "1001110" or 0110111" as device address. Pin Connection Diagrams 14-Pin Packages FM3540 20-Pin Packages FM3560 SDA 1 14 SCL SCL 1 20 VCC I0 2 13 VCC SDA 2 19 ASEL I1 3 12 Y0 OVRD 3 18 WP I2 4 11 Y1 I0 4 17 Non_Mux_Out I3 5 10 Y2 I1 5 16 MUXSEL I4 6 9 Y3 I2 6 15 Y0 GND 7 8 Y4 I3 7 14 Y1 I4 8 13 Y2 Level 9 12 Y3 GND 10 11 Y4 Pin Description Pin Name Description I[0:4] Data Inputs w/Pullups (10K-40K) Y[0:4] O/D Data Outputs SCL Serial Port Clock Input (120K pullup) Override# Override Input, sets all outputs to 0 WP Write Protect Input Non_Mux_Out Non-Multiplexed Output Mux_Sel Mux. Select Input Level Level Select Input ASEL Address Select Input SDA Serial Port Data I/O (120K pullup) 2 FM3540/60 Rev. C www.fairchildsemi.com FM3540/60 4/5 Bit Multiplexed, 1 Bit Latched Port with Standard 2-Wire Bus Interface and Non-Volatile Latches Ordering Information Serial Output Port Register (SOPR) The FM3540/60 has two primary functional modes of operation and an additional mode for programming the device. (Address 000b and 001b) MXSB MXSA Operational Modes During standard operation the device will either pass an address to the Y-Port from the I-Port or from an internally programmed value. At power up the device will default to passing the I-Port value to the Y-Port. Data Field 0 0 I5 NMO I3 I2 I1 I0 b7 b6 b5 b4 b3 b2 B1 b0 b7-b6 - Multiplexer Select Bits (MXSB,MXSA) 00 - Multiplexer passes the SOPR(A). The I-port values are generated from the motherboard of the system and may be hardwired or driven by another device. Pullup resistors are provided on the device to accommodate this device being driven by open drain output drivers. The device expects standard CMOS input signals. The level of the output signal is determined by the Level input. If this input is connected to Vss/Ground, the output is at 2.5V on the multiplexed outputs (Y0-Y4). The non-multiplexed output is always at CMOS levels. The Level input, if left unconnected (it has an internal pullup), will cause the Y0-Y4 outputs to operate as open-drain outputs. The override# input, when set to 0, will cause all the outputs to be set to 0. The WP signal, if set to logic 1, will prevent data from being written to the non-volatile register. 01 - Multiplexer passer the SOPR(B). 10 - Multiplexer defaults to passing the I-Port Value. b5, b3-b0 - Data Field. New value to be output through the multiplexer. nmo - Non multiplexed output from internal non-volatile bit Parallel Input Port Register (PIPR) (Address 002b) Address Field The mux_sel input, when set to logic 0, will select the data from the non-volatile register to drive on the Y0-4 outputs. If set to logic 1, the data from the inputs are selected instead. The non_mux_out latch is transparent when the mux_sel signal is at logic 0, and will latch data when the mux_select is in a logic 1 state. Data Field 0 0 0 I4 I3 I2 I1 I0 b7 b6 b5 b4 b3 b2 B1 b0 b7-b5 - Address field. Value is always 000 b4-b0 - Data Field. Value is equal to the value on the I-Port. The external Port Register captures the value on the I-Port. Data is latched into this register on the first clock after a start condition is seen. This insures that a valid value will always be in this register if it is read. This register is a read only register with respect to the IIC port. Output Port: Y0-Y4 The output port is an open drain output to allow for easy connection to devices running at different voltage levels. The port is always active and either passes the value on the I-Port or the value in the Serial output port Register (SOPR). Changing the Mux Path is accomplished by writing to b7, b6 of the Serial Input Port Register. SOPR-b7, b6 defaults to a value of "10" at power up and the default path is from the I-Port through to the output port. The multiplexer only updates when an IIC stop condition is observed. Override# mux_ sel MXSB MXSA mux_outputs Non_ mux_output 0 0 X X all 0's all 0's 0 1 X X Mux_inputs (see note 1) latched NMO Register Description 1 0 1 0 Mux_inputs (see note 1) latched NMO The FM3540/60 has 3 registers in total. These registers are made up of a combination of read only, write only and read write bits. The two registers are listed below. 1 0 0 0 Serial Output Port Register A(SOPRA) Address: 00H - A read/ write register that contains the new value to be written to output Port-Y and the multiplexer select bit. From NonFrom nonvolatile regvolatile register (SOPRA) ister (SOPRA) 1 0 1 1 Do not use this combination 1 0 0 1 From NonFrom nonvolatile regvolatile register (SOPRB) ister (SOPRB) 1 1 Serial Output Port Register B(SOPRB) Address: 01H - A read/ write register that contains the new value to be written to output Port-Y and the multiplexer select bit. Parallel Input Port Register (PIPR) Address: 02H - A read only register that is loaded with the 5 bit value of the I-Port. Note 2 Note 1 Mux_inputs From Nonvolatile register (SOPRA or SOPRB) Note 1: Latched NMO state will be the value present on the NMO output at the time of the mux_sel input transitioning from logic 0 to logic 1 state. Note 2: Output depends on previously selected state of MXSB and MXSA bits written to device. 3 FM3540/60 Rev. C www.fairchildsemi.com FM3540/60 4/5 Bit Multiplexed, 1 Bit Latched Port with Standard 2-Wire Bus Interface and Non-Volatile Latches Functional Description If so desired only the SOPRA register can be read. This is accomplished by issuing a stop command after acknowledge bit for the first byte read. If no stop is issued, the device will output the registers in the above sequence. The output multiplexer logic determines what value is actually output to the Y-port. The value that is output is dependent upon b7b6 of the SOPRA and SOPRB registers, as well as the external mux_sel and override# inputs. The is only one set of MXS bits in the SOPRA and SOPRB registers. Regardless of whether one writes to SOPRA or SOPRB register for setting the MXS bits, the result is the same. These same bits appear in both the registers. If the mux_sel is logic 0 and OVRD is logic 1, then, if b7,b6 is “10” then the value on the I-port is passed. When b7 is “00” the value of the SOPRA register is passed on the next IIC stop condition, and .When b7 is “01” the value of the SOPRB register is passed on the next IIC stop condition. If mux_sel is logic 1 and OVRD is logic 1, the input lines I0-4 are used to drive the outputs. The above table describes all the combinations. Writing to the Registers Data is written to the SOPR registers through the serial port interface. When a write request is received with the Start Address it is assumed that the intent is to write the SOPR registers. The value placed in the least 6 significant bits of the register contain the new code to be placed in the SOPR A/B registers. The value of the two most significant bits must contain the address of the destination register SOPRA or SOPRB. The internal non-volatile latch takes about 10 ms to update its data. The new data is reflected on the outputs after the internal non-volatile latch is updated, if the corresponding select bits (MXSx, OVRD and mux_sel) are set to reflect the state of the nonvolatile register IIC Interface The IIC Interface is a standard slave interface. As a slave interface the device will not generate its own clock. Data can be read from and written into the device. Commands for reading and writing the registers are generated by the IIC Master. Register Read Sequence Slave SOPRA SOPRB PIPR S Address R A Register A Register A Register A P START and STOP Conditions S 1001110 1 A 00bbbbbb A 00bbbbbb A 00bbbbbb A P Register Write Sequence SDA Slave SOPRx S Address W A Register A S SCL S START Condition STOP Condition 1001110 0 A xxbbbbbb A S xx = Register Selection bits (MXSB and MXSA) xx = 00 selects SOPRA, 01 selects SOPRB Register Write Sequence using Repeated Start Condition The IIC protocol uniquely defines START and STOP conditions. A START condition is defined as a HIGH to LOW transition of the SDA signal while SCL is HIGH. A STOP condition is defined as a LOW to HIGH transition of the SDA signal while SCL is HIGH. These are shown in Figure 2. Slave SOPRA Slave SOPRx S Address R A Register A S Address W A Register A P S 1001110 1 A 00bbbbbb A S 1001110 0 A xxbbbbbb A P Device Addressing The device uses 7 bit IIC addressing. The address has been defined as 1001 110 if the ASEL input is ‘1’ and 0110 111 if the ASEL input is ‘0’. The address byte is the first byte of data sent after a start condition. This is the only address that this device will respond to. The device will not respond to the general call address 0000 000. Figure 4 Reading from the Registers Data can be read from both of the internal registers. All reads are non-destructive and do not change the value in the register or the internal state of the device. When a start condition is received with a read request both registers can be read out in the following sequence. (1) SOPRA - Serial Output Port Register A (2) SPORB - Serial Output Port Register B (3) PIPR - PORT-I Value 4 FM3540/60 Rev. C www.fairchildsemi.com FM3540/60 4/5 Bit Multiplexed, 1 Bit Latched Port with Standard 2-Wire Bus Interface and Non-Volatile Latches Multiplexer Logic Recommended Operating Conditions Supply Voltage (VCC ) -0.5V to +6.5V (Note 3) DC Input Voltage (VI) -0.5V to +6.5V Power Supply 3.0V to 5.5V Input Voltage -0.3V to 5.5V Output Voltage (VO) Outputs 3-STATED Outputs Active (Note 2) DC Input Diode Current (IIK) VI < 0V -0.5V to +6.5V -0.5 to VCC+0.5V 3mA Free Air Operating Temperature(TA) -50mA +50mA DC Output Source/Sink Current (IOH/IOL) ±50mA Storage Temperature Range (TSTG) 0V TO VCC Output Current IOL -50mA DC Output Diode Current (IOK) VO < 0V VO > Vcc DC Vcc or Ground Current per Supply Pin (ICC or Ground) Output Voltage (VO) -0°C to +70°C Minimum Input Edge Rate (dT/dV) VIN = 0.8V to 2.0V, Vcc = 3.0V 10nS/V ±100mA -65°C to +150°C Note 1: The “Absolute Maximum Ratings” are those values beyond which the safety of the device cannot be guaranteed. The device should not be operated at these limits. The parametric values defined in the “Electrical Characteristics” table are not guaranteed at the Absolute Maximum Ratings. The “Recommended Operating Conditions” table will define the conditions for actual device operation. Note 2: IO Absolute Maximum Rating must be observed. Note 3: Floating or unused pins (inputs or I/O’s) must be held HIGH or LOW. DC Electrical Characteristics (4.5V < VCC ≤ 5.5V) Symbol Parameter Conditions VCC (V) Min VCC x 0.7 Max Units VIH High Level Input Voltage 4.5 - 5.5 V VIL Low Level Input Voltage 4.5 - 5.5 VCC x 0.3 V VOL Low Level Output Voltage IOL = 100µA IOL = 3mA 4.5 - 5.5 0.2 0.4 V IIR Input Leakage Current VI=VIL ICC Quiescent Supply Current VI = VCC or GND VCC ≤ (VaI, VO) ≤ 3.6V 5.5 -10 +10 µA 4.5 - 5.5 300 975 µA Max Units DC Electrical Characteristics Extended (3.0V ≤ VCC ≤ 5.5V) Symbol Vcc (V) Min VIH High Level Input Voltage Parameter Conditions 3.0 - 5.5 VCC x 0.7 VIL Low Level Input Voltage 3.0 - 5.5 VCC x 0.3 V VOL Low Level Output Voltage IOL = 100µA IOL = 3mA 3.0 - 5.5 0.2 0.4 V VOH Output High Voltage Fixed output mode, ('s' grade samples, or FM3560 with LEVEL input = logical ‘0’) 1 TTL load, 50pf capacitance 3.0 - 5.5 2.3 2.5 V IIR Input Leakage Current VI=VIL 5.5 -10 +10 µA ICC Quiescent Supply Current VI = VCC or GND VCC ≤ (VI, VO) ≤ 3.6V 3.0 - 5.5 300 975 µA 5 FM3540/60 Rev. C V www.fairchildsemi.com FM3540/60 4/5 Bit Multiplexed, 1 Bit Latched Port with Standard 2-Wire Bus Interface and Non-Volatile Latches Absolute Maximum Ratings (Note 1) Symbol TA = 0°C to +70°C,CL = 30pF, RL = 500Ω VCC = 5.0V ± 0.5V VCC = 3.3 ± 0.3V Parameter Min Max Min Units Max tPHL Prop Delay I to Y 50 50 ns TPLH Prop Delay I to Y 50 50 ns tPHL Prop Delay to Y (from OVRD’ or Mux_Sel) 50 50 ns TPLH Prop Delay to Y (from OVRD’ or Mux_Sel) 50 50 ns IIC AC Characteristics Symbol TA = 0°C to +70°C,CL = 30pF, RL = 500Ω 100kHz 400kHz Parameter Min fSCL Max Min Units Max SCL Clock Frequency 100 400 kHz T1 Noise Supression Time Constant 100 50 nS tAA SCL Low to SDA Data Out Valid 0.3 0.9 µS tBUF Time the Bus must be free before a new Transmission can start 4.7 1.3 µS Start Condition Hold Time 4.0 0.6 µS tLOW Clock Low Period 4.7 0.6 µS tHIGH Clock High Period 4.0 0.6 µS tSU:STA Start Condition Setup Time (For a repeated Start Condition) 4.7 0.6 tHD:DAT Data in Hold Time 0 0 tSU:DAT Data in Setup Time 250 tHD:STA 3.5 0.1 µS 100 nS tR SDA and SCL Rise Time 1000 300 nS tF SDA and SCL Fall Time 300 300 nS tSU:STO Stop Condition Setup Time 4.7 µS 0.6 Capacitance Symbol Parameter Conditions TA = +25°C Typical Units Cin Input Capacitance (I4-I0) VI =0V or VCC, VCC=3.3 or 5.0 6 PF CI/O Input/Output Capacitance (SDA) VI=0V or VCC, VCC=3.3 or 5.0 7 PF COUT Output Capacitance (Y4-Y0) 7 PF Non-Volatile Memory Characteristics Parameter Specification Data Retention 10 years minimum Number of writes 1,000,000 cycles 6 FM3540/60 Rev. C www.fairchildsemi.com FM3540/60 4/5 Bit Multiplexed, 1 Bit Latched Port with Standard 2-Wire Bus Interface and Non-Volatile Latches AC Characteristics 0.496 - 05.12 [12.598 - 13.005] 20 11 0.394 - 0.419 [10.008 - 10.643] 30¡ TYP Lead No. 1 IDENT 1 10 0.010 MAX [0.254] 0.291-0.299 [7.391- 7.595] 0.010 - 0.029 x45¡ [0.254 - 0.737] 0.009-0.013 [0.229-0.330] TYP All Leads 8¡ Max Typ All Leads 0.004 [0.102] All Leads Tips 0.093 - 0.104 [2.362 - 2.642] 0.004-0.012 [0.102-0.305] TYP Seating Plane 0.016 - 0.050 [0.406 - 1.270] Typ All Leads 0.014 [0.356] 0.050 [1.270] TYP 0.008 TYP [0.203] 0.014-0.020 TYP [0.356-0.508] Molded Small Outline Package (M) Order Number FM3560XM Package Number M20B X = C for open collector and X = S for 2.5V 7 FM3540/60 Rev. C www.fairchildsemi.com FM3540/60 4/5 Bit Multiplexed, 1 Bit Latched Port with Standard 2-Wire Bus Interface and Non-Volatile Latches Physical Dimensions inches (millimeters) unless otherwise noted 0.335 - 0.344 (8.509 - 8.788) 14 13 12 11 10 9 8 0.228 - 0.244 (5.791 - 6.198) 0.010 Max. (0.254) 1 2 3 Lead #1 IDENT 0.010 - 0.020 x 45° (0.254 - 0.508) 0.008 - 0.010 (0.203 - 0.254) Typ. all leads 0.150 - 0.157 (3.810 - 3.988) 8° Max, Typ. All leads 0.04 (0.102) All lead tips 4 5 6 7 30° Typ. 0.053 - 0.069 (1.346 - 1.753) 0.004 - 0.010 (0.102 - 0.254) Seating Plane 0.014 (0.356) 0.016 - 0.050 (0.406 - 1.270) Typ. All Leads 0.050 (1.270) Typ 0.014 - 0.020 Typ (0.356 - 0.508) 0.008 Typ (0 203) Molded Small Outline Package (M) Order Number FM3540XM Package Number M14A X = C for open collector and X = S for 2.5V 8 FM3540/60 Rev. C www.fairchildsemi.com FM3540/60 4/5 Bit Multiplexed, 1 Bit Latched Port with Standard 2-Wire Bus Interface and Non-Volatile Latches Physical Dimensions inches (millimeters) unless otherwise noted 5.0 –0.1 -A- 14 8 (4.16) Typ (7.72) Typ 4.4 – 0.1 -B- 6.4 (1.78) Typ (0.42) Typ 3.2 (0.65) Typ 1 7 Land pattern recommendation 0.2 C B A All Lead Tips Pin #1 IDENT 1 Max TYP 0.1 C All Lead Tips See detail A (0.9) 0.9 - 0.20 TYP -C0.10 – 0.05 TYP 0.65 Typ. 0.19 - 0.30 TYP 0.13 M A B s C s Gage plane 0¡-8¡ 0.25 Dimensions are in millimeters 0.6 –0.1 Seating plane DETAIL A Typ. Scale: 40X Notes: Unless otherwise specified 1. Reference JEDED registration MO153. Variation AB. Ref. Note 6, dated 7/93 Order Number FM3540XMT Package Number MTC14 X = C for open collector and X = S for 2.5V 9 FM3540/60 Rev. C www.fairchildsemi.com FM3540/60 4/5 Bit Multiplexed, 1 Bit Latched Port with Standard 2-Wire Bus Interface and Non-Volatile Latches Physical Dimensions inches (millimeters) unless otherwise noted Order Number FM3560MT Package Number MTC20 Life Support Policy Fairchild's products are not authorized for use as critical components in life support devices or systems without the express written approval of the President of Fairchild Semiconductor Corporation. As used herein: 1. Life support devices or systems are devices or systems which, (a) are intended for surgical implant into the body, or (b) support or sustain life, and whose failure to perform, when properly used in accordance with instructions for use provided in the labeling, can be reasonably expected to result in a significant injury to the user. Fairchild Semiconductor Americas Customer Response Center Tel. 1-888-522-5372 2. A critical component is any component of a life support device or system whose failure to perform can be reasonably expected to cause the failure of the life support device or system, or to affect its safety or effectiveness. Fairchild Semiconductor Europe Fax: +44 (0) 1793-856858 Deutsch Tel: +49 (0) 8141-6102-0 English Tel: +44 (0) 1793-856856 Français Tel: +33 (0) 1-6930-3696 Italiano Tel: +39 (0) 2-249111-1 Fairchild Semiconductor Hong Kong 8/F, Room 808, Empire Centre 68 Mody Road, Tsimshatsui East Kowloon. Hong Kong Tel; +852-2722-8338 Fax: +852-2722-8383 Fairchild Semiconductor Japan Ltd. 4F, Natsume Bldg. 2-18-6, Yushima, Bunkyo-ku Tokyo, 113-0034 Japan Tel: 81-3-3818-8840 Fax: 81-3-3818-8841 Fairchild does not assume any responsibility for use of any circuitry described, no circuit patent licenses are implied and Fairchild reserves the right at any time without notice to change said circuitry and specifications. 10 FM3540/60 Rev. C www.fairchildsemi.com FM3540/60 4/5 Bit Multiplexed, 1 Bit Latched Port with Standard 2-Wire Bus Interface and Non-Volatile Latches Physical Dimensions inches (millimeters) unless otherwise noted