Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

High-reliability CAN sleep awakening method for microprocessor

A microprocessor and reliability technology, applied in the direction of boot program, program control device, etc., can solve problems such as failure to wake up as required, microprocessor deadlock, etc.

Pending Publication Date: 2022-07-01
深圳市武迪电子科技有限公司
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

That is to say, when the microprocessor is in a dormant state and any message appears on the CAN bus, the CAN transceiver wakes up the microprocessor through a sudden change in the level of the RXD pin signal. This is the most common method, but the CAN There is a problem with the sleep wake-up method, that is, due to

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • High-reliability CAN sleep awakening method for microprocessor

Examples

Experimental program
Comparison scheme
Effect test

Example Embodiment

[0017] Example 1, as figure 1 As shown, a high-reliability CAN sleep wake-up method for a microprocessor includes the following steps:

[0018] Step 1. Before going to sleep, configure the internal timer of the microprocessor to wake up as a new wake-up source, so that when the CAN module interrupt wake-up fails, the timer periodically wakes up the microprocessor with an interval of 1 millisecond. When the processor sleeps, an internal timer automatically generates an interrupt every 1 millisecond to wake up the microprocessor. At this time, the microprocessor checks whether there is an external CAN interrupt, so that when the CAN module interrupt wakeup fails, the timer can ensure that The microprocessor can wake up periodically and will not be stuck in the sleep state;

[0019] Step 2. When the CAN module interrupt wake-up fails or the microprocessor's internal timer wake-up is not configured as a new wake-up source, the external IRQ interrupt is used to wake up the externa...

Example Embodiment

[0020] Example 2, as figure 1 As shown, a high-reliability CAN sleep wake-up method for a microprocessor includes the following steps:

[0021] Step 1. Before going to sleep, configure the internal timer of the microprocessor to wake up as a new wake-up source, so that when the CAN module interrupt wake-up fails, the timer periodically wakes up the microprocessor with an interval of 1 second. When the processor sleeps, an internal timer automatically generates an interrupt every 1 second to wake up the microprocessor. At this time, the microprocessor checks whether there is an external CAN interrupt. In this way, when the CAN module interrupt wakeup fails, the timer can ensure that The microprocessor can wake up periodically and will not be stuck in the sleep state;

[0022] Step 2. When the CAN module interrupt wake-up fails or the microprocessor's internal timer wake-up is not configured as a new wake-up source, the external IRQ interrupt is used to wake up the external IRQ...

Example Embodiment

[0023] Example 3, as figure 1 As shown, a high-reliability CAN sleep wake-up method for a microprocessor includes the following steps:

[0024] Step 1. Before going to sleep, configure the internal timer of the microprocessor to wake up as a new wake-up source, so that when the CAN module interrupt wake-up fails, the timer periodically wakes up the microprocessor with an interval of 1 minute. When the processor sleeps, an internal timer automatically generates an interrupt every 1 minute to wake up the microprocessor. At this time, the microprocessor checks whether there is an external CAN interrupt, so that when the CAN module interrupt wakeup fails, the timer can ensure that The microprocessor can wake up periodically and will not be stuck in the sleep state;

[0025] Step 2. When the CAN module interrupt wake-up fails or the microprocessor's internal timer wake-up is not configured as a new wake-up source, the external IRQ interrupt is used to wake up the external IRQ inte...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention provides a microprocessor high-reliability CAN dormancy awakening method, which comprises the following steps that: step 1, before dormancy, a timer in a microprocessor is configured to be awakened as a newly added awakening source, so that when the interrupt awakening of a CAN module fails, the timer periodically awakens the microprocessor at an interval of 1 millisecond to 24 hours; according to the high-reliability CAN dormancy awakening method for the microprocessor, another awakening source is added to hardware, and a signal is correspondingly delayed through a delay circuit, so that a certain time difference is formed between the two awakening sources, and the microprocessor can be awakened in two aspects, so that one awakening source is additionally added besides the CAN awakening source of the microprocessor, and the awakening effect of the microprocessor is improved. And when the CAN wake-up source has a fault, the CAN wake-up source plays a role to ensure that the microprocessor is waken up.

Description

technical field [0001] The invention relates to the technical field of CAN sleep and wake-up methods, in particular to a high-reliability CAN sleep-wake-up method of a microprocessor. Background technique [0002] In many industrial sectors such as automobiles, CAN bus has been widely used due to its superior anti-interference performance. In many applications, especially applications that need to save power, such as automotive applications, sleep wake-up is a commonly used energy-saving technology. The main idea is to force the microprocessor to enter a sleep state when it is not working, which greatly saves power consumption. And when it needs to work, use various methods to wake up the microprocessor, exit from the dormant state, and enter the normal working state. So the sleep-wake-up method is a key technology of the microprocessor. [0003] The existing CAN sleep wake-up method generally only uses one wake-up source, such as CAN message wake-up. That is to say, whe...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): G06F9/4401
CPCG06F9/4418
Inventor 吴凯曹沛王建
Owner 深圳市武迪电子科技有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products