전자부품 데이터시트 검색엔진
  Korean  ▼
ALLDATASHEET.CO.KR

X  

AN3181 데이터시트(PDF) 17 Page - STMicroelectronics

부품명 AN3181
상세설명  Guidelines for obtaining IEC 60335 Class B certification in an STM8 application
PDF  31 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
제조업체  STMICROELECTRONICS [STMicroelectronics]
홈페이지  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

AN3181 데이터시트(HTML) 17 Page - STMicroelectronics

Back Button AN3181 Datasheet HTML 13Page - STMicroelectronics AN3181 Datasheet HTML 14Page - STMicroelectronics AN3181 Datasheet HTML 15Page - STMicroelectronics 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 Next Button
Zoom Inzoom in Zoom Outzoom out
 17 / 31 page
background image
AN3181
Class B solution structure
Doc ID 17286 Rev 2
17/31
4
Class B solution structure
4.1
Integrating software into user application
Class B routines are divided into two main processes: periodic run mode self tests and
startup tests. The periodic run mode test must be initialized by the set-up block before it is
applied. All the blocks are checked by sufficient flow control checked at a number of flow
check points (see Section 3.1.3: Class B flow control). All class B variables are kept
redundantly in a pair of control registers stored in the Class B variable space defined by user
(see Section 3.1.2: Class B variables). This variable space is split into two separate RAM
regions which are permanently undergoing the transparent test as a part of run mode tests.
Figure 4: Integration of startup and periodic run mode self tests into application shows the
basic principle of how to integrate the Class B software package into user software. The
reset vector should be forced by the user to STL_StartUp() routine which collects all system
startup self tests. If they pass successfully, then the standard initialization procedure of
C-compiler routine is performed. While the application is running, periodic tests must be
executed at regular intervals. To ensure this, the user must initialize these tests by calling
the initialization routine STL_InitRunTimeChecks() before entering main loop and then
inserting a periodical call of STL_DoRunTimeChecks() at main level. For best results, this
should be inside the main loop. TIM4 (or TIM6 for some devices), which is configured during
initialization routine to generate periodic system interrupts, provides the time base for all the
tests. Short partial transparent RAM March C- or March X check is performed at each
interrupt tick. If any self test fails, FailSafe() routine is called.
Figure 4.
Integration of startup and periodic run mode self tests into application
4.2
Detailed description of startup self tests
The startup self test is forced during initialization phase as the earliest checking process
after resetting the microcontroller (see Figure 4) and before standard application startup



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


데이터시트 다운로드

Go To PDF Page


링크 URL



ALLDATASHEET 가 귀하에 도움이 되셨나요?  [ DONATE ] 

Alldatasheet는?   |   광고문의   |   운영자에게 연락하기   |   개인정보취급방침   |   링크 투 데이터시트    |   링크교환   |   제조사별 검색
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