AN2687 Freescale Semiconductor / Motorola, AN2687 Datasheet - Page 29

no-image

AN2687

Manufacturer Part Number
AN2687
Description
BLDC Fan Control using the MC68HC908QT2
Manufacturer
Freescale Semiconductor / Motorola
Datasheet
* Features and Pin Assigments MC68HC908QT2
* --------------------------------------------------------------------------- *
* Features:
*
*
*
*
*
*
*
* 908QT2 Pin Assignment (8-PDIP package):
* Pin
* ---
*
*
*
*
* --- ------------------------------------------
*
* Note:
* - /VPP & RST# pins equipped with internal pullup R & Schmitt trig. i/p
*
* --------------------------------------------------------------------------- *
* Register and bit name definitions for MC68HC908QY4 and MC68HC908QT4
* --------------------------------------------------------------------------- *
$include "MC68HC908QT4.equ"
* --------------------------------------------------------------------------- *
* Ram Allocation
* --------------------------------------------------------------------------- *
TMP
TMP1
Port_CTRL
DDR_CTRL
alarm
out1
out2
Flag
irq_Flag
icap_Flag
start_Flag
alarm_Flag
Thermal_Limit
PWM_Period_H
PWM_Period_L
Duty_Cycle_H
Duty_Cycle_L
MOTOROLA
1
2
3
4
. HC08 CPU core
. 3.2MHz Internal Bus Operation (using ICG, trimmed)
. $F800 ~ $FDFF
. $0080 ~ $00FF
. 4-channel ADC
. 16-bit 2 channels Timer Interface Module(TIM)
Pin Name
-------------------- | ---
Vdd
AD3/PA5 - alarm(o/p) | 7
AD2/PA4 - Out1(o/p)
RST/PA3 - Out2(o/p)
ORG RamStart
org
FlashStart
ds
ds
equ
equ
equ
equ
equ
ds
equ
equ
equ
equ
equ
equ
equ
equ
equ
---- 1.5K bytes FLASH
---- 128 bytes RAM
1
1
PTA
DDRA
5
3
4
1
0
1
2
3
$15
$0F
$FF
$0E
$FF
| Pin
| 8
| 6
| 5
Freescale Semiconductor, Inc.
BLDC Fan Control using the MC68HC908QT2
For More Information On This Product,
Vss
TCH0/PA0 - Hall(icap)
AD1/PA1
IRQ/PA2
Pin Name
----------------
; $0080
; for delay routine
; for delay routine
; Control Port
;
; PTA5 drive alarm
; PTA3 drive L1
; PTA4 drive L2
; motor control flag
; Thermal limit value (Refer to the table)
; Define the PWM period
; Define the duty cycle (i.e. need less than
; 15% turn on time to aviod damage of
; transducer
; F800 for QT1/2 or QY1/2 $EE00 for QT4/QY4
Go to: www.freescale.com
- Vset(adc)
- Hall(irq)
*
*
*
APPENDIX B: CODE LISTINGS
AN2687/D
29

Related parts for AN2687