Description: 1. project overview
(1) the project as KL25 microcontroller operating system free project, CMP sample program
(2) using serial communication with the outside world, using serial port 1, baud rate 9600, 1 stop bit, no parity
2. software environment
(1) CodeWarrior v10.2/v10.3/v10.5
3. hardware environment
(1) KL25 SD13-01 EVB
(2) blue light pin PTB9, red PIN is PTB19, corresponding to green light pin PTB18
(3) serial port PIN is sent to PTE0, and receive pins PTE1
(4) PTD1 forward channel PTC7, channel internal DAC, is to channel to channel and more
4. experimental results
(1) send This serial is CMP Test! when the program starts, and light is blinking
(2) the CMP are demonstrated by the sample channel compared with negative voltage test, windowless mode/filter modes.
Internal 6-bit DAC to convert the 0~60 digital 0~3V input voltage to negative to the channel, the forward channel 0 input voltage or 3.3V,
CMP compare two-channel voltage value, the result of the comp
To Search:
File list (Check if you may need any files):
KL25-CMP\.cproject
........\.cwGeneratedFileSetLog
........\.project
........\.settings\com.freescale.core.ide.cdt.toolchain.prefs
........\.........\com.freescale.core.ide.newprojectwizard.prefs
........\Common\common.c
........\......\common.h
........\.PU\MKL25Z4.h
........\...\sysinit.c
........\...\sysinit.h
........\...\vectors.c
........\...\vectors.h
........\Doc\Readme.txt
........\.rivers\cmp\cmp.c
........\.......\...\cmp.h
........\.......\gpio\gpio.c
........\.......\....\gpio.h
........\.......\uart\uart.c
........\.......\....\uart.h
........\FLASH\Common\common.args
........\.....\......\common.d
........\.....\......\common.o
........\.....\......\common.o.lst
........\.....\......\subdir.mk
........\.....\.PU\subdir.mk
........\.....\...\sysinit.args
........\.....\...\sysinit.d
........\.....\...\sysinit.o
........\.....\...\sysinit.o.lst
........\.....\...\vectors.args
........\.....\...\vectors.d
........\.....\...\vectors.o
........\.....\...\vectors.o.lst
........\.....\Drivers\cmp\cmp.args
........\.....\.......\...\cmp.d
........\.....\.......\...\cmp.o
........\.....\.......\...\cmp.o.lst
........\.....\.......\...\subdir.mk
........\.....\.......\gpio\gpio.args
........\.....\.......\....\gpio.d
........\.....\.......\....\gpio.o
........\.....\.......\....\gpio.o.lst
........\.....\.......\....\subdir.mk
........\.....\.......\uart\subdir.mk
........\.....\.......\....\uart.args
........\.....\.......\....\uart.d
........\.....\.......\....\uart.o
........\.....\.......\....\uart.o.lst
........\.....\KL25_UARTINT.args
........\.....\KL25_UARTINT.elf
........\.....\KL25_UARTINT.hex
........\.....\KL25_UARTINT.map
........\.....\makefile
........\.....\makefile.local
........\.....\objects.mk
........\.....\Project_Settings\Startup_Code\startup.args
........\.....\................\............\startup.d
........\.....\................\............\startup.o
........\.....\................\............\startup.o.lst
........\.....\................\............\subdir.mk
........\.....\Sources\isr.args
........\.....\.......\isr.d
........\.....\.......\isr.o
........\.....\.......\isr.o.lst
........\.....\.......\main.args
........\.....\.......\main.d
........\.....\.......\main.o
........\.....\.......\main.o.lst
........\.....\.......\subdir.mk
........\.....\sources.mk
........\.....\SwComponents\light\light.args
........\.....\............\.....\light.d
........\.....\............\.....\light.o
........\.....\............\.....\light.o.lst
........\.....\............\.....\subdir.mk
........\Project_Settings\Debugger\init_kinetis.tcl
........\................\........\KL25_UARTINT_FLASH_USBDM.launch
........\................\........\mass_erase_kinetis.tcl
........\................\........\MKL25Z128.mem
........\................\Linker_Files\intflash.ld
........\................\Startup_Code\startup.c
........\ReferencedRSESystems.xml
........\Sources\includes.h
........\.......\isr.c
........\.......\isr.h
........\.......\main.c
........\.wComponents\light\light.c
........\............\.....\light.h
........\FLASH\Drivers\cmp
........\.....\.......\gpio
........\.....\.......\uart
........\.....\Project_Settings\Startup_Code
........\.....\SwComponents\light
........\Drivers\cmp
........\.......\gpio
........\.......\uart
........\FLASH\Common
........\.....\CPU
........\.....\Drivers
........\.....\Project_Settings