AN1857 Freescale Semiconductor / Motorola, AN1857 Datasheet - Page 41
![no-image](/images/no-image-200.jpg)
AN1857
Manufacturer Part Number
AN1857
Description
A 3-Phase ac Induction Motor Control System Based on the MC68HC908MR32
Manufacturer
Freescale Semiconductor / Motorola
Datasheet
1.AN1857.pdf
(52 pages)
- Current page: 41 of 52
- Download datasheet (425Kb)
AN1857
MOTOROLA
crossing interrupt for the PFC, an output compare to generate the input
current waveform, an A/D interrupt to control PFC output voltage, SCI
read, and transmit routines.
Initialization — The main routine provides initialization of the
microcontroller:
An example of initialization of PLL clock and motor control PWM mod-
ules for the MR32 follows.
•
•
•
•
•
•
•
•
•
•
•
•
•
Freescale Semiconductor, Inc.
For More Information On This Product,
Clears RAM
Initializes PLL clock
Initializes PWM module:
– Center-aligned complementary PWM mode, positive polarity
– COP and LVI enable (MOR register)
– PWM modulus — Defines the PWM frequency (PMOD
– 2- s dead-time (DEADTM register)
– PWM interrupt reload every fourth PWM cycle (PCTL2
– FAULT2 (overcurrent fault) in manual mode, interrupt enabled
Sets up I/O ports
Initializes timer A for input compare, output compare, and for a
software timer reference
Initializes timer B for PWM generation for the PFC
Initializes the A/D converter
Detects connected boards
Detects input line voltage limits
Detects input line frequency
Calibrates the PFC feedback offset FB_offset
If any error occurs, the fault LED is turned on, the failure register
is set, and the software waits for reset.
Enable interrupts
(MOR register)
register)
register)
(FCR register)
Go to: www.freescale.com
Application Note
Software
41
Related parts for AN1857
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
![AN177](/images/no-image3.png)
Part Number:
Description:
An Overview og the Phase Locked Loop
Manufacturer:
Philips
Datasheet:
![AN1268](/images/manufacturer_photos/0/6/637/stmicroelectronics_tmb.jpg)
Part Number:
Description:
AN OVERVIEW OF THE LPC FLASH INTERFACE
Manufacturer:
STMicroelectronics
![AN1315](/images/no-image3.png)
Part Number:
Description:
An Evaluation System Interfacing the MPX2000 Series Pressure Sensors to a Microprocessor
Manufacturer:
Motorola / Freescale Semiconductor
![AN1998](/images/no-image3.png)
Part Number:
Description:
An FM-IF system for DECT and other high speed GFSK applications
Manufacturer:
Philips Semiconductors / NXP Semiconductors
![AN2124](/images/no-image3.png)
Part Number:
Description:
An 8 x 8 Discrete Cosine Transform on the StarCore SC140/SC1400 Cores
Manufacturer:
Freescale Semiconductor / Motorola
![AN2428](/images/no-image3.png)
Part Number:
Description:
An Overview of the HCS12 ATD Module
Manufacturer:
Freescale Semiconductor / Motorola
![AN2708](/images/no-image3.png)
Part Number:
Description:
An Introduction to the External Bus Interface on the HCS12X
Manufacturer:
Freescale Semiconductor / Motorola
![AN2783](/images/no-image3.png)
Part Number:
Description:
An RF Data Link Using Tango3 and Romeo2 RF Modules
Manufacturer:
Freescale Semiconductor / Motorola
![MC33394DH](/images/manufacturer_photos/0/2/262/freescale_semiconductor_tmb.jpg)
Part Number:
Description:
IC POWER SUPPLY MULT-OUT 44-HSOP
Manufacturer:
Freescale Semiconductor
Datasheet:
![MC33394DWB](/images/manufacturer_photos/0/2/262/freescale_semiconductor_tmb.jpg)
Part Number:
Description:
IC POWER SUPPLY MULT-OUT 54-SOIC
Manufacturer:
Freescale Semiconductor
Datasheet:
![MSC7110](/images/no-image3.png)
Part Number:
Description:
Low-Cost 16-Bit DSP with DDR Controller
Manufacturer:
Freescale Semiconductor / Motorola
![MSC7116](/images/no-image3.png)
Part Number:
Description:
Low-Cost 16-bit DSP with DDR Controller and 10/100 Mbps Ethernet MAC
Manufacturer:
Freescale Semiconductor / Motorola
Datasheet:
![MSC7119](/images/no-image3.png)
Part Number:
Description:
Low-Cost 16-bit DSP with DDR Controller and 10/100 Mbps Ethernet MAC
Manufacturer:
Freescale Semiconductor / Motorola
Datasheet:
![MSC7118](/images/no-image3.png)
Part Number:
Description:
Low-Cost 16-bit DSP with DDR Controller
Manufacturer:
Freescale Semiconductor / Motorola
Datasheet:
![MSC8101](/images/no-image3.png)
Part Number:
Description:
Functional Pin Difference Between the MSC8101 and MPC8260 Communications Processor Modules
Manufacturer:
Freescale Semiconductor / Motorola