Freescale Semiconductor SC140 specifications EE2DEF

Models: SC140

1 760
Download 760 pages 48.94 Kb
Page 157
Image 157

 

 

 

 

EOnCE Controller Registers

 

 

 

 

 

 

 

 

Table 4-16. EE_CTRL Description (Continued)

 

 

 

 

 

 

 

Name

Description

Settings

 

 

 

 

 

 

 

 

 

 

 

 

 

 

EE2DEF

EE2 Definition — Programs the EE2 signal.

00

= Output, detection by EDCA2

 

 

Bits 5–4

Programmed as an output of the EOnCE, EE2

01

= Reserved

 

 

 

can indicate detection by EDCA2, working as

10

= Reserved

 

 

 

a toggle.

11

= Input, enables EDCA2 or ECNT, or generates an

 

 

 

Programmed as an input to the EOnCE

 

EOnCE event

 

 

 

according to the programming of the ECNT,

 

 

 

 

 

EDU, and ES, EE2 can be programmed to:

 

 

 

 

 

• Enable the ECNT together with the

 

 

 

 

 

ECNTEN bits

 

 

 

 

 

• Enable the EDCA2 together with the

 

 

 

 

 

EDCAEN bits

 

 

 

 

 

• Generate one of the EOnCE events

 

 

 

 

 

together with the ES

 

 

 

 

 

EE2 cannot disable EDCA2 or ECNT.

 

 

 

 

 

 

 

 

 

 

EE1DEF

EE1 Definition — Programs the EE1 signal.

00

= Output, detection by EDCA1

 

 

Bits 3–2

Programmed as an output of the EOnCE, EE1

01 = Debug acknowledgement

 

 

 

can indicate detection by EDCA1, working as

10

= Reserved

 

 

 

a toggle. It can also indicate that the core has

11

= Input, enables EDCA1 or generates an EOnCE

 

 

 

entered debug state (debug acknowledge). In

 

event

 

 

 

the case of debug acknowledge, when

 

 

 

 

 

single-stepping, EE1 does not toggle.

 

 

 

 

 

Programmed as an input to the EOnCE

 

 

 

 

 

according to the programming of the EDU and

 

 

 

 

 

the ES, EE1 can be programmed to enable

 

 

 

 

 

EDCA1 or to generate one of the EOnCE

 

 

 

 

 

events.

 

 

 

 

 

 

 

 

 

 

EE0DEF

EE0 Definition — Programs the EE0 signal.

00

= Output, detection by EDCA0

 

 

Bits 1–0

Programmed as an output of the EOnCE, EE0

01

= Reserved

 

 

 

can indicate detection by the EDCA0, working

10

= Input, enables EDCA0 or generates an EOnCE

 

 

 

as a toggle.

 

event

 

 

 

Programmed as an input to the EOnCE

11

= Input, debug request (also enables EDCA0 or

 

 

 

according to the programming of the EDU and

 

generates an EOnCE event)

 

 

 

the ES, the EE0 can be programmed to enable

 

 

 

 

 

EDCA0 together with the EDCAEN bits, or

 

 

 

 

 

generate one of the EOnCE events together

 

 

 

 

 

with the ES.

 

 

 

 

 

EE0 can also be programmed to force the core

 

 

 

 

 

into debug state. This default state enables

 

 

 

 

 

entry into debug state directly after core reset.

 

 

 

 

 

Holding EE0 at logic value 1 during and after

 

 

 

 

 

the reset enters the core into debug state

 

 

 

 

 

before the first dispatch occurs. In this mode,

 

 

 

 

 

asserting EE0 also causes an exit from stop or

 

 

 

 

 

wait processing states of the core, as specified

 

 

 

 

 

in Section 5.7, “Processing States,” on page

 

 

 

 

 

5-41.

 

 

 

 

 

When programmed as a debug request, EE0

 

 

 

 

 

can also enable EDCA0 or generate an

 

 

 

 

 

EOnCE event if EDCA0 or the ES are

 

 

 

 

 

programmed in this manner.

 

 

 

 

 

 

 

 

 

SC140 DSP Core Reference Manual

4-47

Page 157
Image 157
Freescale Semiconductor SC140 specifications EE2DEF