mc9s12xd256 Freescale Semiconductor, Inc, mc9s12xd256 Datasheet - Page 206

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.5
6.5.1
XGATE threads are triggered by interrupt requests which are routed to the XGATE module (see
S12X_INT Section). Only a subset of the MCU’s interrupt requests can be routed to the XGATE. Which
specific interrupt requests these are and which channel ID they are assigned to is documented in Section
“Interrupts” of the SoC Guide.
6.5.2
There are three types of interrupt requests which can be triggered by the XGATE module:
All XGATE interrupts can be disabled by the XGIE bit in the XGATE module control register (XGMCTL,
see
6.6
The XGATE debug mode is a feature to allow debugging of application code.
6.6.1
In debug mode the RISC core will be halted and the following debug features will be enabled:
1. Only possible if MCU is unsecured
206
4. Channel interrupts
5. Software triggers
6. Software error interrupt
Section 6.3.1.1, “XGATE Control Register
For each XGATE channel there is an associated interrupt flag in the XGATE interrupt flag vector
(XGIF, see
set through the "SIF" instruction by the RISC core. They are typically used to flag an interrupt to
the S12X_CPU when the XGATE has completed one of its tasks.
Software triggers are interrupt flags, which can be set and cleared by software (see
“XGATE Software Trigger Register
by the S12X_CPU software. However these interrupts can also be routed to the S12X_CPU (see
S12X_INT Section) and triggered by the XGATE software.
The software error interrupt signals to the S12X_CPU the detection of an error condition in the
XGATE application code (see
Read and Write accesses to RISC core registers (XGCCR, XGPC, XGR1–XGR7)
All RISC core registers can be modified. Leaving debug mode will cause the RISC core to continue
program execution with the modified register values.
Interrupts
Debug Mode
Incoming Interrupt Requests
Outgoing Interrupt Requests
Debug Features
Section 6.3.1.4, “XGATE Channel Interrupt Flag Vector
MC9S12XDP512 Data Sheet, Rev. 2.17
Section 6.4.5, “Software Error
(XGSWT)”). They are typically used to trigger XGATE tasks
(XGMCTL)”).
Detection”).
(XGIF)”). These flags can be
Freescale Semiconductor
Section 6.3.1.5,
1

Related parts for mc9s12xd256