Part Number Hot Search : 
HETD1302 DL163 KDZ100V R3000 2N6106 5EN103J7 TM5182 A2630
Product Description
Full Text Search
 

To Download TN1178 Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
  may 2014 docid026291 rev 1 1/13 TN1178 technical note migrating from stm32l15/6xxd to stm32l15/6xxe introduction to ease the development of stm32 microcontroller applications, it is important to be able to smoothly replace one microcontroller type with another from the same product family. the purpose of this technical note is to help users with the migration from an stm32l15/6xxd (348kb flash) device to an stm32l15/6xxe (512kb flash) device. this document includes the relevant information for users. prior to migrating an application, users need to analyze the hardware migration, the peripheral migration and the firmware migration. to better understand the information included in this technical note, users should be familiar with the stm32l1 microcontroller family. for additional information, please refer to the stm32l100xx, stm32l151xx, stm32l152xx and stm32l162xx advanced arm ? -based 32-bit mcus reference manual rm0038 in which stm32l15/6xxd is ?cat.4? device, stm32l15/6xxe is ?cat.5? device, and to the stm32l15/6xxd, stm32l15/6xxe datasheets. documents are available for download from the company website at www.st.com/stm32 . table 1 lists the stm32 microcontrollers concerned by this technical note. table 1. applicable products type reference products microcontrollers stm32l151qd, stm32l151rd, stm32l151vd, stm32l151zd, stm32l152qd, stm32l152rd, stm32l152vd, stm32l152zd, stm32l162qd, stm32l162rd, stm32l162vd, stm32l162zd, stm32l151qe, stm32l151re, stm32l151ve, stm32l151ze stm32l152qe, stm32l152re, stm32l152ve, stm32l152ze, stm32l162re, stm32l162ve, stm32l162ze. www.st.com
contents TN1178 2/13 docid026291 rev 1 contents 1 codification/package changes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4 2 hardware migration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 3 peripheral migration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 3.1 main peripherals/system changes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 3.1.1 memory space increase . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 3.1.2 fsmc removal . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 3.1.3 sdio removal . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 3.1.4 opamp3 removal . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 3.2 device limitation changes/updates . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 3.2.1 stm32l15/6xxd-specific limitations . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 3.2.2 stm32l15/6xxe-specific limitations . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 4 development tool adaptations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10 5 consumption comparison . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11 6 revision history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
docid026291 rev 1 3/13 TN1178 list of tables 3 list of tables table 1. applicable products. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 table 2. stm32l15/6xxd and stm32l15/6xxe codification summary . . . . . . . . . . . . . . . . . . . . . . . 4 table 3. stm32l15/6xxd and stm32l15/6xxe device difference summary. . . . . . . . . . . . . . . . . . . 6 table 4. consumption difference summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11 table 5. document revision history. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
codification/package changes TN1178 4/13 docid026291 rev 1 1 codification/package changes table 2 presents the list of references, part numbers and packages for the stm32l15/6xxd and stm32l15/6xxe products. the changes and similarities in the codification/packages in stm32l15/6xxe versus stm32l15/6xxd are the following: ? the packages are the same except the wlcsp packages, ? the pinout is the same except for wlcsp packages. table 2. stm32l15/6xxd and stm32l15/6xxe codification summary device description reference product part number packages up to: stm32l15/6xxd - 384kb flash 48kb ram 12kb eeprom stm32l151xd stm32l152xd stm32l162xd stm32l151qd stm32l151rd stm32l151vd stm32l151zd stm32l152qd stm32l152rd stm32l152vd stm32l152zd stm32l162rd stm32l162vd stm32l162zd lqfp144 lqfp100 lqfp64 ufbga132 wlcsp64 up to: stm32l15/6xxe - 512kb flash 80kb ram 16kb eeprom stm32l151xe stm32l152xe stm32l162xe stm32l151qe stm32l151re stm32l151ve stm32l151ze stm32l152qe stm32l152re stm32l152ve stm32l152ze stm32l162re stm32l162ve stm32l162ze lqfp144 lqfp100 lqfp64 ufbga132 wlcsp104
docid026291 rev 1 5/13 TN1178 hardware migration 12 2 hardware migration the stm32l15/6xxd and stm32l15/6xxe devices are produced in the same packages and are pin-to-pin compatible except for wlcsp packages. all common peripherals share the same pins. the fsmc and sdio and opamp3 peripherals are not present in stm32l15/6xxe devices. in case fsmc or sdio or the opamp3 were used in stm32l15/6xxd and are no longer needed in the stm32l15/6xxe-based new design, some hardware changes are needed when migrating from stm32l15/6xxd to stm32l15/6xxe devices. in case fsmc or sdio or opamp3 peripheral were not used in stm32l15/6xxd hardware design, the transition from the stm32l15/6xxd device to the stm32l15/6xxe device is simple. the device can be replaced without any hardware change on the application pcb.
peripheral migration TN1178 6/13 docid026291 rev 1 3 peripheral migration table 3 lists the main product peripherals and system features for both product sets. the common peripherals are supported with the dedicated firmware library (from version 1.3.0) without any modification. users can change the instance and all the related features (clock configuration, pin configuration, interrupt/dma request). the main peripherals changes are described in section 3.1: main peripherals/system changes . the changes which are also needed in the development tools configuration are described in section 4: development tool adaptations . table 3 presents the differences between stm32l15/6xxd and stm32l15/6xxe devices regarding the peripherals and system differences, as well as the impact on the software. table 3. stm32l15/6xxd and stm32l15/6xxe device difference summary function stm32l15/6xxd stm32l15/6xxe behavior / impact to software core @ 32mhz arm ? cortex ? -m3 arm ? cortex ? -m3 - max dmips/mhz 1.25 1.25 - flash [kb] dual bank 2 x 192 kb dual bank 2 x 256 kb enhancement. more complex applications can be stored into the flash memory. ram [kb] 48 80 enhancement. the application can use larger ram memory space. eeprom [kb] dual bank 2 x 6 kb dual bank 2 x 8 kb enhancement. the application can use larger eeprom memory space. backup registers [b] 128 128 - flash interface [bits] 64/32 64/32 - bootloader usart/usb usart/usb - dma / channels 2 / 12ch 2 / 12ch - usart/uart 3 / 2 3 / 2 - spi / i2s 3 / 2 3 / 2 - i2c 22 - usb 2.0 1 x fs 1 x fs - lcd [seg x com] 8 x 40 8 x 40 - lcd rails decoupling no no - timer [32-bit/16-bit/lite] 1/6/2 1/6/2 - iwdg/wwdg 1/1 1/1 -
docid026291 rev 1 7/13 TN1178 peripheral migration 12 clock hsi/hse/lsi/lse css on hse/lse hsi/hse/lsi/lse css on hse/lse - hsi/hsi clock trimming +/- 1% +/- 1% - rtc version rtc v2.0 rtc v2.0 - dac 22 - adc (total / fast channels) 1 (40 / 6) 1 (40 / 6) - comparator 22 - touch sensing [channels] 34 34 - temperature sensor yes yes - internal voltage reference yes yes - unique id yes yes - mco yes yes - fsmc yes no fsmc is not present. hardware and software must be adapted in stm32l15/6xxe if fsmc is used in stm32l15/6xxd. sdio yes no sdio is not present. hardware and software must be adapted in stm32l15/6xxe if sdio is used in stm32l15/6xxd. operational amplifier 32 opamp3 is not present. hardware and software must be adapted in stm32l15/6xxe if opamp3 is used in stm32l15/6xxd. table 3. stm32l15/6xxd and stm32l15/6xxe device difference summary (continued) function stm32l15/6xxd stm32l15/6xxe behavior / impact to software
peripheral migration TN1178 8/13 docid026291 rev 1 3.1 main peripherals/system changes some system properties and peripherals configuration are changed in the stm32l15/6xxe device. the following sections describe these changes. 3.1.1 memory space increase the memory areas are increased in the stm32l15/6xxe device as follows: ? flash: from 384 kb to 512 kb ? ram: from 48 kb to 80 kb ? eeprom: from 12 kb to 16 kb the memory increases permit to use stm32l15/6xxe device in more complex applications. 3.1.2 fsmc removal the flexible static memory controller (fsmc) is not present in the stm32l15/6xxe device. the software and hardware must be adapted when migrating to stm32l15/6xxe device in case the fsmc peripheral is used in the hardware design using the stm32l15/6xxd device. the stm32l15/6xxe features more flash memory (512kb) than the stm32l15/6xxd (384 kb). this additional memory can replace the need for some external memory connected through fsmc interface. 3.1.3 sdio removal the secure digital input/output interface (sdio) is not present in the stm32l15/6xxe device. the software and hardware must be adapted when migrating to stm32l15/6xxe device in case the sdio peripheral is used in the hardware design using the stm32l15/6xxd device. the stm32l15/6xxe features more flash memory (512kb) than stm32l15/6xxd (384kb) and this additional memory can replace the need for an external memory connected through the sdio interface. 3.1.4 opamp3 removal one operational amplifier (opamp3) is not present in the stm32l15/6xxe device. the software and hardware must be adapted when migrating to stm32l15/6xxe device in case the opamp3 peripheral is used in the hardware design using the stm32l15/6xxd device. 3.2 device limitation changes/updates the errata sheet on stm32l15/6xxe devices is available on the company website at www.st.com . several limitations that had been reported for the stm32l15/6xxd have been solved, while other limitations have been introduced. this section describes the changes in the device limitations. please refer to stm32l15/6xxd errata sheet and stm32l15/6xxe errata sheet for details on the device limitations.
docid026291 rev 1 9/13 TN1178 peripheral migration 12 3.2.1 stm32l15/6xxd-specific limitations the following limitations that apply to stm32l15/6xxd devices do not apply to stm32l15/6xxe devices: ? missing analog switch on gpio pc10, ? pull-up on pb7 when configured in analog mode, ? debugging stop mode with wfe entry. 3.2.2 stm32l15/6xxe-specific limitations the following limitations which do not concern the stm32l15/6xxd devices have been introduced for stm32l15/6xxe devices: ? erase/program operations partially executed if used multi-cycle strd instruction is interrupted, ? data eeprom cycling is limited to 100 kcycles instead of 300 kcycles.
development tool adaptations TN1178 10/13 docid026291 rev 1 4 development tool adaptations when migrating from stm32l15/6xxd to stm32l15/6xxe some changes in the development tools are necessary. following the change of device identifier (dev_id) and some peripherals changes with the addition of new features, it has been necessary to upgrade the development tools as detailed hereafter. 1. dev_id changes: in stm32l15/6xxd devices, dev_id = 0x436 in stm32l15/6xxe devices, dev_id = 0x437 if the software or programming tool is using dev_id[11:0] field (in dbgmcu_idcode register) then the relevant changes must be applied in the software or tool. 2. changes in the development tool configurations: a) iar - install the latest version or apply the patch provided by st support team to support the stm32l15/6xxe device, and change the device type in the configuration. b) keil - install the latest version that supports the stm32l15/6xxe device, change the device type in the configuration, and change the st-link programming algorithm. c) others - install the latest version that supports the stm32l15/6xxe device, and change the device type in the configuration. 3. stm32l1xx standard peripherals library update: stm32l15/6xxe devices are supported in the latest version of stm32l1xx standard peripherals library. make sure to use the latest version of stm32l1xx standard peripherals library to use the stm32l15/6xxe device features. a) define the macro stm32l1xx_xl and use in the project the startup_stm32l1xx_xl.s file. b) rebuild the existing project with the new library so it can be run on stm32l15/6xxe devices. 4. programming tool adaptations: in the programming tool configurations (for example st-link with the related software) the device type must be changed to correctly program the new stm32l15/6xxe devices. use the latest st visual programmer (stvp) or the latest st-link utility which support the stm32l15/6xxe devices (both are available at www.st.com/stm32 ).
docid026291 rev 1 11/13 TN1178 consumption comparison 12 5 consumption comparison the stm32l15/6xxe devices feature less dynamic consumption than the stm32l15/6xxd devices, due to the advanced manufacturing technology. the power consumptions in low- power modes are on similar levels. table 4 shows the differences in power consumption between the devices in the various operating modes. table 4. consumption difference summary parameters (all at v dd =3v) stm32l15/6xxd stm32l15/6xxe full speed from flash (32 mhz in hsi) 325 a/mhz 270 a/mhz msi clock from flash (4.2 mhz) 230 a/mhz 195 a/mhz low-power run from ram @ 32 khz 12.5 a 11.0 a low-power sleep from ram @ 32 khz 6.1 a 5.5 a stop mode 476 na 560 na stop mode with rtc on lsi 1.35 a 1.40 a standby mode 305 na 290 na standby mode with rtc on lsi 1.16 a 1.04 a
revision history TN1178 12/13 docid026291 rev 1 6 revision history table 5. document revision history date revision changes 23-may-2014 1 initial release.
docid026291 rev 1 13/13 TN1178 13 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 he rein at any time, without notice. a ll 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 as sumes 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. i f 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 whatsoev er 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? industr y 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 whatsoev er, 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. ? 2014 stmicroelectronics - all rights reserved stmicroelectronics group of companies australia - belgium - brazil - canada - china - czech republic - finland - france - germany - hong kong - india - israel - ital y - japan - malaysia - malta - morocco - philippines - singapore - spain - sweden - switzerland - united kingdom - united states of america www.st.com


▲Up To Search▲   

 
Price & Availability of TN1178

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X