Download AN1910 Application Note

Transcript
Freescale Semiconductor, Inc.
ARCHIVED BY FREESCALE SEMICONDUCTOR, INC. 2005
Software Design
reset
Initialization
OC Timer for LED handling Interrupt
Application
State Machine
ARCHIVED BY FREESCALE SEMICONDUCTOR, INC. 2005
Freescale Semiconductor, Inc...
done
Timer OC
LED
Subroutine
done
done
Check
Run/Stop Switch
OC Timer for Speed Ramp Interrupt
done
Timer OC
Speed Ramp
Subroutine
ADC low limit Interrupt
ADC
Low Limit Interrupt
Subroutine
done
done
ADC high limit Interrupt
ADC
High Limit Interrupt
Subroutine
PWM
Reload A Interrupt
Subroutine
done
done
ADC conversion complete Interrupt
ADC
Interrupt
Subroutine
done
PWM A Reload Interrupt
PWM A Fault Interrupt
PWM
Fault A Interrupt
Subroutine
done
Figure 6-7. State Diagram - General Overview
3-Phase AC Motor Control with V/Hz Speech Closed Loop
For More Information On This Product,
Go to: www.freescale.com
19