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

X  

AN1353 데이터시트(PDF) 4 Page - STMicroelectronics

부품명 AN1353
상세설명  ASD ST62000C software description for cooling thermostat applicatons
PDF  17 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
제조업체  STMICROELECTRONICS [STMicroelectronics]
홈페이지  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

AN1353 데이터시트(HTML) 4 Page - STMicroelectronics

  AN1353 Datasheet HTML 1Page - STMicroelectronics AN1353 Datasheet HTML 2Page - STMicroelectronics AN1353 Datasheet HTML 3Page - STMicroelectronics AN1353 Datasheet HTML 4Page - STMicroelectronics AN1353 Datasheet HTML 5Page - STMicroelectronics AN1353 Datasheet HTML 6Page - STMicroelectronics AN1353 Datasheet HTML 7Page - STMicroelectronics AN1353 Datasheet HTML 8Page - STMicroelectronics AN1353 Datasheet HTML 9Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 4 / 17 page
background image
Main program
AN1353
4/17
Rev 2
Figure 2.
Timing definition
3.2
Subroutines execution time checking
In order not to miss the timer interrupt events, the CPU must be completely free and ready
to check the timer interrupt flag. This means that all subroutines must be completed before
the expected end of the timer decrementation.
Figure 2 shows that the subroutines are placed at different moments, depending on their
length. For exam-ple, the longest CPU action is when the MCU calculates the T1 to T5
delays. This action can last up to more than 7.2 ms for a 4 MHz MCU clock frequency. Then,
there is not enough time available between two timer interrupts to calculate these five
values. This is the reason why the delay calculation subroutine has been split into two parts
(Calcul-Delay_1 and Calcul-Delay_2). These two parts are respectively placed during T4
and DELTAT decounts
Table 3 gives the maximum duration of each subroutine (for a 4 MHz clock frequency, and
the for the lon-gest software loops).
Table 4 gives the code execution maximum times for all the instructions written in the
software, before each subroutine (“code execution time” column). Then, according to the
implemented durations, the time, still available for the CPU, is given with a 0.2 ms safety
margin.
Subroutines
PA1 / PA2
PA3
T1 T2
T3
T4
T5
DELTAT
NMI
Calcul
Delay 1
Motor
Status
Current
Measure
Calcul
Delay 2
Loads
Control
Mains Voltage
Table 3.
Subroutines maximum durations
SUBROUTINE NAME
MAXIMUM TIME
Loads_Control
0.93 ms
Motor_Status
0.26 ms
Current_Measure
0.92 ms
Calcul_Delay_1
1.75 ms
Calcul_Delay_2
5.49 ms



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17


데이터시트 다운로드

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