Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.NET

X  

AN3181 Datasheet(PDF) 20 Page - STMicroelectronics

Part # AN3181
Description  Guidelines for obtaining IEC 60335 Class B certification in an STM8 application
PDF  31 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  STMICROELECTRONICS [STMicroelectronics]
Direct Link  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

AN3181 Datasheet(HTML) 20 Page - STMicroelectronics

Back Button AN3181 Datasheet HTML 16Page - STMicroelectronics AN3181 Datasheet HTML 17Page - STMicroelectronics AN3181 Datasheet HTML 18Page - STMicroelectronics AN3181 Datasheet HTML 19Page - STMicroelectronics AN3181 Datasheet HTML 20Page - STMicroelectronics AN3181 Datasheet HTML 21Page - STMicroelectronics AN3181 Datasheet HTML 22Page - STMicroelectronics AN3181 Datasheet HTML 23Page - STMicroelectronics AN3181 Datasheet HTML 24Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 20 / 31 page
background image
Class B solution structure
AN3181
20/31
Doc ID 17286 Rev 2
The user actually has a choice of three different methods for calculating the CRC (see
Figure 8) over the code memory content in the project.
●
An 8-bit check sum calculation over the 16-bit address space can be used for checking
up to 64 Kbytes of memory code, the simplest method.
●
A 16-bit check sum calculation over the 16-bit address space can be used for checking
up to 64 Kbytes of the memory code; this method is more precise and is the default
method.
●
A 16-bit check sum calculation over all the possible address space can be used when
the code memory exceeds 64 Kbytes, 24-bit addressing must be used; this way uses
the most code space and is the most time consuming.
The STM8 firmware includes six separate source files defined for each of these methods.
There is one pair for each method: one used for startup and one for run time. The user
should include the correct source file pair into the project.
Figure 8.
FLASH startup self test structure
4.2.4
Full RAM March C-/X self test
The whole RAM space is alternately filled and checked simultaneously by zero and 0xFF
pattern in six loops, either by March C- or March X algorithms. March X algorithm is faster
as the two middle steps are skipped over. The first three loops are performed in incremental
order of addresses the last three in decremented order. In case of error, FailSafe() routine is
called.



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


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