- 博客(4)
- 资源 (1)
- 收藏
- 关注
原创 STM32编码模式TIM_EncoderInterfaceConfig函数参数含义
STM32编码模式TIM_EncoderInterfaceConfig函数参数含义原创如链接:https://blog.youkuaiyun.com/dwell548560/article/details/102063655以下为经过大量资料搜索后的信息汇总:函数名及参数:void TIM_EncoderInterfaceConfig(TIM_TypeDef* TIMx, uint16_t TIM_EncoderMode, uint16_t TIM
2021-08-15 15:23:20
8030
4
原创 MPU6050 DMP调试出现FIFO溢出问题
MPU6050 DMP调试出现FIFO溢出代码是拷贝原子的,进行部分修改 while(1) { delay_ms(1000); if(mpu_dmp_get_data(&pitch,&roll,&yaw)==0) { printf("******************"); temp=MPU_Read_Temp(); //得到温度值 MPU_Read_Accel(&ax,&ay,&az); //得到加速度传感器数据
2021-08-02 21:21:26
5156
10
原创 调试MPU6050 DMP出现加载驱动固件失败?
最近在调试MPU6050 DMP功能时出现程序卡在dmp_load_motion_driver_firmware()。通过多次的插入打印信息发现是memcmp(firmware+ii, cur, this_write)函数数据对比失败,即写入和读取memory的值不匹配。 for (ii = 0; ii < length; ii += this_write) { this_write = min(LOAD_CHUNK, length - ii); if
2021-07-31 12:54:21
5472
5
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人