实验任务:
1.stm32与电脑通信 完成
2.stm32与手机蓝牙通信 需要借助电脑进行调试,所以需要2个串口通信
电脑可以通过stm32与手机通信
基础.学会利用串口通信 OK
PA9 PA10 usart1
PA3 PA2 usart2
1.初始化io
2.初始化中断{设置中断管理器NVIC,使能串口接受中断}
3.初始化串口通信{设置波特率等,使能串口}
注意挂载的时钟的位置,以及源的名称
LED用于表明数据传输是否成功
最后一步,实现上位机与蓝牙通信 中间用单片机作为过渡。完成 并没有借助usb转ttl模块 设置蓝牙模块
没有合适的资源?快使用搜索试试~ 我知道了~
资源推荐
资源详情
资源评论
收起资源包目录
蓝牙通信代码 代码代码代码 (194个子文件)
SY1.uvguix.86191 71KB
BLUE.axf 287KB
SY1.axf 277KB
stm32f10x_tim.c 107KB
stm32f10x_flash.c 61KB
stm32f10x_rcc.c 50KB
stm32f10x_adc.c 46KB
stm32f10x_i2c.c 45KB
stm32f10x_can.c 44KB
stm32f10x_usart.c 37KB
system_stm32f10x.c 36KB
stm32f10x_fsmc.c 35KB
stm32f10x_spi.c 30KB
stm32f10x_dma.c 29KB
stm32f10x_sdio.c 28KB
stm32f10x_gpio.c 23KB
stm32f10x_dac.c 19KB
core_cm3.c 17KB
stm32f10x_cec.c 11KB
stm32f10x_pwr.c 9KB
stm32f10x_rtc.c 8KB
stm32f10x_bkp.c 8KB
misc.c 7KB
stm32f10x_exti.c 7KB
stm32f10x_wwdg.c 6KB
stm32f10x_it.c 5KB
stm32f10x_dbgmcu.c 5KB
stm32f10x_iwdg.c 5KB
usart1.c 4KB
usart1.c 4KB
stm32f10x_crc.c 3KB
main.c 580B
LED.c 477B
LED.c 477B
stm32f10x_tim.crf 361KB
stm32f10x_can.crf 348KB
stm32f10x_adc.crf 347KB
stm32f10x_rcc.crf 347KB
stm32f10x_flash.crf 347KB
stm32f10x_i2c.crf 345KB
stm32f10x_usart.crf 345KB
stm32f10x_fsmc.crf 345KB
stm32f10x_sdio.crf 344KB
stm32f10x_spi.crf 344KB
stm32f10x_gpio.crf 343KB
stm32f10x_dma.crf 343KB
bsp_bule_usart.crf 342KB
usart1.crf 341KB
stm32f10x_it.crf 341KB
stm32f10x_dac.crf 341KB
stm32f10x_cec.crf 341KB
bsp_usart.crf 341KB
main.crf 341KB
system_stm32f10x.crf 341KB
stm32f10x_bkp.crf 341KB
stm32f10x_pwr.crf 340KB
stm32f10x_rtc.crf 340KB
stm32f10x_exti.crf 340KB
stm32f10x_wwdg.crf 340KB
misc.crf 340KB
key.crf 340KB
stm32f10x_iwdg.crf 339KB
led.crf 339KB
bsp_exit.crf 339KB
stm32f10x_crc.crf 339KB
stm32f10x_dbgmcu.crf 339KB
core_cm3.crf 4KB
stm32f10x_dbgmcu.d 3KB
stm32f10x_flash.d 3KB
stm32f10x_usart.d 3KB
stm32f10x_iwdg.d 3KB
stm32f10x_sdio.d 3KB
stm32f10x_fsmc.d 3KB
stm32f10x_gpio.d 3KB
stm32f10x_exti.d 3KB
stm32f10x_wwdg.d 3KB
stm32f10x_rcc.d 3KB
stm32f10x_dac.d 3KB
stm32f10x_crc.d 3KB
stm32f10x_pwr.d 3KB
stm32f10x_can.d 3KB
stm32f10x_adc.d 3KB
stm32f10x_rtc.d 3KB
stm32f10x_i2c.d 3KB
stm32f10x_bkp.d 3KB
stm32f10x_tim.d 3KB
stm32f10x_spi.d 3KB
stm32f10x_dma.d 3KB
stm32f10x_cec.d 3KB
stm32f10x_it.d 3KB
bsp_bule_usart.d 3KB
system_stm32f10x.d 2KB
bsp_usart.d 2KB
bsp_exit.d 2KB
usart1.d 2KB
misc.d 2KB
main.d 2KB
key.d 2KB
led.d 2KB
core_cm3.d 118B
共 194 条
- 1
- 2
资源评论
byte花开富贵
- 粉丝: 43
- 资源: 1
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功