S912XEQ384J3MALR Freescale Semiconductor, S912XEQ384J3MALR Datasheet - Page 374

no-image

S912XEQ384J3MALR

Manufacturer Part Number
S912XEQ384J3MALR
Description
S912XEQ Series 16 Bit 50 Mhz 384 KB Flash 24 KB Ram Microcontroller - LQFP-112
Manufacturer
Freescale Semiconductor
Datasheet
Chapter 10 XGATE (S12XGATEV3)
Section for information on how to select priority levels for XGATE threads. Low priority threads (interrupt
levels 1 to 3) can be interrupted by high priority threads (interrupt levels 4 to 7). High priority threads are
not interruptible. The register content of an interrupted thread is maintained and restored by the XGATE
hardware.
To signal the completion of a task the XGATE is able to send interrupts to the S12X_CPU. Each XGATE
channel has its own interrupt vector. Refer to the S12X_INT Section for detailed information.
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.
10.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.
10.4.2
1. With the exception of PRR registers (see Section “S12X_MMC”).
374
XGATE RISC Core
Programmer’s Model
1
. Whenever the S12X_CPU and the RISC core access the same resource, the RISC core
15
15
15
15
15
15
15
15
Register Block
MC9S12XE-Family Reference Manual Rev. 1.24
R7
R0 = 0
R6
R5
R4
R3
R2
R1
Figure 10-22. Programmer’s Model
(Stack Pointer)
(Data Pointer)
0
0
0
0
0
0
0
0
Section 10.8, “Instruction
15
1
Program Counter
PC
Condition
Register
N Z
3 2
Code
Set”).
V C
1 0
0
Freescale Semiconductor

Related parts for S912XEQ384J3MALR