Electronic Components Datasheet Search
  English  ▼

X  

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

Back Button AN3307 Datasheet HTML 28Page - STMicroelectronics AN3307 Datasheet HTML 29Page - STMicroelectronics AN3307 Datasheet HTML 30Page - STMicroelectronics AN3307 Datasheet HTML 31Page - STMicroelectronics AN3307 Datasheet HTML 32Page - STMicroelectronics AN3307 Datasheet HTML 33Page - STMicroelectronics AN3307 Datasheet HTML 34Page - STMicroelectronics AN3307 Datasheet HTML 35Page - STMicroelectronics AN3307 Datasheet HTML 36Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 32 / 37 page
background image
Class B solution structure
AN3307
32/37
Doc ID 18186 Rev 4
5.4.4
Clock runtime self-test
The clock runtime self-test uses a similar procedure to the one used in the startup self-test.
A few underflow cycles of the SysTick timer are performed at background processing level.
The number of LSI periods counted during this period by the RTC timer gives the runtime
HSE ratio (number of HSE pulses within the interval corresponding to the LSI period) which
is stored as a Class B variable by the STL_MeasurePeriod() function called by the SysTick
interrupt service routine. The HSE value is then computed at the main processing level in
the clock run self-test. The inputs are the same as in the startup test: known HSI reference
ratio value (stored in the initial startup test phase) and the currently measured HSE ratio. If
the computed HSE value deviates from the expected interval (more than +/- 25% of its
nominal value) the CPU clock source is immediately switched back to HSI, and HSE fail
status is returned. Otherwise the test returns OK status.
Figure 18. Clock runtime self-test structure
MS18903V1
Test OK
Fail Safe routine
Fail
HSE in range
+-25 %?
No
Yes
HSE = ( HSI * HSI Ref Ratio ) / HSE Run Ratio



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