EasyManuals Logo

NXP Semiconductors PXN2020 User Manual

NXP Semiconductors PXN2020
1376 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #302 background imageLoading...
Page #302 background image
Interrupts and Interrupt Controller (INTC)
PXN20 Microcontroller Reference Manual, Rev. 1
10-34 Freescale Semiconductor
The time from the write to the SETn bit to the time that the INTC starts to drive the interrupt request to the
processor is four clocks.
10.4.1.3 Unique Vector for Each Interrupt Request Source
Each peripheral and software settable interrupt request is assigned a hardwired unique 9-bit vector.
Software settable interrupts 0–7 are assigned vectors 0–7 respectively. The peripheral interrupt requests
are assigned vectors 8 to as high as needed to include all the peripheral interrupt requests.
10.4.2 Priority Management
The asserted interrupt requests are compared to each other based on their PRIn and PRC_SELn values set
in the INTC priority select registers (INTC_PSR0 –INTC_PSR315). The result of that comparison is
compared to PRI in the associated current priority register (INTC_CPR_PRC0 or INTC_CPR_PRC1). The
results of those comparisons are used to manage the priority of the ISR being executed by the associated
processor. The associated LIFO also assists in managing that priority.
10.4.2.1 Current Priority and Preemption
The priority arbitrator, selector, encoder, and comparator submodules shown in Figure 10-1 are used to
compare the priority of the asserted interrupt requests to the current priority. If the priority of any asserted
peripheral or software settable interrupt request is higher than the current priority for a given processor,
then the interrupt request to the processor is asserted. Also, a unique vector for the preempting peripheral
or software settable interrupt request is generated for the associated INTC interrupt acknowledge register
(INTC_IACKR_PRC0 or INTC_IACKR_PRC1) and, if in hardware vector mode, for the interrupt vector
provided to the processor.
10.4.2.1.1 Priority Arbitrator Submodule
The priority arbitrator submodule for each processor compares all the priorities of all of the asserted
interrupt requests assigned to that processor, both peripheral and software settable. The output of the
priority arbitrator submodule is the highest of those priorities assigned to a given processor. Also, any
interrupt requests which have this highest priority are output as asserted interrupt requests to the associated
request selector submodule.
10.4.2.1.2 Request Selector Submodule
If only one interrupt request from the associated priority arbitrator submodule is asserted, then it is passed
as asserted to the associated vector encoder submodule. If multiple interrupt requests from the associated
priority arbitrator submodule are asserted, only the one with the lowest vector passes as asserted to the
associated vector encoder submodule. The lower vector is chosen regardless of the time order of the
assertions of the peripheral or software settable interrupt requests.
10.4.2.1.3 Vector Encoder Submodule
The vector encoder submodule generates the unique 9-bit vector for the asserted interrupt request from the
request selector submodule for the associated processor.

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the NXP Semiconductors PXN2020 and is the answer not in the manual?

NXP Semiconductors PXN2020 Specifications

General IconGeneral
CategoryController
ManufacturerNXP Semiconductors
Part NumberPXN2020
Core Size32-Bit
Program Memory TypeFLASH
ConnectivityI2C, SPI, UART
PeripheralsDMA, POR, PWM, WDT
Voltage - Supply (Vcc/Vdd)3V ~ 3.6V
Operating Temperature-40°C ~ 85°C

Related product manuals