Microcontroller or microprocessor with dual mode interrupt

A microcontroller and controller technology, which is applied in the direction of microcontroller, program control design, electrical digital data processing, etc., can solve the problem that the central processing unit cannot support the associated interrupt function.

Active Publication Date: 2017-10-13
MICROCHIP TECH INC
View PDF5 Cites 5 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

In many applications this may still not be enough and a higher end device must be chosen (e.g. 16-bit microcontroller or 32-bit microcontroller) since the interrupt capability of an 8-bit microcontroller is too restrictive fact
Furthermore, if such a microcontroller is intended to have an increased number of peripherals, the central processing unit may not be able to support the associated interrupt functionality due to limited interrupt functionality

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
  • Microcontroller or microprocessor with dual mode interrupt
  • Microcontroller or microprocessor with dual mode interrupt
  • Microcontroller or microprocessor with dual mode interrupt

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0021]According to various embodiments, a vectored interrupt system compatible with existing microcontroller designs can be created. The features discussed below are not limited to 8-bit microcontrollers, but are also applicable to 16-bit microcontrollers or 32-bit microcontrollers if such devices include insufficient interrupt control architecture. According to various embodiments, existing interrupt handling is maintained and a second mode of operation is provided. In a first mode of operation, this microcontroller with a single interrupt input can operate according to the original design, eg branch to a single predefined interrupt vector (eg address 0004h). In the second mode of operation, the microcontroller can use multiple interrupt vectors associated with a single interrupt input.

[0022] Current non-vector microcontroller system designs may not be sufficient for the expanded number of peripheral devices that can be realized by the new core architecture design. A vec...

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

A microcontroller has a CPU with at least one interrupt input coupled with an interrupt controller, a plurality of peripherals, and a mode register comprising at least one bit controlling an operating mode of the microcontroller. The microcontroller is configured to operate in a first operating mode wherein upon assertion of an interrupt by a peripheral of the microcontroller, the interrupt controller forwards an interrupt signal to the CPU and the peripheral sets an associated interrupt flag, wherein the interrupt causes the CPU to branch to a predefined interrupt address associated with the interrupt input. In a second operating mode, upon assertion of an interrupt by a peripheral of the microcontroller, the interrupt controller forwards an interrupt signal to the CPU and the CPU receives additional interrupt information from the peripheral that generated the interrupt, wherein the additional interrupt information is used to generate a vector address.

Description

[0001] Cross References to Related Applications [0002] This application claims priority to commonly-owned US Provisional Patent Application No. 62 / 129,481 filed March 6, 2015, which is hereby incorporated by reference herein for all purposes. technical field [0003] The present invention relates to microprocessors or microcontrollers. Background technique [0004] A microcontroller is a single chip on a chip that includes a central processing unit (CPU), memory, I / O interfaces, and a number of different peripherals (such as serial interfaces, analog-to-digital converters, PWM modulators, timers, etc.). system on a chip. In general, many applications do not require large amounts of processing power. Therefore, to keep costs low, some microcontrollers (such as 8-bit microcontrollers with a limited amount of program memory and data memory) can often be implemented without using any type of external or internal interrupts or with a limited number of interrupts, This is du...

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): G06F13/24G06F13/26
CPCG06F13/24G06F13/26G06F9/22G06F9/30036G06F9/3013
Inventor 凯斯·E·克堤斯阿希什·塞纳帕蒂安东尼·加西亚维贾伊·萨尔维帕利普拉尚斯·普利帕卡凯文·基尔策戴维·福斯特罗布·肯尼迪普里莫·卡斯特罗亚伦·巴滕
Owner MICROCHIP TECH INC
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products