首页> 外国专利> MICROCONTROLLER WITH CAN BUS MODULE AND AUTO SPEED DETECT

MICROCONTROLLER WITH CAN BUS MODULE AND AUTO SPEED DETECT

机译:具有CAN总线模块和自动速度检测功能的微控制器

摘要

CLAIMS What is claimed is: 1. A method for initializing a CAN (Controller Area Network) module in a microcontroller, comprising: measuring periods between a plurality of falling or rising sections of a CAN signal; Classifying the periods; Obtaining difference values between adjacent periods of the classified periods; Classifying the difference values; Selecting a first difference value from the classified difference values, and obtaining a first frequency from the first difference value; Initializing the CAN module using the selected frequency; Receiving a CAN signal frame; Determining whether an error has occurred; If an error occurs, the next frequency may be selected and a step of repeating the initialization until a valid CAN frequency is obtained may be provided.;
机译:1。一种用于初始化微控制器中的CAN(控制器局域网)模块的方法,包括:测量CAN信号的多个下降或上升部分之间的周期;以及测量所述CAN信号的下降沿。分类期间;获取分类期间的相邻期间之间的差值;分类差异值;从分类的差值中选择第一差值,并从第一差值中获得第一频率;使用所选频率初始化CAN模块;接收CAN信号帧;确定是否发生错误;如果发生错误,则可以选择下一个频率,并且可以提供重复初始化直到获得有效的CAN频率的步骤。

著录项

相似文献

  • 专利
  • 外文文献
  • 中文文献
获取专利

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号