AN2687 Freescale Semiconductor / Motorola, AN2687 Datasheet - Page 44

no-image

AN2687

Manufacturer Part Number
AN2687
Description
BLDC Fan Control using the MC68HC908QT2
Manufacturer
Freescale Semiconductor / Motorola
Datasheet
AN2687/D
* --------------------------------------------------------------------------- *
* TIM1_ISR - Timer1 Interrupt Service Routine (Output compare)
* In
* Out
* Call
* --------------------------------------------------------------------------- *
TIM1_ISR:
* --------------------------------------------------------------------------- *
* TIM0_ISR - Timer0 Interrupt Service Routine (Input capture)
* In
* Out
* Call
* --------------------------------------------------------------------------- *
TIM0_ISR:
No_Icap_alarm
Icap_alarm
ICAP_Delay
ICAP_Delay1
No_IcapDelay
Skip_icap
44
LDA
bclr
rti
LDA
bclr
brset
BCLR
lda
ldhx
tax
lda
cmp
bhi
bset
bra
bclr
cbeqa
mov
NOP
NOP
DBNZ
DBNZA
BSET
bclr
bset
rti
:
:
:
:
:
:
<nil>
<nil>
<nil>
Start_Flag
icap_Flag
Table Look up
TSC1
CH1F,TSC1
TSC0
CH0F,TSC0
start_Flag,Flag,Skip_icap
out2,PTA
ADR
#$FD00
,x
#Thermal_Limit
No_Icap_alarm
alarm_Flag,Flag
Icap_alarm
alarm_Flag,Flag
#0,No_IcapDelay
#10,TMP
TMP,ICAP_Delay1
ICAP_Delay
out1,PTA
start_Flag,Flag
icap_Flag,Flag
Freescale Semiconductor, Inc.
BLDC Fan Control using the MC68HC908QT2
For More Information On This Product,
; read TCH1 status and control register to
; clear CH1F flag
; read TCH0 status and control register to
; clear CH0F flag
; Check motor in start up phase ?
; off out2
; read ADC value
; point to table page
; point to corresponding speed
; Read the speed value to Acc
; Check corresponding thermal excess limit?
; alarm if excess
; if A=0, No dalay
; on out1
; For checking
Go to: www.freescale.com
*
*
*
*
*
*
*
*
MOTOROLA

Related parts for AN2687