Electronic Components Datasheet Search
  New Zealand  ▼
ALLDATASHEET.CO.NZ

X  

AN3307 Datasheet(PDF) 14 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) 14 Page - STMicroelectronics

Back Button AN3307 Datasheet HTML 10Page - STMicroelectronics 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 Next Button
Zoom Inzoom in Zoom Outzoom out
 14 / 37 page
background image
Class B software package
AN3307
14/37
Doc ID 18186 Rev 4
4
Class B software package
This section highlights the basic common principles used in the ST software solution. The
workspace organization is described as well as configuration and debugging capabilities.
Any differences between the two supported development environments (IAR’s EWARM and
Keil’s MDK-ARM) are highlighted.
4.1
Basic software principles used
The basic software methods and common principles used for all the tests included in the ST
solution are described in detail in this section.
4.1.1
Fail Safe mode
If any failure is detected, the FailSafePOR() routine is called (defined in
stm32fxxx_STLstartup.c file). The program stays in an endless loop waiting for a
watchdog reset. Apart from some debugging features the routine is almost empty. Users
have to provide the content to the routine and ensure that it executes the right actions to
keep the application in a safe state.
The debug or verbose mode described in Section 4.3: Package configuration and
debugging can be used to identify which error has occurred.
4.1.2
Class B variables
Each class B variable is stored as a pair of two complementary values in two separate RAM
regions. Both normal and redundant complementary values are always placed in non
adjacent memory locations. A partial transparent RAM March C- or March X test is
performed continuously on these RAM areas by means of an interrupt subroutine. The pair
is compared for integrity each time before the value is used. If any value stored in the pair is
corrupted, Fail Safe mode is invoked. An example of RAM configuration can be seen in
Figure 1. Users can adapt the RAM space allocation according to the application needs and
the hardware capabilities of the device.



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