AN1313 APPLICATION NOTE Porting an application from the ST10F168 to the ST10F269 By Charles AUBENAS 1 - INTRODUCTION The ST10F269 is a new derivative of the STMicroelectronics ST10 family of 16-bit single-chip CMOS micro-controllers. It is upward compatible with the ST10F168. The goal of this document is to enlighten the differences between the ST10F269 and ST10F168 and is intended for hardware or software designers who are adapting an existing application based on the ST10F168 to the ST10F269. This document will present the modified functionalities of the ST10F269, then the new ones before looking at the modified and the new registers. For each part, the differences with the ST10F168 that may be impacting will be stressed and some advice on the way they can be handled will be given. September 2013 DocID7589 Rev 2 1/16 AN1313 - APPLICATION NOTE TABLE CONTENTS PAGE 1 INTRODUCTION ......................................................................................................... 1 2 MODIFIED FUNCTIONALITIES.................................................................................. 4 2.1 PIN OUT ...................................................................................................................... 4 2.1.1 2.1.1.1 2.1.1.2 2.1.2 2.1.2.1 2.1.2.2 Pin 84 .......................................................................................................................... Hardware Impact ......................................................................................................... Software Impact........................................................................................................... Pins 17 and 56............................................................................................................. Hardware Impact ......................................................................................................... Software Impact........................................................................................................... 4 4 4 4 4 4 2.2 XRAM .......................................................................................................................... 4 2.2.1 2.2.2 Hardware Impact ......................................................................................................... Software Impacts......................................................................................................... 4 4 2.3 FLASH EEPROM ........................................................................................................ 5 2.3.1 2.3.2 Hardware Impacts ....................................................................................................... Software Impacts......................................................................................................... 5 5 2.4 A/D CONVERTER ....................................................................................................... 7 2.4.1 2.4.2 Hardware Impacts ....................................................................................................... Software Impacts......................................................................................................... 7 7 3 NEW FUNCTIONNALITIES ........................................................................................ 8 3.1 CAN MODULES .......................................................................................................... 8 3.1.1 3.1.2 Hardware Impacts ....................................................................................................... Software Impacts......................................................................................................... 8 8 3.2 REAL TIME CLOCK .................................................................................................... 8 3.2.1 3.2.2 Hardware Impacts ....................................................................................................... Software Impacts......................................................................................................... 8 8 3.3 MAC UNIT ................................................................................................................... 8 3.3.1 3.3.2 Hardware Impacts ....................................................................................................... Software Impacts......................................................................................................... 8 8 4 MODIFIED REGISTERS ............................................................................................. 9 4.1 PICON REGISTER ...................................................................................................... 9 4.1.1 4.1.2 Hardware Impacts ....................................................................................................... Software Impacts......................................................................................................... 9 9 4.2 WDTCON REGISTER ................................................................................................. 10 4.2.1 4.2.2 Hardware Impacts ....................................................................................................... Software Impacts......................................................................................................... 10 10 5 NEW REGISTERS ...................................................................................................... 11 5.1 NEW REGISTERS IMPACTING THE APPLICATION ................................................ 11 5.1.1 5.1.1.1 5.1.1.2 XPERCON Register .................................................................................................... Hardware Impacts ....................................................................................................... Software Impacts......................................................................................................... 11 12 12 2/16 AN1313 - APPLICATION NOTE 5.1.2 5.1.2.1 5.1.2.2 POCONx Registers ..................................................................................................... Hardware Impacts ....................................................................................................... Software Impacts......................................................................................................... 12 12 13 5.2 NEW REGISTERS NOT IMPACTING THE APPLICATION ........................................ 13 5.2.1 5.2.2 ODP4 Register (F1CAh / E5h) ...................................................................................... EXISEL Register (F1DAh / DAh)................................................................................... 13 13 6 ELECTRICAL CHARACTERISTICS .......................................................................... 14 6.1 DC CHARACTERISTICS ............................................................................................ 14 6.1.1 6.1.2 6.1.2.1 6.1.2.2 6.1.2.3 Absolute Maximum Ratings......................................................................................... DC Characteristics....................................................................................................... Operating Voltage........................................................................................................ Programming Voltage .................................................................................................. Miscellaneous ........................................................................................................... 14 14 14 14 14 6.2 AC CHARACTERISTICS AT 25MHZ .......................................................................... 14 6.2.1 6.2.2 Hardware Impact ......................................................................................................... Software Impact........................................................................................................... 14 14 7 REFERENCES ............................................................................................................ 15 3/16 AN1313 - APPLICATION NOTE 2 - MODIFIED FUNCTIONALITIES 2.1 - Pin Out 2.1.1 - Pin 84 This pin was named Vpp/RPD on the ST10F168 and was the 12V input pin for Flash programming. In the ST10F269, it is now only used as RPD as the Flash is a single voltage one. 2.1.1.1 - Hardware Impact This pin is no longer designed to accept 12V inputs. Its ratings are the same as any other pin: -0.5V to VDD +0.5V. 2.1.1.2 - Software Impact None. Note: Some applications migth be using the Vpp pin as a protection for Flash programming by software controlling the 12V charge pump. The ST10F269 being now a single voltage Flash, Vpp will appear as permanently “ON” and thus such a protection can not be reproduced with the ST10F269. 2.1.2 - Pins 17 and 56 For the ST10F168, these are VDD pins connected to 5Volts. For the ST10F269, these pins 17 and 56 are de-coupling pins for the 3,3V and respectively named DC2 and DC1. A de-coupling capacitor must be connected to these pins and the nearest VSS. 2.1.2.1 - Hardware Impact The application board should be re-designed in order to introduce the decoupling capacitors. 2.1.2.2 - Software Impact None. 2.2 - XRAM The ST10F168 has only 6KBytes of extension RAM while the ST10F269 has 10KBytes. The XRAM address range in the ST10F168 is 00’D000h - 00’E7FFh and is enabled if XPEN (bit 2 of SYSCON register) is set. The XRAM of the ST10F269 is divided into 2 ranges named XRAM1 of 2KBytes and XRAM2 of 8KBytes: – The XRAM1 address range is 00’E000h - 00’E7FFh if enabled (XPEN set -bit 2 of SYSCON registerAND XRAM1EN set - bit 2 of XPERCON register-). – The XRAM2 address range is 00’C000h - 00’DFFFh if enabled (XPEN set -bit 2 of SYSCON registerAND XRAM2EN set - bit 3 of XPERCON register-). 2.2.1 - Hardware Impact None. 2.2.2 - Software Impacts The memory mapping of the application may be impacted by the difference in XRAM size or by the separation in 2 ranges independently selectable. In the ST10F168, setting XPEN bit in SYSCON register enables the XRAM. In the ST10F269, setting XPEN bit in SYSCON register enables the XRAM1 only (default reset configuration of the new XPERCON register). Thus accesses to the range 00’D000h - 00’DFFFh that was part of the ST10F168 XRAM will be redirected to external memory. Three configurations may be seen: 1. Configuration 1: no external memory in address range 00’C000h - 00’CFFFh. Impact: one register to configure. Work-around: Set the bit XRAM2EN of XPERCON new register. It enables the second XRAM range. The total XRAM range is then 00’C000h - 00’E7FFh which includes the ST10F168 range. 4/16 AN1313 - APPLICATION NOTE 2. Configuration 2: external memory exists in page 3 and is below 2K Byte size. Impact: one register to configure, the external memory has to be remapped within page 3. Work-around: Set the bit XRAM2EN and clear the bit XRAM1EN of XPERCON new register. Then remap your variables to uses the XRAM2 range as your XRAM (bigger than the ST10F168 so no issue) and remap your 2K Byte range of external memory at the XRAM1 location. This way you keep everything within page 3. 3. Configuration 3: external memory exists in page 3 and is above 2K Byte size. Impact: one register to configure, the external memory to be remapped in another page. Work-around: Set the bit XRAM2EN of the XPERCON new register and relocate your external memory in page 2 (address range 0x8000 - 0xBFFF) if possible. Then change the link directives according to the new mapping. Note: The setting of the bits in XPERCON must be done before enabling the XBus Peripherals by the XPEN bit of SYSCON. 2.3 - Flash EEPROM The ST10F168 and the ST10F269 don’t have the same Flash memories. The embedded Flash of the ST10F269 has a technology really similar to the stand-alone Flash memories of STMicroelectronics. Table 1 : Flash Memories Key Characteristics ST10F168 ST10F269 Flash Size 256K Bytes 256K Bytes Flash Organization 4 banks 7 blocks Programming voltage 12 Volts 5 Volts Programming method STEAKTM Write/Erase Controller Program/Erase cycles 10 000, 20 years of data retention 100.000, ≥ 10 years of data retention 2.3.1 - Hardware Impacts The 12 Volts input on pin 84 is no longer needed. 2.3.2 - Software Impacts The mapping of the application and the programming and erasing routines are impacted. ST10F168 bank 0: this range is fully compatible with the block 0 of the ST10F269. ST10F168 bank 1: this range is now covered by the blocks 1, 2 and 3 of the ST10F269. It is not mandatory to re-map Code and Data: these 3 blocks could be considered as a single range. ST10F168 bank 2 and bank 3: The highest third of bank 2 and the lowest third of bank 3 correspond to the block 5 of the ST10F269. Code and Data have to be remapped to take care of this separation in three ranges of 64K Bytes if these banks were likely to be independently reprogrammed. The programming-erasing software must also be rewritten as the ST10F269 does not work with the STEAKTM but with a Write/Erase Controller. 5/16 AN1313 - APPLICATION NOTE Segment 4 Figure 1 : Flash Memories’ Mapping 13 12 11 10 ST10F168 Flash Mapping ST10F269 Flash Mapping 04’FFFF 04’FFFF 04’C000 04’C000 04’8000 04’4000 04’8000 Bank 3: 96K Bytes 04’0000 04’0000 Segment 3 0F 0E 0D 0C 03’FFFF 03’8000 03’8000 03’7FFF Block 5: 64K Bytes 03’4000 03’4000 03’0000 03’0000 Segment 2 Bank 2: 96K Bytes 02’FFFF 0B 02’C000 02’C000 0A 02’8000 02’8000 09 02’4000 02’4000 08 02’0000 02’0000 07 01’FFFF 01’FFFF 06 01’C000 Bank 1H: 32K Bytes 01’8000 Bank 1L : 16K Bytes Block 1(*): 8K Bytes 01’4000 01’4000 Bank 0(*): 16K Bytes 01’3FFF 04 01’0000 01’0000 03 00’FFFF 00’FFFF 02 00’8000 00’8000 00’7FFF Block 2(*): 8K Bytes 01’6000 01’5FFF 01’3FFF Block 3: 32K Bytes 01’C000 01’7FFF (*) 05 Block 4: 64K Bytes 01’8000 01’7FFF Segment 1 Block 6: 64K Bytes 04’4000 Bank 1L(*): 16K Bytes 00’7FFF Block 0(*): 16K Bytes Block 2(*): 8K Bytes 00’6000 Segment 0 00’5FFF Note: 6/16 1 00 00’4000 00’4000 00’3FFF 00’0000 Block 1(*): 8K Bytes Bank 0(*): 16K Bytes 00’3FFF Block 0(*): 16K Bytes 00’0000 Bank 0 (Block 0) and Bank 1L (Block 1) may be remapped from segment 0 to segment 1 by setting SYSCON-ROMS1 (before EINIT). AN1313 - APPLICATION NOTE 2.4 - A/D Converter The A/D Converter of the ST10F269 is based upon a Resistor-Capacitor circuitry while the ST10F168 one is based upon fully switched capacitors. The ST10F269 does not have the self-calibrated feature, but the guaranteed Total Unadjusted Error is ± 2 LSB. 2.4.1 - Hardware Impacts The table below lists the differences in the DC characteristics of the two devices. Table 2 : ADC differences Limit values for ST10F168 Parameter Limit values for ST10F269 Symbol Unit Minimum Maximum Minimum Maximum Analog Reference voltage VAREF 4.0 VDD + 0.1 4.0 VDD + 0.1 V Analog Input Voltage VAIN VAGND VAREF VAGND VAREF V ADC Input capacitance Not sampling CAIN - 33 - 10 pF - 33 - 15 pF Sampling Sample time tS - 2 tSC 2 tCC 16 tCC Conversion time tC - 14 tCC + tS + 4 TCL - 14 tCC + tS + 4 TCL Total Unadjusted Error TUE -2.0 +2.0 -2.0 +2.0 Internal resistance of analog source RASRC - tS[ns]/330 - 0.25 Reference supply current running mode IAREF power-down mode LSB tS[ns]/150 - 0.25 kΩ - 500 µA - 1 µA Differential Nonlinearity DNL -0.5 +0.5 LSB Integral Nonlinearity INL -1.5 +1.5 LSB Offset Error OFS -1.0 +1.0 LSB 2.4.2 - Software Impacts None. 7/16 AN1313 - APPLICATION NOTE 3 - NEW FUNCTIONNALITIES 3.1 - CAN Modules The ST10F168 has only one CAN module. The ST10F269 has two CAN modules which are both identical to the one of the ST10F168. By default none of the CAN modules is enabled. The two modules can be independently enabled or disabled during the initialization phase. 3.1.1 - Hardware Impacts None. 3.1.2 - Software Impacts None. 3.2 - Real Time Clock This is a new functionality of the ST10F269. The Real Time Clock is an independent timer. Its clock is directly derived from the clock oscillator so that it can keep on running even in idle or power down mode (if enabled to). 3.2.1 - Hardware Impacts None. 3.2.2 - Software Impacts None. By default this peripheral is disabled. 3.3 - MAC Unit This Multiply and Accumulate unit is a feature added on the ST10F269. It provides DSP-like instructions that may be valuable for signal processing algorithms. 3.3.1 - Hardware Impacts None. 3.3.2 - Software Impacts None. 8/16 AN1313 - APPLICATION NOTE 4 - MODIFIED REGISTERS 4.1 - PICON Register Some bits have been added, and some suppressed in this register for the ST10F269. The Port Input Control register PICON is used to select between TTL and CMOS-like input thresholds. The CMOS-like input thresholds are defined above the TTL levels and feature a defined hysteresis to prevent the inputs from toggling while the respective input signal level is near the thresholds. In the ST10F168, these functionality is available for all pins of Port 2, Port 3, Port 7 and Port 8. In the ST10F269, this functionality has been added for the pins of Port 4. It is also used to select the Output driver characteristics of some pins of the ST10F168 but no longer on the ST10F269 where the POCONx registers have been added for this purpose (see New Registers section). ST10F168: PICON (F1C4h / E2h) 15 14 13 12 - - P8LOUT P7LOUT RW RW ESFR 11 10 9 8 Reset Value: 0000h 7 6 P3HOUT P3LOUT P2HOUT P2LOUT P8LIN P7LIN RW RW RW ST10F269: PICON (F1C4h / E2h) RW RW 5 4 - - RW 3 1 0 P3HIN P3LIN P2HIN P2LIN RW ESFR RW RW RW Reset Value: 0000h 15 14 13 12 11 10 9 8 7 6 5 4 - - - - - - - - P8LIN P7LIN - P4LIN RW RW Bit Name 2 RW 3 2 P3HIN P3LIN RW RW 1 0 P2HIN P2LIN RW RW Function PxLIN 0 Port x Low Byte Input Level Selection Pins P2.7...P2.0 switch on standard TTL input levels 1 Pins P2.7...P2.0 switch on special threshold input levels PxHIN Port x High Byte Input Level Selection P4LIN Port 4 Input Level Selection Added on ST10F269 Port x Low Byte Output Driver Characteristic Selection Only for ST10F168 PxLOUT 0 Pins Px.7...0 output driver strength is reduced after reaching VOL or VOH 1 Pins Px.7...0 output drive is not reduced after reaching VOL or VOH PxHOUT Port x High Byte Output Driver Characteristic Selection 0 Pins Px.15...8 output driver strength is reduced after reaching VOL or VOH 1 Pins Px.15...8 output drive is not reduced after reaching VOL or VOH Only for ST10F168 4.1.1 - Hardware Impacts None. 4.1.2 - Software Impacts The initialization of the PICON register is impacted. Moreover some other registers will have to be configured. The initialization of the output driver characteristic has to be done through the POCON registers and the high byte of the PICON register is reserved on the ST10F269. Check that the ST10F168 software was not writing in bit4 of PICON which is no longer reserved on the ST10F269. 9/16 AN1313 - APPLICATION NOTE 4.2 - WDTCON Register Some bits have been added for the ST10F269. Each of the different reset sources is indicated in the WDTCON register of the ST10F269. The indicated bits are cleared with the EINIT instruction. It is thus possible to identify the reset during the initialization phase. ST10F168: WDTCON (FFAEh / D7h) 15 14 13 12 11 10 SFR 9 8 WDTREL Reset Value: 000Xh 7 6 5 4 3 2 - - - - - - RW 14 13 12 11 10 SFR 9 8 WDTREL RW Reset Value: 000Xh 7 6 - - RW Bit 0 WDTR WDTIN R ST10F269: WDTCON (FFAEh / D7h) 15 1 5 4 3 PONR LHWR SHWR R R R 2 SWR R 1 0 WDTR WDTIN R RW Function WDTIN Watchdog Timer Input Frequency Selection WDTR 0 Input frequency is fCPU / 2 1 Input frequency is fCPU / 128 Watchdog Timer Reset Indication Flag Set by the watchdog timer on an overflow. Cleared by a hardware reset or by the SRVWDT instruction. SWR 1) Software Reset Indication Flag Set by the SRST execution. New Cleared by the EINIT instruction. SHWR 1) Short Hardware Reset Indication Flag Set by the input RSTIN. New Cleared by the EINIT instruction. LHWR 1) Long Hardware Reset Indication Flag New Set by the input RSTIN. Cleared by the EINIT instruction. PONR 1)2) Power-On (Asynchronous) Reset Indication Flag New Set by the input RSTIN if a power-on condition has been detected. Cleared by the EINIT instruction. WDTREL Note: Watchdog Timer Reload Value (for the high byte) More than one reset indication flag may be set. After EINIT, all flags are cleared. Power-on is detected when the internal voltage rises from 0V to a value > 2.0V is recognized. 4.2.1 - Hardware Impacts None. 4.2.2 - Software Impacts None if the ST10F168 software was masking the non-implemented bits. 10/16 AN1313 - APPLICATION NOTE 5 - NEW REGISTERS 5.1 - New Registers Impacting the Application This section presents new registers that have to be considered when porting an application running on the ST10F168 onto the ST10F269. 5.1.1 - XPERCON Register The ST10F269 has a new register named XPERCON that allows the XBUS peripherals to be separately selected for being visible to the user by means of corresponding bits. If not selected (not activated with a bit of XPERCON) before the XPEN bit in SYSCON is set, the corresponding address space, port pins and interrupts are not occupied by the peripheral, and thus this peripheral is not visible and not available. ST10F269: XPERCON (F024h / 12h) ESFR Reset Value: 0005h 15 14 13 12 11 10 9 8 7 6 5 - - - - - - - - - - - 4 3 2 RTCEN XRAM2EN XRAM1EN RW RW RW 1 0 CAN2EN CAN1EN RW RW Table 3 : XPERCON Register Bits Bit Number 0 1 2 3 4 5...15 Bit Name Function CAN1EN CAN1 Enable Bit 0 Accesses to the on-chip CAN1 XPeripheral and its functions are disabled (P4.5 and P4.6 pins can be used as general purpose IOs, but address range 00’EE00h -00EFFFh is only directed to external memory if CAN2EN is ’0’ also.) 1 The on-chip CAN1 XPeripheral is enabled and can be accessed. CAN2EN CAN2 Enable Bit 0 Accesses to the on-chip CAN2 XPeripheral and its functions are disabled (P4.5 and P4.6 pins can be used as general purpose IOs, but address range 00’EE00h -00EFFFh is only directed to external memory if CAN1EN is ’0’ also.) 1 The on-chip CAN2 XPeripheral is enabled and can be accessed. XRAM1EN XRAM1 Enable Bit 0 Accesses to the on-chip 2KByte XRAM are disabled, external access performed. 1 The on-chip 2KByte XRAM is enabled and can be accessed. XRAM2EN XRAM2 Enable Bit 0 Accesses to the on-chip 8KByte XRAM are disabled, external access performed. 1 The on-chip 8KByte XRAM is enabled and can be accessed. RTCEN RTC Enable Bit 0 Accesses to the on-chip Real Time Clock are disabled, external access performed. Address range 00’EC00h-00’EFFFh is only directed to external memory if CAN1EN and CAN2EN are ‘0’ also. 1 The on-chip Real Time Clock is enabled and can be accessed. Reset Value 1 0 1 0 0 Reserved 11/16 AN1313 - APPLICATION NOTE 5.1.1.1 - Hardware Impacts None. 5.1.1.2 - Software Impacts The value has to be changed from its default reset one to match XRAM size compatibility. Refer to XRAM section for more details. 5.1.2 - POCONx Registers These are new registers of the ST10F269. The port output control registers POCONx allow to select the port output driver characteristics of a port. The aim of these selections is to adapt the output drivers to the application’s requirements, and to improve the EMI behavior of the device. Two characteristics may be selected: – Edge characteristic defines the rise/fall time for the respective output, i.e. the transition time. Slow edge reduce the peak currents that are sunk/sourced when changing the voltage level of an external capacitive load. For a bus interface or pins that are changing at frequency higher than 1MHz, however, fast edges may still be required. – Driver characteristic defines either the general driving capability of the respective driver, or if the driver strength is reduced after the target output level has been reached or not. Reducing the driver strength increases the output’s internal resistance, which attenuates noise that is imported via the output line. For driving LEDs or power transistors, however, a stable high output current may still be required. POCONx 15 14 ESFR 13 12 11 10 9 8 Reset Value: 0000h 7 6 5 4 3 2 1 0 PNzDC PNzEC PNyDC PNyEC PNxEC PNxEC PNwEC PNwEC RW RW RW RW RW RW RW RW Table 4 : POCONx Registers Bits Function Bit PNxEC Port Nibble x Edge Characteristic (rise/fall time) 00 01 Fast edge mode, rise/fall times depend on the driver’s dimensioning. Slow edge mode, rise/fall times ~60 ns 10 Reserved 11 Reserved PNxDC Port Nibble x Driver Characteristic (output current) 00 Reset value 00 00 High Current mode: Driver always operates with maximum strength. 01 Dynamic Current mode: Driver strength is reduced after the target level has been reached. 10 Low Current mode: Driver always operates with reduced strength. 11 Reserved The new registers are the following: – POCON0L, POCON0H, POCON1L, POCON1H, POCON2, POCON3, POCON4, POCON5, POCON6, POCON7 and POCON8 dealing with the respective ports, – POCON20 dealing with the dedicated pins ALE, RD and WR. 5.1.2.1 - Hardware Impacts ST10F168 and ST10F269 ports don’t have the same behavior in their default reset configuration. The ST10F269 default reset values select the “Fast Edge Mode” and the “High Current Mode”, while the ST10F168 is designed for “Fast Edge Mode” and “Dynamic Current Mode”. 12/16 AN1313 - APPLICATION NOTE 5.1.2.2 - Software Impacts To have on the ST10F269 a behavior equivalent to the ST10F168’s one, POCONx values must be set to the following: – 0x0044h for POCON0L, POCON0H, POCON1L, POCON1H, POCON4, POCON5, POCON6, POCON7, POCON8 and POCON20, – 0x4444h for POCON2 and POCON3. 5.2 - New Registers not Impacting the Application 5.2.1 - ODP4 Register (F1CAh / E5h) This is a new register of the ST10F269. For CAN configuration support, Port 4 has a new open drain function controlled with this register. 5.2.2 - EXISEL Register (F1DAh / DAh) This register, standing for External Interrupt Source Selection, has been added in the ST10F269. The purpose of this new register is to select the interrupt sources of the fast external interrupts among the other peripherals. For example the CANy controller receive signal (CANy_RxD) can be used to interrupt the system (y = 1,2). 13/16 AN1313 - APPLICATION NOTE 6 - ELECTRICAL CHARACTERISTICS 6.1 - DC Characteristics 6.1.1 - Absolute Maximum Ratings They are the same. 6.1.2 - DC Characteristics 6.1.2.1 - Operating Voltage The ST10F269 appears like a 5V device externally but operates at a lower internal voltage thanks to a voltage regulator. Hardware Impacts The pins 56 and 17 which were used as VDD and GND for the ST10F168. Now for the ST10F269, these pins are named DC1 and DC2, respectively pins 56 and 17, and are used as de-coupling pins for the internal core supply. Software Impacts None. 6.1.2.2 - Programming Voltage The ST10F269 has a single voltage Flash Memory. Hardware Impacts The 12V input on the pin 84 is no longer needed. Software Impacts None. 6.1.2.3 - Miscellaneous Table 5 : DC Characteristics Differences ST10F168 Symbol ST10F269 Parameter Unit Minimum Maximum Minimum Maximum 300 - 400 - mV HYS Input Hysteresis (special threshold) IALEH ALE active current - 600 - 500 µA IPD Power-down mode supply current - 100 - 500 µA IPD2 Power-down mode supply current (Real time clock enabled, oscillator enabled) - - - 5 mA ICC Power supply current - 20 + 6 x FCPU - 30 + 4 x FCPU mA IID Idle mode supply current - 20 + 3 x FCPU - 20 + FCPU mA 6.2 - AC characteristics at 25MHz 6.2.1 - Hardware Impact None. 6.2.2 - Software Impact None. 14/16 AN1313 - APPLICATION NOTE 7 - REFERENCES The following internal documents were used to write this application note: – ST10F269 Data sheet. – ST10F168 Data sheet. 15/16 AN1313 - APPLICATION NOTE Please Read Carefully: Information in this document is provided solely in connection with ST products. STMicroelectronics NV and its subsidiaries (“ST”) reserve the right to make changes, corrections, modifications or improvements, to this document, and the products and services described herein at any time, without notice. All ST products are sold pursuant to ST’s terms and conditions of sale. Purchasers are solely responsible for the choice, selection and use of the ST products and services described herein, and ST assumes no liability whatsoever relating to the choice, selection or use of the ST products and services described herein. No license, express or implied, by estoppel or otherwise, to any intellectual property rights is granted under this document. If any part of this document refers to any third party products or services it shall not be deemed a license grant by ST for the use of such third party products or services, or any intellectual property contained therein or considered as a warranty covering the use in any manner whatsoever of such third party products or services or any intellectual property contained therein. UNLESS OTHERWISE SET FORTH IN ST’S TERMS AND CONDITIONS OF SALE ST DISCLAIMS ANY EXPRESS OR IMPLIED WARRANTY WITH RESPECT TO THE USE AND/OR SALE OF ST PRODUCTS INCLUDING WITHOUT LIMITATION IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE (AND THEIR EQUIVALENTS UNDER THE LAWS OF ANY JURISDICTION), OR INFRINGEMENT OF ANY PATENT, COPYRIGHT OR OTHER INTELLECTUAL PROPERTY RIGHT. ST PRODUCTS ARE NOT DESIGNED OR AUTHORIZED FOR USE IN: (A) SAFETY CRITICAL APPLICATIONS SUCH AS LIFE SUPPORTING, ACTIVE IMPLANTED DEVICES OR SYSTEMS WITH PRODUCT FUNCTIONAL SAFETY REQUIREMENTS; (B) AERONAUTIC APPLICATIONS; (C) AUTOMOTIVE APPLICATIONS OR ENVIRONMENTS, AND/OR (D) AEROSPACE APPLICATIONS OR ENVIRONMENTS. WHERE ST PRODUCTS ARE NOT DESIGNED FOR SUCH USE, THE PURCHASER SHALL USE PRODUCTS AT PURCHASER’S SOLE RISK, EVEN IF ST HAS BEEN INFORMED IN WRITING OF SUCH USAGE, UNLESS A PRODUCT IS EXPRESSLY DESIGNATED BY ST AS BEING INTENDED FOR “AUTOMOTIVE, AUTOMOTIVE SAFETY OR MEDICAL” INDUSTRY DOMAINS ACCORDING TO ST PRODUCT DESIGN SPECIFICATIONS. PRODUCTS FORMALLY ESCC, QML OR JAN QUALIFIED ARE DEEMED SUITABLE FOR USE IN AEROSPACE BY THE CORRESPONDING GOVERNMENTAL AGENCY. Resale of ST products with provisions different from the statements and/or technical features set forth in this document shall immediately void any warranty granted by ST for the ST product or service described herein and shall not create or extend in any manner whatsoever, any liability of ST. ST and the ST logo are trademarks or registered trademarks of ST in various countries. Information in this document supersedes and replaces all information previously supplied. The ST logo is a registered trademark of STMicroelectronics. All other names are the property of their respective owners. © 2013 STMicroelectronics - All rights reserved STMicroelectronics group of companies Australia - Belgium - Brazil - Canada - China - Czech Republic - Finland - France - Germany - Hong Kong - India - Israel - Italy - Japan Malaysia - Malta - Morocco - Philippines - Singapore - Spain - Sweden - Switzerland - United Kingdom - United States of America www.st.com 16/16 DocID7589 Rev 2