Unlock instant, AI-driven research and patent intelligence for your innovation.

Method for handling interrupt wake-up of automotive electronic control unit

A technology of automotive electronics and control units, applied in the field of operating systems, can solve problems such as wake-up source missed detection, achieve the effect of improving overall performance and ensuring fast response speed

Active Publication Date: 2018-12-21
上海稊米汽车科技有限公司
View PDF6 Cites 6 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The invention provides a computer-readable storage medium, an electronic device for interrupt wakeup of an automotive electronic control unit, and a processing method for interrupt wakeup of an automotive electronic control unit, which solves the problem of MCU wakeup when the interrupt method and polling query are combined to wake up the MCU. The problem of missed detection of wake-up sources caused by interrupt wake-up

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
  • Method for handling interrupt wake-up of automotive electronic control unit

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0030] The specific implementation manner of the present invention will be described in detail below in conjunction with the accompanying drawings and preferred embodiments.

[0031] Refer to attached figure 1 , the invention provides a kind of processing method that is used for the interrupt wake-up of automobile electronic control unit, it is characterized in that comprising the following steps:

[0032] Step 1, when the wake-up module of the microcontroller detects an effective wake-up source, start the Polling program to query the address status of the interrupt register;

[0033] The microprocessor includes a plurality of interrupt pins connected to the wake-up module, and each interrupt pin is connected to a corresponding wake-up source. Corresponding to the address state of the interrupt register, when the operation corresponding to the wake-up source is executed by the driver and becomes an effective wake-up source, it will cause the level of the corresponding interru...

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 belongs to the technical field of an operating system, and discloses a processing method for handling interrupt wake-up of an automobile electronic control unit, which comprises the following steps: when a wake-up module of a microcontroller detects an effective wake-up source, a Polling program is started to inquire the address status of an interrupt register; 2, judging whether theaddress state of the interrupt register is changed, if so, executing a corresponding application program; otherwise, inquiring the address state of the GPIO input register corresponding to each non-interrupt pin by using a Polling program; 3, judging whether that address state of the GPIO input register is changed, if so, executing a corresponding application program, otherwise, clearing the address state of the interrupt register; Step 4, querying whether the address state of the GPIO input register corresponding to each interrupt pin is changed, if so, executing the corresponding application program, otherwise, the microprocessor continues to sleep.

Description

technical field [0001] The invention belongs to the technical field of operating systems, and in particular relates to a computer-readable storage medium, an electronic device for interrupt wakeup of an automobile electronic control unit, and a processing method for interrupt wakeup of the automobile electronic control unit. Background technique [0002] With the improvement of people's living standards, automobile consumption is becoming more and more common, and the requirements for automotive electronic applications are also getting higher and higher. Most of the microprocessor MCU wake-up methods of the existing automotive electronic control units adopt the combination of interrupt wake-up and Polling . Due to the limitation of MCU resources, it is impossible to wake up all wake-up sources by means of interrupts. Therefore, among the selected wake-up sources, the wake-up sources that need to respond quickly are awakened by interrupts, and other wake-up sources use Pollin...

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
Patent Type & Authority Applications(China)
IPC IPC(8): G06F9/4401G06F13/24
CPCG06F9/4418G06F13/24
Inventor 王洋裴中强陈兴荀海波华峰陈远华
Owner 上海稊米汽车科技有限公司