51uwb.cn

 找回密码
 立即注册
查看: 3420|回复: 3
打印 上一主题 下一主题

蓝点公众号代码跟自己模块搭建不通

[复制链接]

1

主题

1

帖子

5

积分

新手上路

Rank: 1

积分
5
跳转到指定楼层
楼主
发表于 2020-10-31 00:41:47 | 显示全部楼层 回帖奖励 |倒序浏览 |阅读模式
大佬,我用的是蓝点公众号的代码,版本V3.1_16MHz_V3.01的,用自己买的stm32f103c8t6,dwm1000是没问题的,用别的代码试过(马哥的),但是tag在 if (status_reg & SYS_STATUS_RXFCG)
这里停了,ancho也是。。晶振没改,还是8M的,stm32f10x.h里面的代码,
#define HSE_VALUE    ((uint32_t)16000000)  
#if !defined  HSE_VALUE
#ifdef STM32F10X_CL   
  #define HSE_VALUE    ((uint32_t)25000000) /*!< Value of the External oscillator in Hz */
#else
  #define HSE_VALUE    ((uint32_t)8000000) /*!< Value of the External oscillator in Hz */
#endif /* STM32F10X_CL */

这里#define HSE_VALUE    ((uint32_t)16000000)  //#define HSE_VALUE    ((uint32_t)16000000)  
都没用,有大佬教教我的吗
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

bphero Inc.  

GMT+8, 2024-5-20 12:43 , Processed in 0.012711 second(s), 6 queries , File On.

Powered by Discuz! X3.3

© 2001-2017 Comsenz Inc. Template By 【未来科技】【 www.wekei.cn 】

快速回复 返回顶部 返回列表