Download DRM020 Reference Manual

Transcript
Freescale Semiconductor, Inc.
Software Design
Microcontroller Usage
4.7 Microcontroller Usage
Table 4-1 shows how much of memory is needed to run the 3-phase AC
drive in the speed closed loop. A significant part of the microcontroller
memory is still available for other tasks.
Freescale Semiconductor, Inc...
Table 4-1. Memory Usage
Memory
Available
(MC68HC908MR32)
Used
FLASH
32 kBytes
3.7 kBytes
RAM
768 Bytes
82 Bytes
The MC68HC908MR32 microcontroller offers many features that
simplify the drive design. The following table describes individual
available blocks and their usage for the introduced system.
Table 4-2. MR32 Modules Usage
Module available on
MC68HC908MR32
Used
Purpose
PWMMC
yes
3-phase PWM
generation, fault
protection
Timer A (4-channel)
yes
Time base for control
algorithm (TACNT),
Input Capture for
measurement of actual
motor speed (TA3)
Timer B (2-channel)
no
-
SPI
no
-
SCI
no
-
I/O ports
yes
User interface, LEDs
COP
yes
S/W runaway protection
IRQ
no
-
LVI
yes
Low voltage protection
ADC
yes
Speed set-up
DC-Bus voltage
measurement
POR
yes
Reset after Power ON
DRM020 — Rev 0
MOTOROLA
Designer Reference Manual
Software Design
For More Information On This Product,
Go to: www.freescale.com
51