初级会员

- 积分
- 110
- 金钱
- 110
- 注册时间
- 2015-12-9
- 在线时间
- 22 小时
|
业余爱好,购买了一块STM32F401CCU核心板,调试串口的时候,总是乱码,好几个月了,实在是找不到问题出在哪里,乱码还是有规律的,串口直接移植原子哥的,跪求各位大神指一指哪里出的问题。晶振是25M的。
#include "stm32f4xx.h"
#if !defined (HSE_VALUE)
#define HSE_VALUE ((uint32_t)25000000) /*!< Default value of the External oscillator in Hz */
#endif /* HSE_VALUE */
#if !defined (HSI_VALUE)
#define HSI_VALUE ((uint32_t)25000000) /*!< Value of the Internal oscillator in Hz*/
#endif /* HSI_VALUE */
|
|