English
Language : 

NS32FV100 Datasheet, PDF (41/96 Pages) Texas Instruments – NS32FX100 NS32FV100 NS32FX200 System Controller
2 0 Architecture (Continued)
2 8 4 Usage Recommendations
2 9 2 Operation
1 Before activating the MICROWIRE program the appro-
The Interrupt Control Unit (ICU) receives interrupt signals
priate Ports module registers PBDO PBMS PCDO
from internal and external sources and generates a vector
PCMS and PCEN to connect the MICROWIRE module to
interrupt to the CPU when required Priority among the inter-
the NS32FX100 I O pins
rupt sources if fixed Each interrupt source can be individu-
2 The correct sequence for a MWIRE transaction is to se-
lect a device issue the MWIRE transaction and then de-
select the device A device can be selected either by
ally enabled or disabled Pending interrupts can be polled
using the interrupt pending register regardless of their being
enabled or disabled
using the Ports module or implicitly if only one device is
The ICU triggering mode and polarity of each interrupt
connected to the bus)
source (individually) are both programmed via the Interrupt
3 Writing to MWSIO register triggers the shift transaction
Edge Level Trigger register (IELTG) and the Interrupt Trig-
Reading the MWSIO does not trigger a shift transaction
ger Polarity register (ITRPL) Both the polarity and the trig-
but returns the current contents of the MWSIO For a
gering mode of the interrupts that are generated on-chip are
read transaction perform a dummy write transaction to
fixed It is the software’s responsibility to program the re-
initiate the shift and then read the MWSIO i e write a
spective bits in IELTG and ITRPL as required
byte wait until not busy and then read the result
2 9 INTERRUPT CONTROL UNIT (ICU)
2 9 1 Features
Y 16 interrupt sources
Y Supports CPU vectored-interrupt mode
Y Fixed priority among interrupt sources
Y Individual enable disable of each interrupt source
te Y Polling support by an interrupt pending register
Y Programmable triggering mode and polarity
Edge-triggered interrupts are latched by the interrupt pend-
ing register A pending edge-triggered interrupt is cleared by
writing the required value to the edge interrupt clear regis-
ter A pending level-triggered interrupt is cleared only when
the interrupt source is not active
Interrupt vector numbers are always positive in the range
20(hex) to 2F(hex)
MCFG ESCAN bit controls the IRQ11 interrupt source
MCFG EDMA0 bit controls the IRQ13 interrupt source
TPHC PIS bit controls the IRQ14 interrupt source
The external interrupt inputs are asynchronous They are
recognized by the NS32FX100 during cycles in which the
input setup and hold time requirements are satisfied
le IRQ0
IRQ1
IRQ2
IRQ3
IRQ4
IRQ5
o IRQ6
IRQ7
IRQ8
IRQ9
s IRQ10
IRQ11
IRQ12
IRQ13
b IRQ14
O IRQ15
Internal
External
Internal
Internal
External
Internal
Internal
Internal
Internal
External
Internal
Internal
Internal
Internal
Internal
External
TABLE 2-3 Interrupt Sources and Priority Levels
Level-High
Edge-Rising
Edge-Rising
Level-High
Level-High
Level-High
Level-High
Edge-Rising
Edge-Rising
Edge-Rising
Edge-Rising
Edge-Rising
MICROWIRE
INT0 Pin
System Tick
TIMER Pulse
INT1 Pin
UART
SDC Transmit
SDC Receive
SDC Error
INT2 Pin
Printer Motor
Scanner Motor or DMA Channel 2
(Selected by MCFG)
DMA Channel 3
Scanner or DMA Channel 0 (Selected by
MCFG)
Printer or DMA Channel 1 (Selected by
TPHC)
INT3 Pin
Lowest Priority
Highest Priority
40