首页>
外国专利>
MICROCONTROLLER WITH CAN BUS MODULE AND AUTO SPEED DETECT
MICROCONTROLLER WITH CAN BUS MODULE AND AUTO SPEED DETECT
展开▼
机译:具有CAN总线模块和自动速度检测功能的微控制器
展开▼
页面导航
摘要
著录项
相似文献
摘要
In a method for initializing a Controller Area Network (CAN) module in a microcontroller, the following steps may be provided: measuring the period times between a plurality of falling or rising edges of a CAN signal; sorting the period times; determining difference values between adjacent period times of the sorted period times; sorting the difference values; selecting a first difference value from the sorted difference values and determining 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 occurred; if an error occurred selecting a next frequency and repeating initializing the CAN module until a valid CAN frequency has been found.
展开▼