Electronic Components Datasheet Search
  English  ▼

X  

AN3307 Datasheet(PDF) 15 Page - STMicroelectronics

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

AN3307 Datasheet(HTML) 15 Page - STMicroelectronics

Back Button AN3307 Datasheet HTML 11Page - STMicroelectronics AN3307 Datasheet HTML 12Page - STMicroelectronics AN3307 Datasheet HTML 13Page - STMicroelectronics AN3307 Datasheet HTML 14Page - STMicroelectronics AN3307 Datasheet HTML 15Page - STMicroelectronics AN3307 Datasheet HTML 16Page - STMicroelectronics AN3307 Datasheet HTML 17Page - STMicroelectronics AN3307 Datasheet HTML 18Page - STMicroelectronics AN3307 Datasheet HTML 19Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 15 / 37 page
background image
AN3307
Class B software package
Doc ID 18186 Rev 4
15/37
Figure 1.
Example of RAM memory configuration
4.1.3
Class B flow control
A specific software method is used to check if all parts of the test flow are successfully
passed. Unique labels (constant numbers) are defined for identifying all key points (blocks
with component tests) in the code flow in order to make sure no block is skipped and all of
them are performed as expected. The unique labels are processed in two complementary
counters to comply with class B variable criteria. The main principle is a symmetrical
four-step change of the counter pair content (adding or subtracting the unique label values)
each time any significant testing block is processed. Two of the steps check if the block is
correctly called from the main flow level (processed just before calling and just after return
from the called procedure). The next two steps check if the block is correctly completed
inside the called procedure (processed just after entry and just before return from the
procedure). An example is given in Figure 2, where a routine performing a component test is
called in the checked flow sequence and the four-step checking service is shown. This
method decreases the load on the CPU as all these points are always checked by counting
one member of the complementary counter pair only. As there is always the same number
of call/return and entry/exit points, the values stored in the counter pair must be always
complementary ones after any block is passed completely. Several execution flow check
points are evaluated and placed in the code flow where the integrity of the counter pair is
checked. If the counters are not complementary or they do not contain the expected values
at any of these checkpoints, the Fail Safe routine is called.
RAM Buffer location + pointer
Class B variables
redundant complementary values)
Class B variables
(normal values)
Class A variables
A specific pattern is stored here to
detect stack overflow / unterflow
Stack
Unused RAM
MS18590V1



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


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