没有合适的资源?快使用搜索试试~ 我知道了~
温馨提示
最近在做一个智能家居的项目,需要实现语音控制的功能,于是我选用了ASRPRO模块与STM32通信,这个模块最大的好处在于有配套的编程软件和语音库,不用自己训练且编程简单(少儿编程的程度)。ASRPRO的代码架构在这不多说,总之在收到语音后它会通过串口发送一串命令给STM32,STM32收到后通过串口中断的方式进行一系列操作。但没想到在这块看起来很简单的地方翻车了(太丢人了。。。),经过求助之后终于解决了,在这里浅浅记录一下自己的翻车过程及解决方案。 首先,通过 USART3 接收中断函数 USART3_IRQHandler 接收数据并存储到 buffer 缓冲区中。 然后,通过 Check_devices 函数检查缓冲区中是否有指令,根据指令执行相应的操作,并通过串口发送反馈信息。 Control_devices 函数根据 Check_devices 的返回值执行相应的设备控制操作。 有兴趣和疑问的可以去我这篇博客下留言交流:http://t.csdnimg.cn/ntLmf
资源推荐
资源详情
资源评论
收起资源包目录
USART3接发控制led简明版 (209个子文件)
BH-F103.uvguix.22572 178KB
stm32f10x_dbgmcu._2i 540B
stm32f10x_flash._2i 536B
system_stm32f10x._2i 536B
stm32f10x_usart._2i 536B
stm32f10x_exti._2i 532B
stm32f10x_gpio._2i 532B
stm32f10x_wwdg._2i 532B
stm32f10x_sdio._2i 532B
stm32f10x_fsmc._2i 532B
stm32f10x_iwdg._2i 532B
stm32f10x_dac._2i 528B
stm32f10x_pwr._2i 528B
stm32f10x_bkp._2i 528B
stm32f10x_can._2i 528B
stm32f10x_i2c._2i 528B
stm32f10x_tim._2i 528B
stm32f10x_adc._2i 528B
stm32f10x_rtc._2i 528B
stm32f10x_dma._2i 528B
stm32f10x_crc._2i 528B
stm32f10x_cec._2i 528B
stm32f10x_spi._2i 528B
stm32f10x_rcc._2i 528B
core_cm3._2i 504B
bsp_usart._2i 503B
misc._2i 492B
sys._2i 477B
USART.axf 491KB
USART_sct.Bak 494B
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
bsp_usart.c 6KB
stm32f10x_wwdg.c 6KB
stm32f10x_dbgmcu.c 5KB
stm32f10x_iwdg.c 5KB
stm32f10x_it.c 4KB
stm32f10x_crc.c 3KB
led.c 1KB
main.c 1KB
sys.c 872B
stm32f10x_tim.crf 282KB
stm32f10x_can.crf 256KB
stm32f10x_adc.crf 255KB
stm32f10x_flash.crf 253KB
stm32f10x_i2c.crf 253KB
stm32f10x_fsmc.crf 252KB
stm32f10x_sdio.crf 251KB
stm32f10x_spi.crf 250KB
stm32f10x_dma.crf 248KB
stm32f10x_rcc.crf 246KB
bsp_usart.crf 245KB
stm32f10x_usart.crf 245KB
stm32f10x_dac.crf 245KB
stm32f10x_it.crf 244KB
main.crf 243KB
stm32f10x_cec.crf 243KB
stm32f10x_gpio.crf 243KB
stm32f10x_bkp.crf 243KB
stm32f10x_exti.crf 242KB
stm32f10x_pwr.crf 241KB
stm32f10x_rtc.crf 241KB
system_stm32f10x.crf 240KB
stm32f10x_wwdg.crf 240KB
stm32f10x_iwdg.crf 240KB
stm32f10x_dbgmcu.crf 240KB
sys.crf 239KB
misc.crf 239KB
stm32f10x_crc.crf 239KB
led.crf 238KB
core_cm3.crf 4KB
stm32f10x_it.d 922B
bsp_usart.d 882B
stm32f10x_dbgmcu.d 875B
stm32f10x_flash.d 861B
stm32f10x_usart.d 861B
stm32f10x_fsmc.d 847B
stm32f10x_iwdg.d 847B
stm32f10x_sdio.d 847B
stm32f10x_gpio.d 847B
stm32f10x_exti.d 847B
共 209 条
- 1
- 2
- 3
资源评论
玄奕子
- 粉丝: 765
- 资源: 147
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功