CTI - Cross Trigger Interface

Configuration interface for the Cross Trigger Interface

Please refer to the CTI section for more information about how to configure the Cross Trigger Interface.

Registers

Instances

InstanceDomainBase addressTrustZoneSplit accessDescription
MapAttDMA
CTIAPPLICATION0xE0042000HFSNANoCross-trigger interface
CTINETWORK0xE0042000HFNSNANoCross-trigger interface

Configuration

InstanceDomainConfiguration
CTIAPPLICATION
CTINETWORKETMEVTIN and ETMEVTOUT fields are not supported, as the embedded trace macrocell (ETM) is not present in the network core.

Register overview

RegisterOffsetTZDescription
CTICONTROL0x000CTI Control register
CTIINTACK0x010CTI Interrupt Acknowledge register
CTIAPPSET0x014CTI Application Trigger Set register
CTIAPPCLEAR0x018CTI Application Trigger Clear register
CTIAPPPULSE0x01CCTI Application Pulse register
CTIINEN[n]0x020CTI Trigger to Channel Enable register
CTIOUTEN[n]0x0A0CTI Channel to Trigger Enable register
CTITRIGINSTATUS0x130CTI Trigger In Status register
CTITRIGOUTSTATUS0x134CTI Trigger Out Status register
CTICHINSTATUS0x138CTI Channel In Status register
CTIGATE0x140Enable CTI Channel Gate register
DEVARCH0xFBCDevice Architecture register
DEVID0xFC8Device Configuration register
DEVTYPE0xFCCDevice Type Identifier register
PIDR40xFD0Peripheral ID4 Register
PIDR50xFD4Peripheral ID5 register
PIDR60xFD8Peripheral ID6 register
PIDR70xFDCPeripheral ID7 register
PIDR00xFE0Peripheral ID0 Register
PIDR10xFE4Peripheral ID1 Register
PIDR20xFE8Peripheral ID2 Register
PIDR30xFECPeripheral ID3 Register
CIDR00xFF0Component ID0 Register
CIDR10xFF4Component ID1 Register
CIDR20xFF8Component ID2 Register
CIDR30xFFCComponent ID3 Register

CTICONTROL

Address offset: 0x000

CTI Control register

The CTICONTROL register enables the CTI.

Bit number313029282726252423222120191817161514131211109876543210
IDA
Reset 0x0000000000000000000000000000000000000000
IDR/WFieldValue IDValueDescription
ARWGLBENEnables or disables the CTI.
Disabled0All cross-triggering mapping logic functionality is disabled.
Enabled1Cross-triggering mapping logic functionality is enabled.

CTIINTACK

Address offset: 0x010

CTI Interrupt Acknowledge register

The CTIINTACK register is a software acknowledge for a trigger output. This register is used when ctitrigout is used as a sticky output. That is, no hardware acknowledge is available and a software acknowledge is required.

Bit number313029282726252423222120191817161514131211109876543210
IDHGFEDCBA
Reset 0x0000000000000000000000000000000000000000
IDR/WFieldValue IDValueDescription
A-HWINTACK[i] (i=0..7)Acknowledges the ctitrigout i output.
Acknowledge1Clears the ctitrigout.

CTIAPPSET

Address offset: 0x014

CTI Application Trigger Set register

Writing to the CTIAPPSET register causes a channel event to be raised, corresponding to the bit written to.

Bit number313029282726252423222120191817161514131211109876543210
IDDCBA
Reset 0x0000000000000000000000000000000000000000
IDR/WFieldValue IDValueDescription
A-DRWAPPSET[i] (i=0..3)Application trigger event for channel i.
Inactive0Application trigger i is inactive.
Active1Application trigger i is active.
Activate1Generate channel event for channel i.

CTIAPPCLEAR

Address offset: 0x018

CTI Application Trigger Clear register

Writing to a bit in the CTIAPPCLEAR register clears the corresponding channel event.

Bit number313029282726252423222120191817161514131211109876543210
IDDCBA
Reset 0x0000000000000000000000000000000000000000
IDR/WFieldValue IDValueDescription
A-DWAPPCLEAR[i] (i=0..3)Sets the corresponding bits in the CTIAPPSET to 0. There is one bit of the register for each channel.
Clear1Clears the event for channel i.

CTIAPPPULSE

Address offset: 0x01C

CTI Application Pulse register

A write to this register causes a channel event pulse of one cticlk period to be generated. This corresponds to the bit that was written to. The pulse external to the CTI can be extended to multi-cycle by the handshaking interface circuits. This register clears itself immediately, so it can be repeatedly written to without software having to clear it.

Bit number313029282726252423222120191817161514131211109876543210
IDDCBA
Reset 0x0000000000000000000000000000000000000000
IDR/WFieldValue IDValueDescription
A-DWAPPULSE[i] (i=0..3)Setting a bit HIGH generates a channel event pulse for the selected channel. There is one bit of the register for each channel.
Generate1Generates an event pulse on channel i.

CTIINEN[n] (n=0..7)

Address offset: 0x020 + (n × 0x4)

CTI Trigger to Channel Enable register

The CTIINENn register enables the signaling of an event on CTM channels when a trigger event is received by the CTI. There is a bit for each of the four channels implemented. This register does not affect the application trigger operations.

Bit number313029282726252423222120191817161514131211109876543210
IDDCBA
Reset 0x0000000000000000000000000000000000000000
IDR/WFieldValue IDValueDescription
A-DRWTRIGINEN[i] (i=0..3)Enables a cross trigger event to channel i when a ctitrigin input is activated.
Disabled0Input trigger n events are ignored by channel i.
Enabled1When an event is received on input trigger n (ctitrigin[n]), generate an event on channel i.

CTIOUTEN[n] (n=0..7)

Address offset: 0x0A0 + (n × 0x4)

CTI Channel to Trigger Enable register

The CTIOUTENn register defines which channels can generate a ctitrigout[n] output. There is a bit for each of the four channels implemented. This register affects the mapping from application trigger to trigger outputs.

Bit number313029282726252423222120191817161514131211109876543210
IDDCBA
Reset 0x0000000000000000000000000000000000000000
IDR/WFieldValue IDValueDescription
A-DRWTRIGOUTEN[i] (i=0..3)Enables a cross trigger event to ctitrigout when channel i is activated.
Disabled0Channel i is ignored by output trigger n.
Enabled1When an event occurs on channel i, generate an event on output event n (ctitrigout[n]).

CTITRIGINSTATUS

Address offset: 0x130

CTI Trigger In Status register

The CTITRIGINSTATUS register provides the status of the ctitrigin inputs.

Bit number313029282726252423222120191817161514131211109876543210
IDHGFEDCBA
Reset 0x0000000000000000000000000000000000000000
IDR/WFieldValue IDValueDescription
A-HRTRIGINSTATUS[i] (i=0..7)Shows the status of ctitrigini input.
Active1Ctitrigin i is active.
Inactive0Ctitrigin i is inactive.

CTITRIGOUTSTATUS

Address offset: 0x134

CTI Trigger Out Status register

The CTITRIGOUTSTATUS register provides the status of the ctitrigout outputs.

Bit number313029282726252423222120191817161514131211109876543210
IDHGFEDCBA
Reset 0x0000000000000000000000000000000000000000
IDR/WFieldValue IDValueDescription
A-HRTRIGOUTSTATUS[i] (i=0..7)Shows the status of ctitrigouti output.
Active1Ctitrigout i is active.
Inactive0Ctitrigout i is inactive.

CTICHINSTATUS

Address offset: 0x138

CTI Channel In Status register

The CTICHINSTATUS register provides the status of the ctichin inputs.

Bit number313029282726252423222120191817161514131211109876543210
IDDCBA
Reset 0x0000000000000000000000000000000000000000
IDR/WFieldValue IDValueDescription
A-DRCTICHINSTATUS[i] (i=0..3)Shows the status of the ctitrigin i input.
Active1Ctichin i is active.
Inactive0Ctichin i is inactive.

CTIGATE

Address offset: 0x140

Enable CTI Channel Gate register

The CTIGATE register prevents the channels from propagating through the CTM to other CTIs. This enables local cross-triggering (e.g. causing an interrupt when the ETM trigger occurs). It can be used effectively with CTIAPPSET, CTIAPPCLEAR, and CTIAPPPULSE for asserting trigger outputs by asserting channels, without affecting the rest of the system. On reset, this register is 0xF and channel propagation is enabled.

Bit number313029282726252423222120191817161514131211109876543210
IDDCBA
Reset 0x0000000F00000000000000000000000000001111
IDR/WFieldValue IDValueDescription
A-DRWCTIGATEEN[i] (i=0..3)Enable ctichouti.
Enabled1Enable ctichout channel i propagation.
Disabled0Disable ctichout channel i propagation.

DEVARCH

Address offset: 0xFBC

Device Architecture register

Bit number313029282726252423222120191817161514131211109876543210
IDA
Reset 0x47701A1401000111011100000001101000010100
IDR/WFieldValue IDValueDescription
ARArchitectureContains the CTI device architecture.

DEVID

Address offset: 0xFC8

Device Configuration register

The DEVID register indicates the capabilities of the component.

Bit number313029282726252423222120191817161514131211109876543210
IDCCCCBBBBBBBBAAAAA
Reset 0x0004080000000000000001000000100000000000
IDR/WFieldValue IDValueDescription
AREXTMUXNUMIndicates the number of multiplexers available on Trigger Inputs and Trigger Outputs that are using asicctl. The default value of 0b00000 indicates that no multiplexing is present.
BRNUMTRIGNumber of ECT triggers available.
CRNUMCHNumber of ECT channels available.

DEVTYPE

Address offset: 0xFCC

Device Type Identifier register

The DEVTYPE register provides a debugger with information about the component when the Part Number field is not recognized. The debugger can then report this information.

Bit number313029282726252423222120191817161514131211109876543210
IDBBBBAAAA
Reset 0x0000001400000000000000000000000000010100
IDR/WFieldValue IDValueDescription
ARMAJORMajor classification of the type of the debug component as specified in the Arm Architecture Specification for this debug and trace component.
Controller4Indicates that this component allows a debugger to control other components in an Arm CoreSight SoC-400 system.
BRSUBSub-classification of the type of the debug component as specified in the Arm Architecture Specification within the major classification as specified in the MAJOR field.
Crosstrigger1Indicates that this component is a sub-triggering component.

PIDR4

Address offset: 0xFD0

Peripheral ID4 Register

The PIDR4 register is part of the set of peripheral identification registers. It contains part of the designer identity and the memory size.

Bit number313029282726252423222120191817161514131211109876543210
IDBBBBAAAA
Reset 0x0000000400000000000000000000000000000100
IDR/WFieldValue IDValueDescription
ARDES_2Together, PIDR1.DES_0, PIDR2.DES_1, and PIDR4.DES_2 identify the designer of the component.
Code4JEDEC continuation code.
BRSIZEAlways 0b0000. Indicates that the device only occupies 4KB of memory.

PIDR5

Address offset: 0xFD4

Peripheral ID5 register

Bit number313029282726252423222120191817161514131211109876543210
ID
Reset 0x0000000000000000000000000000000000000000
IDR/WFieldValue IDValueDescription

PIDR6

Address offset: 0xFD8

Peripheral ID6 register

Bit number313029282726252423222120191817161514131211109876543210
ID
Reset 0x0000000000000000000000000000000000000000
IDR/WFieldValue IDValueDescription

PIDR7

Address offset: 0xFDC

Peripheral ID7 register

Bit number313029282726252423222120191817161514131211109876543210
ID
Reset 0x0000000000000000000000000000000000000000
IDR/WFieldValue IDValueDescription

PIDR0

Address offset: 0xFE0

Peripheral ID0 Register

The PIDR0 register is part of the set of peripheral identification registers. It contains part of the designer- specific part number.

Bit number313029282726252423222120191817161514131211109876543210
IDAAAAAAAA
Reset 0x0000002100000000000000000000000000100001
IDR/WFieldValue IDValueDescription
ARPART_0Bits[7:0] of the 12-bit part number of the component. The designer of the component assigns this part number.
PartnumberL0x21Indicates bits[7:0] of the part number of the component.

PIDR1

Address offset: 0xFE4

Peripheral ID1 Register

The PIDR1 register is part of the set of peripheral identification registers. It contains part of the designer- specific part number and part of the designer identity.

Bit number313029282726252423222120191817161514131211109876543210
IDBBBBAAAA
Reset 0x000000BD00000000000000000000000010111101
IDR/WFieldValue IDValueDescription
ARPART_1Bits[11:8] of the 12-bit part number of the component. The designer of the component assigns this part number.
PartnumberH13Indicates bits[11:8] of the part number of the component.
BRDES_0Together, PIDR1.DES_0, PIDR2.DES_1, and PIDR4.DES_2 identify the designer of the component.
Arm11Arm. Bits[3:0] of the JEDEC JEP106 Identity Code

PIDR2

Address offset: 0xFE8

Peripheral ID2 Register

The PIDR2 register is part of the set of peripheral identification registers. It contains part of the designer identity and the product revision.

Bit number313029282726252423222120191817161514131211109876543210
IDCCCCBAAA
Reset 0x0000000B00000000000000000000000000001011
IDR/WFieldValue IDValueDescription
ARDES_1Together, PIDR1.DES_0, PIDR2.DES_1, and PIDR4.DES_2 identify the designer of the component.
Arm3Arm. Bits[6:4] of the JEDEC JEP106 Identity Code
BRJEDECAlways 1. Indicates that the JEDEC-assigned designer ID is used.
CRREVISIONPeripheral revision
Rev0p00This device is at r0p0

PIDR3

Address offset: 0xFEC

Peripheral ID3 Register

The PIDR3 register is part of the set of peripheral identification registers. It contains the REVAND and CMOD fields.

Bit number313029282726252423222120191817161514131211109876543210
IDBBBBAAAA
Reset 0x0000000000000000000000000000000000000000
IDR/WFieldValue IDValueDescription
ARCMODCustomer Modified. Indicates whether the customer has modified the behavior of the component. In most cases, this field is 0b0000. Customers change this value when they make authorized modifications to this component.
Unmodified0Indicates that the customer has not modified this component.
BRREVANDIndicates minor errata fixes specific to the revision of the component being used, for example metal fixes after implementation. In most cases, this field is 0b0000. Arm recommends that the component designers ensure that a metal fix can change this field if required, for example, by driving it from registers that reset to 0b0000.
NoErrata0Indicates that there are no errata fixes to this component.

CIDR0

Address offset: 0xFF0

Component ID0 Register

The CIDR0 register is a component identification register that indicates the presence of identification registers.

Bit number313029282726252423222120191817161514131211109876543210
IDAAAAAAAA
Reset 0x0000000D00000000000000000000000000001101
IDR/WFieldValue IDValueDescription
ARPRMBL_0Preamble[0]. Contains bits[7:0] of the component identification code.
Value0x0DBits[7:0] of the identification code.

CIDR1

Address offset: 0xFF4

Component ID1 Register

The CIDR1 register is a component identification register that indicates the presence of identification registers. This register also indicates the component class.

Bit number313029282726252423222120191817161514131211109876543210
IDBBBBAAAA
Reset 0x0000009000000000000000000000000010010000
IDR/WFieldValue IDValueDescription
ARPRMBL_1Preamble[1]. Contains bits[11:8] of the component identification code.
Value0Bits[11:8] of the identification code.
BRCLASSClass of the component, for example, whether the component is a ROM table or a generic CoreSight component. Contains bits[15:12] of the component identification code
Coresight9Indicates that the component is a CoreSight component.

CIDR2

Address offset: 0xFF8

Component ID2 Register

The CIDR2 register is a component identification register that indicates the presence of identification registers.

Bit number313029282726252423222120191817161514131211109876543210
IDAAAAAAAA
Reset 0x0000000500000000000000000000000000000101
IDR/WFieldValue IDValueDescription
ARPRMBL_2Preamble[2]. Contains bits[23:16] of the component identification code.
Value0x05Bits[23:16] of the identification code.

CIDR3

Address offset: 0xFFC

Component ID3 Register

The CIDR3 register is a component identification register that indicates the presence of identification registers.

Bit number313029282726252423222120191817161514131211109876543210
IDAAAAAAAA
Reset 0x000000B100000000000000000000000010110001
IDR/WFieldValue IDValueDescription
ARPRMBL_3Preamble[3]. Contains bits[31:24] of the component identification code.
Value0xB1Bits[31:24] of the identification code.