文件名称:Blinky_ADC
- 所属分类:
- 单片机(51,AVR,MSP430等)
- 资源属性:
- [C/C++] [源码]
- 上传时间:
- 2012-11-26
- 文件大小:
- 732kb
- 下载次数:
- 0次
- 提 供 者:
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
使用到I/O控制、定时器、串口和液晶屏显示,程序每秒钟往串口打印一次PC2处的AD值,液晶屏同时也通过进度条及数值两种方式将AD值显示出来。串口使用USB-COM接口,波特率为115200,无硬件流控制。-The Blinky project is a simple program for the STM32F407Z
microcontroller using STM STM3240G-EVAL Evaluation Board, compliant
to Cortex Microcontroller Software Interface Standard (CMSIS v2.0).
Example functionality:
- Clock Settings:
- XTAL = 25.00 MHz
- SYSCLK = 168.00 MHz
- Sys Timer is used in interrupt mode
- LED blink with speed depending on potentiometer position
- colour LCD display shows init message and bargraph depending on potentiometer position
- AD settings: 12 bit resolution
- AD value is output onto serial port UART4
UART4 settings: 115200 baud, 8 data bits, no parity, 1 stop bit
The Blinky program is available in different targets:
STM32F407 Flash: runs from Internal Flash located on chip
(used for production or target debugging)
STM32F407 RAM: runs from Internal RAM located on chip
(may be used for target d
microcontroller using STM STM3240G-EVAL Evaluation Board, compliant
to Cortex Microcontroller Software Interface Standard (CMSIS v2.0).
Example functionality:
- Clock Settings:
- XTAL = 25.00 MHz
- SYSCLK = 168.00 MHz
- Sys Timer is used in interrupt mode
- LED blink with speed depending on potentiometer position
- colour LCD display shows init message and bargraph depending on potentiometer position
- AD settings: 12 bit resolution
- AD value is output onto serial port UART4
UART4 settings: 115200 baud, 8 data bits, no parity, 1 stop bit
The Blinky program is available in different targets:
STM32F407 Flash: runs from Internal Flash located on chip
(used for production or target debugging)
STM32F407 RAM: runs from Internal RAM located on chip
(may be used for target d
(系统自动生成,下载前可以参看下载内容)
下载文件列表
Blinky_ADC\Abstract.txt
..........\ADC.c
..........\ADC.h
..........\Blinky.c
..........\Blinky.uvgui
..........\Blinky.uvgui.HYX
..........\Blinky.uvgui.xdn
..........\Blinky.uvgui_HYX.bak
..........\Blinky.uvgui_xdn.bak
..........\Blinky.uvopt
..........\Blinky.uvproj
..........\Blinky_STM32F407 Flash.dep
..........\Blinky_uvopt.bak
..........\Blinky_uvproj.bak
..........\Dbg_RAM.ini
..........\Font_16x24_h.h
..........\Font_6x8_h.h
..........\GLCD.h
..........\GLCD_16bitIF_STM32F4xx.c
..........\IRQ.c
..........\JLinkLog.txt
..........\JLinkSettings.ini
..........\Retarget.c
..........\Serial.c
..........\startup_stm32f4xx.s
..........\system_stm32f4xx.c
..........\Flash\adc.crf
..........\.....\adc.d
..........\.....\adc.o
..........\.....\Blinky.axf
..........\.....\blinky.crf
..........\.....\blinky.d
..........\.....\Blinky.htm
..........\.....\Blinky.lnp
..........\.....\Blinky.map
..........\.....\blinky.o
..........\.....\Blinky.plg
..........\.....\Blinky.sct
..........\.....\Blinky.tra
..........\.....\blinky.__i
..........\.....\ExtDll.iex
..........\.....\glcd_16bitif_stm32f4xx.crf
..........\.....\glcd_16bitif_stm32f4xx.d
..........\.....\glcd_16bitif_stm32f4xx.o
..........\.....\glcd_16bitif_stm32f4xx.__i
..........\.....\irq.crf
..........\.....\irq.d
..........\.....\irq.o
..........\.....\retarget.crf
..........\.....\retarget.d
..........\.....\retarget.o
..........\.....\serial.crf
..........\.....\serial.d
..........\.....\serial.o
..........\.....\startup_stm32f4xx.d
..........\.....\startup_stm32f4xx.lst
..........\.....\startup_stm32f4xx.o
..........\.....\system_stm32f4xx.crf
..........\.....\system_stm32f4xx.d
..........\.....\system_stm32f4xx.o
..........\Flash
Blinky_ADC
..........\ADC.c
..........\ADC.h
..........\Blinky.c
..........\Blinky.uvgui
..........\Blinky.uvgui.HYX
..........\Blinky.uvgui.xdn
..........\Blinky.uvgui_HYX.bak
..........\Blinky.uvgui_xdn.bak
..........\Blinky.uvopt
..........\Blinky.uvproj
..........\Blinky_STM32F407 Flash.dep
..........\Blinky_uvopt.bak
..........\Blinky_uvproj.bak
..........\Dbg_RAM.ini
..........\Font_16x24_h.h
..........\Font_6x8_h.h
..........\GLCD.h
..........\GLCD_16bitIF_STM32F4xx.c
..........\IRQ.c
..........\JLinkLog.txt
..........\JLinkSettings.ini
..........\Retarget.c
..........\Serial.c
..........\startup_stm32f4xx.s
..........\system_stm32f4xx.c
..........\Flash\adc.crf
..........\.....\adc.d
..........\.....\adc.o
..........\.....\Blinky.axf
..........\.....\blinky.crf
..........\.....\blinky.d
..........\.....\Blinky.htm
..........\.....\Blinky.lnp
..........\.....\Blinky.map
..........\.....\blinky.o
..........\.....\Blinky.plg
..........\.....\Blinky.sct
..........\.....\Blinky.tra
..........\.....\blinky.__i
..........\.....\ExtDll.iex
..........\.....\glcd_16bitif_stm32f4xx.crf
..........\.....\glcd_16bitif_stm32f4xx.d
..........\.....\glcd_16bitif_stm32f4xx.o
..........\.....\glcd_16bitif_stm32f4xx.__i
..........\.....\irq.crf
..........\.....\irq.d
..........\.....\irq.o
..........\.....\retarget.crf
..........\.....\retarget.d
..........\.....\retarget.o
..........\.....\serial.crf
..........\.....\serial.d
..........\.....\serial.o
..........\.....\startup_stm32f4xx.d
..........\.....\startup_stm32f4xx.lst
..........\.....\startup_stm32f4xx.o
..........\.....\system_stm32f4xx.crf
..........\.....\system_stm32f4xx.d
..........\.....\system_stm32f4xx.o
..........\Flash
Blinky_ADC