Electronic Components Datasheet Search
  English  ▼

X  

AN3139 Datasheet(PDF) 13 Page - STMicroelectronics

Part # AN3139
Description  Migration and compatibility guidelines for STM8L microcontroller applications
PDF  63 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  STMICROELECTRONICS [STMicroelectronics]
Direct Link  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

AN3139 Datasheet(HTML) 13 Page - STMicroelectronics

Back Button AN3139 Datasheet HTML 9Page - STMicroelectronics AN3139 Datasheet HTML 10Page - STMicroelectronics AN3139 Datasheet HTML 11Page - STMicroelectronics AN3139 Datasheet HTML 12Page - STMicroelectronics AN3139 Datasheet HTML 13Page - STMicroelectronics AN3139 Datasheet HTML 14Page - STMicroelectronics AN3139 Datasheet HTML 15Page - STMicroelectronics AN3139 Datasheet HTML 16Page - STMicroelectronics AN3139 Datasheet HTML 17Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 13 / 63 page
background image
AN3139
STM8L family compatibility
Doc ID 16993 Rev 3
13/63
Figure 2.
STM8L10x code example
Figure 3.
STM8L15x code example
All parameters are identical, and the procedure is similar with two function calls for both con-
figuration and startup.
The main difference is the additional peripherals of the same type that are added in the
STM8L15x sub-family:
when migrating from STM8L10x sub-family to STM8L15x sub-family, the additional
peripheral must be added in every firmware library function as the first parameter (refer
to Figure 3)
when migrating from STM8L15x sub-family to STM8L10x sub-family, the additional
peripheral given as the first parameter in every firmware library function must be
removed (refer to Figure 2)
Another difference in the SPI peripheral is the CRC capability which is supported only in the
STM8L15x devices. In the above example (Figure 3.), the CRC polynomial “0x07” is explic-
itly defined. This CRC polynomial parameter must be removed from the “init” function in the
case of a migration from the STM8L15x sub-family to the STM8L10x sub-family.
The following table shows an overview of the firmware library compatibility between the two
sub-families STM8L10x and STM8L15x/STM8L16x and between the different peripherals of
the STM8L15x/STM8L16x sub-family. It describes the differences in terms of:
1.
New features like the IrDA, Smartcard, Halfduplex and DAC dual channel features
2.
Common features but with different implementations, like the comparator and CLK
initialization.



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com