mc9s12xd256 Freescale Semiconductor, Inc, mc9s12xd256 Datasheet - Page 202

no-image

mc9s12xd256

Manufacturer Part Number
mc9s12xd256
Description
Hcs12x Microcontrollers
Manufacturer
Freescale Semiconductor, Inc
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
mc9s12xd256CAA
Manufacturer:
FREESCALE
Quantity:
3 564
Part Number:
mc9s12xd256CAA
Manufacturer:
Freescale Semiconductor
Quantity:
10 000
Part Number:
mc9s12xd256CAA
Manufacturer:
FREESCALE
Quantity:
3 564
Part Number:
mc9s12xd256CAG
Manufacturer:
FREESCALE
Quantity:
1 540
Part Number:
mc9s12xd256CAG
Manufacturer:
Freescale Semiconductor
Quantity:
10 000
Chapter 6 XGATE (S12XGATEV2)
6.4
The core of the XGATE module is a RISC processor which is able to access the MCU’s internal memories
and peripherals (see
by an XGATE request. Then it executes a code sequence that is associated with the request and optionally
triggers an interrupt to the S12X_CPU upon completion. Code sequences are not interruptible. A new
XGATE request can only be serviced when the previous sequence is finished and the RISC core becomes
idle.
The XGATE module also provides a set of hardware semaphores which are necessary to ensure data
consistency whenever RAM locations or peripherals are shared with the S12X_CPU.
The following sections describe the components of the XGATE module in further detail.
6.4.1
The RISC core is a 16 bit processor with an instruction set that is well suited for data transfers, bit
manipulations, and simple arithmetic operations (see
It is able to access the MCU’s internal memories and peripherals without blocking these resources from
the S12X_CPU
will be stalled until the resource becomes available again
The XGATE offers a high access rate to the MCU’s internal RAM. Depending on the bus load, the RISC
core can perform up to two RAM accesses per S12X_CPU bus cycle.
Bus accesses to peripheral registers or flash are slower. A transfer rate of one bus access per S12X_CPU
cycle can not be exceeded.
The XGATE module is intended to execute short interrupt service routines that are triggered by peripheral
modules or by software.
6.4.2
1. With the exception of PRR registers (see Section “S12X_MMC”).
202
Functional Description
XGATE RISC Core
Programmer’s Model
1
. Whenever the S12X_CPU and the RISC core access the same resource, the RISC core
Figure
15
15
15
15
15
15
15
15
6-1). The RISC processor always remains in an idle state until it is triggered
Register Block
R7
R0 = 0
R6
R5
R4
R3
R2
R1
MC9S12XDP512 Data Sheet, Rev. 2.17
Figure 6-19. Programmer’s Model
(Variable Pointer)
0
0
0
0
0
0
0
0
Section 6.8, “Instruction
15
1
.
Program Counter
PC
Condition
Register
N Z
3 2
Set”).
Code
V C
1 0
0
Freescale Semiconductor

Related parts for mc9s12xd256