Скачиваний:
39
Добавлен:
27.04.2015
Размер:
4.9 Mб
Скачать

Resets

8.10 Resets

8.10.1 Reset Handshake Timing

The ITCN provides the 56800E core with a reset vector address on the VAB pins whenever RST is asserted. The reset vector will be presented until the second rising clock edge after RST is released. The general timing is illustrated in the following diagram.

RES

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

CLK

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

VAB

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

reset_vector_adr

PAB

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

read_adr

 

 

 

 

 

Figure 8-23. Reset Interface

8.10.2 ITCN After Reset

After reset, all of the ITCN registers are in their default states. This means all interrupts are disabled except the core IRQs with fixed priorities. Those core IRQs are:

Illegal Instruction

SW Interrupt 3

HW stack overflow

Misaligned long word access

SW Interrupt 2

SW Interrupt 1

SW Interrupt 0

SW Interrupt LP

These exceptions are enabled at their fixed priority levels.

8.11 Interrupts

8.11.1 Interrupt Handshake Timing

The control logic looks at the current interrupt processing level using the SR_REG[9:8] bits from the 56800E core and determines if an interrupt request of sufficient priority exists to assert the interrupt output to the core. Please see Figure 8-24. Upon asserting INT to the core, the interrupt controller also asserts new values for the IPIC_LEVEL pins. These pins indicate the priority level

 

56852 Digital Signal Controller User Manual, Rev. 4

8-28

Freescale Semiconductor

-packaged product lines and part numbers indicated here currently are not

2010: MC13892

Commission, BGA

prior to September

order from the United States International Trade Freescale for import or sale in the United States

of an from

Because

available

Interrupts

required to interrupt this newly requested interrupt. The core will latch IPIC_LEVEL and it will be driven back to the interrupt controller as new values on the SR_REG[9:8] pins.

When the core recognizes the assertion of the interrupt pin, it will deassert PIC_EN. This tells the Interrupt Controller to drive VAB with the address corresponding to the highest priority interrupt request in order to start the interrupt service routine. When the core asserts the IACK signal, the Interrupt Controller will deassert the interrupt signal to the core. The controller will not reassert the interrupt signal until PIC_EN is asserted by the 56800E core.

CLK

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

PIC_EN

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

IACK

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

SR_REG[9:8]

 

 

 

 

 

 

 

 

00

 

 

 

 

 

 

 

00

 

 

 

 

 

 

 

 

 

 

 

 

 

01

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

IRQ

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

INT

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

IPIC_LEVEL

 

00

01

 

 

 

 

01

 

01

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

VAB

 

 

 

 

 

 

 

 

 

 

v0

 

 

 

 

 

 

v0

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Figure 8-24. Interrupt Handshake Timing

8.11.2 Interrupt Nesting

Interrupt exceptions may be nested to allow an IRQ of higher priority than the current exception to be serviced. The following two tables define the nesting requirements for each priority level.

Table 8-4. Interrupt Mask Bit Definition

SR[9]

SR[8]

Exceptions

Exceptions

Permitted

Masked

 

 

 

 

 

 

 

 

 

 

0

0

Priorities 0, 1, 2, 3

None

 

 

 

 

0

1

Priorities 1, 2, 3

Priority 0

 

 

 

 

1

0

Priorities 2,3

Priorities 0, 1

 

 

 

 

1

1

Priority 3

Priorities 0, 1, 2

 

 

 

 

 

Interrupt Controller (ITCN), Rev. 4

Freescale Semiconductor

8-29

-packaged product lines and part numbers indicated here currently are not

2010: MC13892

Commission, BGA

prior to September

order from the United States International Trade Freescale for import or sale in the United States

of an from

Because

available

Interrupts

Table 8-5. Interrupt Priority Encoding

 

Current Interrupt

Required Nested

IPIC_LEVEL[1:0]

Exception

Priority Level

 

Priority

 

 

 

 

 

 

 

 

00

No interrupt or SWILP

Priorities 0, 1, 2, 3

 

 

 

01

Priority 0

Priorities 1, 2, 3

 

 

 

10

Priority 1

Priorities 2, 3

 

 

 

11

Priorities 2 or 3

Priority 3

 

 

 

 

56852 Digital Signal Controller User Manual, Rev. 4

8-30

Freescale Semiconductor

-packaged product lines and part numbers indicated here currently are not

2010: MC13892

Commission, BGA

prior to September

order from the United States International Trade Freescale for import or sale in the United States

of an from

Because

available

Chapter 9

Serial Communications Interface (SCI)

 

Serial Communications Interface (SCI), Rev. 4

Freescale Semiconductor

9-1

-packaged product lines and part numbers indicated here currently are not

2010: MC13892

Commission, BGA

prior to September

order from the United States International Trade Freescale for import or sale in the United States

of an from

Because

available

 

-packaged product lines and part numbers indicated here currently are not

2010: MC13892

 

 

Commission, BGA

prior to September

 

order from the United States International Trade Freescale for import or sale in the United States

 

of an from

 

Because

available

 

56852 Digital Signal Controller User Manual, Rev. 4

9-2

Freescale Semiconductor

Соседние файлы в папке DSP568xx