/******************** (C) COPYRIGHT 2008 STMicroelectronics ********************
* File Name : readme.txt
* Author : MCD Application Team
* Version : V2.0.1
* Date : 06/13/2008
* Description : Description of the CAN example.
********************************************************************************
* THE PRESENT FIRMWARE WHICH IS FOR GUIDANCE ONLY AIMS AT PROVIDING CUSTOMERS
* WITH CODING INFORMATION REGARDING THEIR PRODUCTS IN ORDER FOR THEM TO SAVE TIME.
* AS A RESULT, STMICROELECTRONICS SHALL NOT BE HELD LIABLE FOR ANY DIRECT,
* INDIRECT OR CONSEQUENTIAL DAMAGES WITH RESPECT TO ANY CLAIMS ARISING FROM THE
* CONTENT OF SUCH FIRMWARE AND/OR THE USE MADE BY CUSTOMERS OF THE CODING
* INFORMATION CONTAINED HEREIN IN CONNECTION WITH THEIR PRODUCTS.
*******************************************************************************/
Example description
===================
This example provides a description of how to set a communication with the bxCAN
in loopback mode.
The CAN cell first performs a transmission and a reception of a standard data
frame by polling at 100 Kbits/s. The received frame is checked and some LEDs light
up to indicate whether the communication was successful. Then, an extended data
frame is transmitted at 500 Kbits/s. Reception is done in the interrupt handler
when the message becomes pending in the FIFO. Finally, the LEDs indicate if both
transmission and reception have been successful.
Directory contents
==================
platform_config.h Hardware configuration header file
stm32f10x_conf.h Library Configuration file
stm32f10x_it.c Interrupt handlers
stm32f10x_it.h Interrupt handlers header file
main.c Main program
Hardware environment
====================
This example runs on STMicroelectronics STM3210B-EVAL and STM3210E-EVAL evaluation
boards and can be easily tailored to any other hardware.
To select the STMicroelectronics evaluation board used to run the example, uncomment
the corresponding line in platform_config.h file.
+ STM3210B-EVAL
- Use LD1, LD2, LD3 and LD4 leds connected respectively to PC.06, PC.07, PC.08
and PC.09 pins
+ STM3210E-EVAL
- Use LD1, LD2, LD3 and LD4 leds connected respectively to PF.06, PF0.7, PF.08
and PF.09 pins
How to use it
=============
In order to make the program work, you must do the following :
- Create a project and setup all your toolchain's start-up files
- Compile the directory content files and required Library files :
+ stm32f10x_lib.c
+ stm32f10x_can.c
+ stm32f10x_rcc.c
+ stm32f10x_gpio.c
+ stm32f10x_nvic.c
+ stm32f10x_flash.c
- Link all compiled files and load your image into target memory
- Run the example
******************* (C) COPYRIGHT 2008 STMicroelectronics *****END OF FILE******
没有合适的资源?快使用搜索试试~ 我知道了~
温馨提示
GPRS芯片采用的是SIMCOM公司的SIM300模块,一款很典型的GSM模块(支持呼叫、短信、GPRS连接,但不支持彩信),STM32单片机发送AT指令控制该芯片进行联网。程序通过Keil4编写,且通过测试,双向同时进行GPRS收发都没有问题。服务器IP在程序中可以设置。有一点要提醒大家,请使用外网IP作为服务器IP。
资源推荐
资源详情
资源评论
收起资源包目录
利用STM32单片机控制SIM300进行GPRS连接 (327个子文件)
tim2_3_shuru_buhuo_ini.__i 390B
m6g_lenze040216.__i 308B
usart2_ini.__i 282B
ppi.__i 258B
ST204x.axf 319KB
STM32.axf 209KB
st204x_uvopt.bak 159KB
st204x_uvproj.bak 20KB
st204x.opt.bak 6KB
st204x_Opt.Bak 6KB
st204x.Uv2.bak 6KB
st204x_Uv2.Bak 5KB
ST204x_sct.Bak 479B
stm32f10x_tim.c 128KB
stm32f10x_adc.c 57KB
stm32f10x_i2c.c 46KB
stm32f10x_rcc.c 43KB
stm32f10x_usart.c 42KB
stm32f10x_fsmc.c 41KB
stm32f10x_sdio.c 38KB
stm32f10x_spi.c 34KB
stm32f10x_dma.c 33KB
stm32f10x_flash.c 32KB
stm32f10x_can.c 31KB
stm32f10x_it.c 31KB
fcs_sub_m6g.c 31KB
m6c_UW4_wk_process040216.C 30KB
process.c 29KB
stm32f10x_nvic.c 28KB
m6c_RM6_wk_process040216.C 23KB
stm32f10x_gpio.c 22KB
stm32f10x_dac.c 17KB
ppi.c 16KB
ppi2.c 16KB
GPRS.c 13KB
m6g_lenze040216.c 13KB
stm32f10x_rtc.c 12KB
stm32f10x_pwr.c 11KB
stm32f10x_bkp.c 11KB
ican.c 10KB
ican_interface.c 10KB
CPLD.c 10KB
sys_configuration.c 9KB
GPS.c 9KB
stm32f10x_lib.c 9KB
stm32f10x_exti.c 9KB
stm32f10x_wwdg.c 8KB
main.c 7KB
stm32f10x_systick.c 7KB
flash.c 7KB
m6c_wk_para.c 6KB
stm32f10x_iwdg.c 6KB
tim2_3_shuru_buhuo.c 6KB
stm32f10x_dbgmcu.c 5KB
fcs_sub_m6g040216.c 5KB
stm32f10x_crc.c 5KB
encrypt.c 4KB
can_ini.c 4KB
AD_ini.c 3KB
usart2_ini.c 3KB
AD_pro.c 3KB
DA_pro.c 3KB
timer8_ini.c 3KB
fcs_sub_PID040216.C 2KB
DA_ini.c 2KB
IO.c 1KB
tim4_ini.c 1KB
tim7_ini.c 901B
tim6_ini.c 893B
can_pro.c 853B
tim2_3_shuru_buhuo_pro.c 508B
time_ini.c 503B
cpld.crf 172KB
main.crf 165KB
process.crf 165KB
ppi2.crf 164KB
ppi.crf 164KB
usart2_ini.crf 161KB
gprs.crf 156KB
flash.crf 152KB
ican.crf 151KB
stm32f10x_it.crf 151KB
ad_pro.crf 151KB
da_pro.crf 150KB
ican_interface.crf 149KB
sys_configuration.crf 147KB
encrypt.crf 146KB
can_ini.crf 146KB
tim2_3_shuru_buhuo.crf 145KB
ad_ini.crf 145KB
da_ini.crf 145KB
timer8_ini.crf 145KB
time_pro.crf 144KB
tim4_ini.crf 144KB
io.crf 144KB
tim7_ini.crf 144KB
tim2_3_shuru_buhuo_pro.crf 144KB
time_ini.crf 144KB
stm32f10x_lib.crf 144KB
timer8_pro.crf 144KB
共 327 条
- 1
- 2
- 3
- 4
roga2958
- 粉丝: 0
- 资源: 3
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
- 1
- 2
- 3
- 4
- 5
前往页