Description: The core of the whole system of the original program of the National Students Freescale Smart Car Competition electromagnetic group control using Freescale s
MC9S12XS128 Model 16-bit microcontroller, 5V supply. The software runs need to configure the MCU module register values
Microcontroller module work properly. Initialization, including: the configuration of the microcontroller clock, I/O port configuration, the PWM module configuration, the A/D
Module configuration, RTI Real-time interrupt configuration, the pulse capture module configuration. When the initialization has been completed, the sensor input signal.
Sampling line, complete a sampling will sample the value of input control algorithms, control algorithms after the operation should be the angle of deflection
Of the servo and motor speed, by changing the PWM module internal register values can be different duty cycle square wave signal, to achieve
Regulation. Using the CodeWarrior Development, Studio for
To Search:
File list (Check if you may need any files):
SWJT省赛最终
............\bin
............\...\Project.abs
............\...\Project.abs.glo
............\...\Project.abs.s19
............\...\Project.map
............\...\Project.xpr
............\cmd
............\...\Full_Chip_Simulation_Postload.cmd
............\...\Full_Chip_Simulation_Preload.cmd
............\...\Full_Chip_Simulation_Reset.cmd
............\...\Full_Chip_Simulation_SetCPU.cmd
............\...\Full_Chip_Simulation_Startup.cmd
............\...\TBDML_Erase_unsecure_hcs12xe.cmd
............\...\TBDML_Postload.cmd
............\...\TBDML_Preload.cmd
............\...\TBDML_Reset.cmd
............\...\TBDML_Startup.cmd
............\...\TBDML_Vppoff.cmd
............\...\TBDML_Vppon.cmd
............\C_Layout.hwl
............\Default.mem
............\Full_Chip_Simulation.ini
............\prm
............\...\burner.bbl
............\...\Project.prm
............\Sources
............\.......\AD.h
............\.......\Angle.h
............\.......\Angle_PID12.h
............\.......\Angle_PID45.h
............\.......\datapage.c
............\.......\derivative.h
............\.......\ECT.h
............\.......\identify.h
............\.......\LED.h
............\.......\main.c
............\.......\PWM.h
............\.......\Speed.h
............\.......\Speed_PID.h
............\.......\Start12.c
............\.......\System.h
............\SWJT.mcp
............\SWJT_Data
............\.........\CWSettingsWindows.stg
............\.........\Standard
............\.........\........\ObjectCode
............\.........\........\..........\datapage.c.o
............\.........\........\..........\main.c.o
............\.........\........\..........\MC9S12XS128.c.o
............\.........\........\..........\Start12.c.o
............\.........\........\TargetDataWindows.tdt
............\TBDML.ini