21. Inter-processor communication controller (IPCC)

21.1 Introduction

The inter-processor communication controller (IPCC) is used for communicating data between two processors.

The IPCC block provides a nonblocking signaling mechanism to post and retrieve communication data in an atomic way. It provides the signaling for 32 channels:

It is then possible to have two different communication types in each direction.

The IPCC communication data must be located in a common memory, which is not part of the IPCC block.

21.2 IPCC main features

21.3 IPCC functional description

The IPCC communication data are located in a common memory, which is not part of the IPCC block. The address location of the communication data must be known or located in a known common area that, as already stated, is not part of the IPCC block.

For each communication, the IPCC block provides a channel status flag CHnF.

The channel operation mode must be known to both processors. A common parameter can be used to indicate the channel transfer mode and must also be located in a known common area. This parameter is not available from the IPCC.

21.3.1 IPCC block diagram

The IPCC (see Figure 122) consists of the following subblocks:

Figure 122. IPCC block diagram

Figure 122. IPCC block diagram

The diagram illustrates the internal structure of the IPCC block and its external interfaces. The IPCC block is divided into four main functional areas:

Arrows indicate the flow of data and control signals between these blocks. The AHB slave interface is on the left, and the interrupt routing is on the right.

Figure 122. IPCC block diagram
Table 163. IPCC interface signals
SignalDescription
NameType
AHB slaveI/OAHB register access bus
ipcc_nonsec_tx_free_int1_cidxONonsecure TX free interrupt to processor 1 per CID
ipcc_nonsec_rx_occupied_int1_cidxONonsecure RX occupied interrupt to processor 1 per CID
ipcc_sec_tx_free_int1_cidxOSecure TX free interrupt to processor 1 per CID
ipcc_sec_rx_occupied_int1_cidxOSecure RX occupied interrupt to processor 1 per CID
ipcc_nonsec_tx_free_int2_cidxONonsecure TX free interrupt to processor 2 per CID
ipcc_nonsec_rx_occupied_int2_cidxONonsecure RX occupied interrupt to processor 2 per CID
ipcc_sec_tx_free_int2_cidxOSecure TX free interrupt to processor 2 per CID
ipcc_sec_rx_occupied_int2_cidxOSecure RX occupied interrupt to processor 2 per CID
ipcc_sec_ilaOIllegal secure access event
ipcc_priv_ilaOIllegal privilege access event
ipcc_cid_ilaOIllegal CID access event

21.3.2 IPCC Simplex channel mode

In Simplex channel mode, a dedicated memory location (used to transfer data in a single direction) is assigned to the communication data. The associated channel N control bits (see Table 164) are used to manage the transfer from the sending to the receiving processor.

Table 164. Bits used for the communication
ProcessorAB
SEND A = 1
RECEIVE B = 2
IPCC_C1CR.TXFIE
IPCC_C1MR.CHnFM
IPCC_C1SCR.CHnS
IPCC_C1TOC2SR.CHnF
IPCC_C2CR.RXOIE
IPCC_C2MR.CHnOM
IPCC_C2SCR.CHnC
SEND A = 2
RECEIVE B = 1
IPCC_C2CR.TXFIE
IPCC_C2MR.CHnFM
IPCC_C2SCR.CHnS
IPCC_C2TOC1SR.CHnF
IPCC_C1CR.RXOIE
IPCC_C1MR.CHnOM
IPCC_C1SCR.CHnC

Once the sending processor has posted the communication data in the memory, it sets the channel status flag CHnF to occupied with CHnS.

Once the receiving processor has retrieved the communication data from the memory, it clears the channel status flag CHnF back to free with CHnC.

Figure 123. IPCC Simplex channel mode transfer timing

Timing diagram for IPCC Simplex channel mode transfer showing Processor A, CHnF, TX free interrupt, Processor B, RX occupied interrupt, and Memory occupation signals.

The timing diagram illustrates the sequence of events for a simplex channel mode transfer between Processor A and Processor B. Processor A writes communication data to memory, which occupies the memory space. This triggers a TX free interrupt. Processor B then reads the communication data from memory, which triggers an RX occupied interrupt. After the data is read, the memory occupation is cleared, and the TX free interrupt is cleared. The CHnF signal indicates the channel status, transitioning from low to high when data is written and back to low when data is read.

MS42430V1

Timing diagram for IPCC Simplex channel mode transfer showing Processor A, CHnF, TX free interrupt, Processor B, RX occupied interrupt, and Memory occupation signals.

Figure 124. IPCC Simplex - Send procedure state diagram

State diagram for IPCC Simplex - Send procedure showing the flow from Send Communication data to End, including steps like Read CHnF, UNMASK Channel N free interrupt, Wait for TX free interrupt, MASK Channel N free interrupt, and Write Communication data to memory.
graph TD
    Start(( )) -- Send Communication data --> ReadCHnF{Read CHnF}
    ReadCHnF -- CHnF = 1 --> UNMASK[UNMASK Channel N free interrupt]
    UNMASK -- Write CHnFM = 0 --> Wait[Wait for TX free interrupt]
    Wait -- TX free interrupt --> ReadCHnF0[Read CHnF = 0]
    ReadCHnF0 --> MASK[MASK Channel N free interrupt]
    MASK -- Write CHnFM = 1 --> WriteMemory[Write Communication data to memory]
    ReadCHnF -- CHnF = 0 --> WriteMemory
    WriteMemory -- Complete communication posted --> SetOccupied[Set Channel N occupied]
    SetOccupied -- Write CHnS (set CHnF = 1) --> End([End])
State diagram for IPCC Simplex - Send procedure showing the flow from Send Communication data to End, including steps like Read CHnF, UNMASK Channel N free interrupt, Wait for TX free interrupt, MASK Channel N free interrupt, and Write Communication data to memory.

To send communication data:

Figure 125. IPCC Simplex - Receive procedure state diagram

Flowchart of IPCC Simplex - Receive procedure state diagram. It starts with an RX occupied interrupt, followed by reading CHnF = 1, masking the channel N interrupt, reading communication data from memory, setting the channel N free, writing CHnC (set CHnF = 0), unmasking the channel N interrupt, writing CHnOM = 0, and finally ending.
graph TD
    Start(( )) -- "RX occupied interrupt" --> RX[RX occupied interrupt]
    RX -- "Read CHnF = 1" --> MASK[MASK Channel N occupied interrupt]
    MASK -- "Write CHnOM = 1" --> ReadData[Read Communication data from Memory]
    ReadData -- "Complete communication retrieved" --> SetFree[Set Channel N free]
    SetFree -- "Write CHnC (set CHnF = 0)" --> UNMASK[UNMASK Channel N occupied interrupt]
    UNMASK -- "Write CHnOM = 0" --> End([End])
  

MS42432V1

Flowchart of IPCC Simplex - Receive procedure state diagram. It starts with an RX occupied interrupt, followed by reading CHnF = 1, masking the channel N interrupt, reading communication data from memory, setting the channel N free, writing CHnC (set CHnF = 0), unmasking the channel N interrupt, writing CHnOM = 0, and finally ending.

To receive a communication, the channel occupied interrupt is unmasked (CHnOM = 0):

21.3.3 IPCC Half-duplex channel mode

The Half-duplex channel mode is used when one processor sends a communication and the other processor sends a response to each communication (ping-pong).

In Half-duplex channel mode, a single dedicated memory location is assigned to communication data and response, and is used to transfer data in both directions. The sending processor channel status flag CHnF is assigned to the channel and used by both processors (see Table 164).

Once the processor A posts communication data into memory, it sets the processor A channel status flag CHnF to occupied with CHnS (giving memory access to processor B).

Once the processor B retrieves communication data from memory, it does not change the channel status flags. The memory access is kept by processor B for the response.

Once the processor B posts the response into memory, it clears the channel status flag CHnF to free with CHnC (giving memory access back to processor A).

Once the processor A retrieves the response from the memory, it does not change the channel status flags. The memory location access is kept by processor A for the next communication data.

Figure 126. IPCC Half-duplex channel mode transfer timing

Timing diagram for IPCC Half-duplex channel mode transfer timing. It shows the sequence of operations for Processor A and Processor B across three channels. Processor A writes communication data to memory, then reads the response. Processor B reads the communication data, then writes the response. The diagram includes signals for CHnF status, TX free interrupt, RX occupied interrupt, and memory occupation.

The diagram illustrates the timing of data transfers between Processor A and Processor B using a half-duplex channel mode. It shows the sequence of operations for two channels, with Processor A handling the first and third channels, and Processor B handling the second and fourth channels.

MS42435V1

Timing diagram for IPCC Half-duplex channel mode transfer timing. It shows the sequence of operations for Processor A and Processor B across three channels. Processor A writes communication data to memory, then reads the response. Processor B reads the communication data, then writes the response. The diagram includes signals for CHnF status, TX free interrupt, RX occupied interrupt, and memory occupation.

Figure 127. IPCC Half-duplex - Send procedure state diagram

State diagram for IPCC Half-duplex Send procedure showing Communication processor A and Response processor B.

The diagram illustrates the IPCC Half-duplex Send procedure, divided into two main sections: Communication processor A and Response processor B.

Communication processor A:

Response processor B:

MS42433V1

State diagram for IPCC Half-duplex Send procedure showing Communication processor A and Response processor B.

To send communication data:

To send a response:

Figure 128. IPCC Half-duplex - Receive procedure state diagram

State diagram for IPCC Half-duplex Receive procedure showing the interaction between Response processor A and Communication processor B.

The diagram illustrates the receive procedure state diagram for IPCC Half-duplex, divided into two main sections: Response processor A and Communication processor B.

Response processor A:

Communication processor B:

MS42434V1

State diagram for IPCC Half-duplex Receive procedure showing the interaction between Response processor A and Communication processor B.

To receive communication data the channel occupied interrupt is unmasked (CHnOM = 0):

To receive the response the channel free interrupt is unmasked (CHnFM = 0):

21.3.4 IPCC interrupts and events

There are eight interrupt lines per CID and security events:

The RX occupied interrupt is used by the receiving processor and indicates when an unmasked channel status indicates occupied (CHnF = 1).

The TX free interrupt is used by the sending processor, and indicates when an unmasked channel status indicates free (CHnF = 0).

A secure channel only generates a secure interrupt, and only in the case when the channel is secure unmasked and global secure enabled.

A nonsecure channel only generates a nonsecure interrupt, and only in the case when the channel is nonsecure unmasked and global nonsecure enabled.

Interrupt routing

When CID filtering is enabled in IPCC_CxCIDCFGR.CFEN, the associated processor x interrupt is only routed to the enabled CID.

When CID filtering is disabled in IPCC_CxCIDCFGR.CFEN, the associated processor x interrupt is broadcasted to all supported CIDs. To prevent a compartment to receive unwanted IPCC interrupts, it must be masked at the processor compartment level (in the CPU NVIC).

21.3.5 IPCC security

The IPCC provides per processor and per channel security, in the IPCC_C1SECCFGR, IPCC_C1PRIVCFGR, IPCC_C2SECCFGR and IPCC_C2PRIVCFGR registers. This makes possible to configure any channel in one of the modes detailed in Table 165.

Table 165. IPCC security modes

Processor 1Processor 2Description
NonsecureNonsecureNonsecure / unprivileged
NonsecureSecureTX secure - RX nonsecure / unprivileged
SecureNonsecureTX nonsecure - RX secure / unprivileged
SecureSecureFull secure / unprivileged
Nonsecure privilegeNonsecureNonsecure TX privilege
Table 165. IPCC security modes (continued)
Processor 1Processor 2Description
NonsecureNonsecure privilegeNonsecure RX privilege
Nonsecure privilegeNonsecure privilegeNonsecure full privilege
Nonsecure privilegeSecureTX secure privilege - RX nonsecure
NonsecureSecure privilegeTX secure - RX nonsecure privilege
Nonsecure privilegeSecure privilegeTX secure - RX nonsecure / Full privilege
Secure privilegeNonsecureTX nonsecure privilege - RX secure
SecureNonsecure privilegeTX nonsecure - RX secure privilege
Secure privilegeNonsecure privilegeTX nonsecure -RX secure/ Full privilege
Secure privilegeSecureTX privileged - RX unprivilege / Full secure
SecureSecure privilegeTX unprivileged - RX privilege / Full secure
Secure privilegeSecure privilegeFull secure privilege

All processor nonsecure channels generate a processor nonsecure interrupt. All processor secure channels generate an associated processor secure interrupt. Illegal accesses to the security control register and privileged control registers are signaled on the illegal access events.

Additionally, the resource isolation allows the processor 1 registers to be protected from the processor 2 accesses and vice versa, and from any other AHB bus master access. Illegal CID processor accesses are signaled on the CID illegal access event.

The channel status in IPCC_CxTOCySR registers are readable by both processors and by all secure and privileged protection levels of these processors. For this the access protection on these registers is only provided on the compartment filtering when enabled for both processor 1 and processor 2. The following table summarizes the protection on IPCC_CxTOCySR. Not having security and privileged protection allows channels to be shared between secure and nonsecure, privileged, and unprivileged compartments.

Table 166. Access to channels
IPCC_C1CIDCFGRIPCC_C2CIDCFGRIPCC_CxTOCySR access
CFEN = 0CFEN = 0No protection, access by secure, nonsecure, privileged, unprivileged and any CID.
CFEN = 1CFEN = 0
CFEN = 0CFEN = 1
CFEN = 1CFEN = 1Compartment isolation protected, only access by processor 1 and processor 2 CIDs with secure, nonsecure, privileged, and unprivileged. Other CID accesses are illegal.

21.4 IPCC registers

The peripheral registers must be accessed by words (32-bit). Byte (8-bit) and half-word (16-bit) accesses are not permitted and do not generate a bus error.

For any DDCID access to registers and register bits, a security and privileged policy applies. When DDEN = 0 accesses from the DDCID to CID filtered registers is ignored. When DDEN = 1 the DDCID has access to all registers regardless of any CID filtering policy.

21.4.1 IPCC processor 1 control register (IPCC_C1CR)

Address offset: 0x000

Reset value: 0x0000 0000

This register is CID-filtered depending on the CID configuration in the processor 1 IPCC_C1CIDCFGR. An illegal CID write access is discarded and a read access returns zero data, also on both illegal accesses a CID illegal access event is generated.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.SEC
TXFIE
TXFIE
rwrw
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.SEC
RXOIE
RXOIE
rwrw

Bits 31:18 Reserved, must be kept at reset value.

Bit 17 SECTXFIE: Processor 1 transmit channel free secure interrupt enable.

Associated with IPCC_C1TOC2SR.

This bit can be accessed only with a secure access. Nonsecure write to this bit is discarded, nonsecure read returns 0 value.

1: Enable an unmasked processor 1 transmit channel free to generate a TX free secure interrupt.

0: Processor 1 TX free secure interrupt disabled.

Bit 16 TXFIE: Processor 1 transmit channel free nonsecure interrupt enable

Associated with IPCC_C1TOC2SR.

1: Enable an unmasked processor 1 transmit channel free to generate a nonsecure TX free interrupt.

0: Processor 1 nonsecure TX free interrupt disabled

Bits 15:2 Reserved, must be kept at reset value.

Bit 1 SECRXOIE: Processor 1 receive channel occupied secure interrupt enable.

Associated with IPCC_C2TOC1SR

This bit can be accessed only with a secure access. Nonsecure write to this bit is discarded, nonsecure read returns 0 value.

1: Enable an unmasked processor 1 receive channel occupied to generate an RX occupied secure interrupt.

0: Processor 1 RX occupied secure interrupt disabled.

Bit 0 RXOIE: Processor 1 receive channel occupied interrupt enable

Associated with IPCC_C2TOC1SR.

1: Enable an unmasked processor 1 receive channel occupied to generate an RX occupied interrupt.

0: Processor 1 RX occupied interrupt disabled

21.4.2 IPCC processor 1 mask register (IPCC_C1MR)

Address offset: 0x004

Reset value: 0xFFFF FFFF

This register is CID-filtered depending on the CID configuration in the processor 1 IPCC_C1CIDCFGR. An illegal CID write access is discarded and a read access returns zero data, also on both illegal accesses a CID illegal access event is generated.

31302928272625242322212019181716
CH16 FMCH15 FMCH14 FMCH13 FMCH12 FMCH11 FMCH10 FMCH9 FMCH8 FMCH7 FMCH6 FMCH5 FMCH4 FMCH3 FMCH2 FMCH1 FM
rwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrw
1514131211109876543210
CH16 OMCH15 OMCH14 OMCH13 OMCH12 OMCH11 OMCH10 OMCH9 OMCH8 OMCH7 OMCH6 OMCH5 OMCH4 OMCH3 OMCH2 OMCH1 OM
rwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrw

Bits 31:16 CHnFM: Processor 1 transmit channel n status set, (n = 16 to 1).

Associated with IPCC_C1TOC2SR.CHnF

When processor 1 CHnSEC is disabled, bit n can be accessed with secure and nonsecure access.

When processor 1 CHnSEC is enabled, bit n can be accessed only with secure access.

Nonsecure write to this bit is discarded, nonsecure read returns 0 value.

When processor 1 CHnPRIV is disabled, bit n can be accessed with privilege and unprivileged access.

When processor 1 CHnPRIV is enabled, bit n can be accessed only with privilege access.

Unprivileged write to this bit is discarded, unprivileged read returns 0 value.

1: Transmit channel n free interrupt masked.

0: Transmit channel n free interrupt not masked.

Bits 15:0 CHnOM: Processor 1 receive channel n status clear (n = 16 to 1).

Associated with IPCC_C2TOC1SR.CHnF

When processor 1 CHnSEC is disabled, bit n can be accessed with secure and nonsecure access.

When processor 1 CHnSEC is enabled, bit n can be accessed only with secure access.

Nonsecure write to this bit is discarded, nonsecure read returns 0 value.

When processor 1 CHnPRIV is disabled, bit n can be accessed with privilege and unprivileged access.

When processor 1 CHnPRIV is enabled, bit n can be accessed only with privilege access.

Unprivileged write to this bit is discarded, unprivileged read returns 0 value.

1: Receive channel n occupied interrupt masked.

0: Receive channel n occupied interrupt not masked.

21.4.3 IPCC processor 1 status set clear register (IPCC_C1SCR)

Address offset: 0x008

Reset value: 0x0000 0000

Reading this register always returns 0x0000 0000.

This register is CID-filtered depending on the CID configuration in the processor 1 IPCC_C1CIDCFGR. An illegal CID write access is discarded and a read access returns zero data, also on both illegal accesses a CID illegal access event is generated.

31302928272625242322212019181716
CH16SCH15SCH14SCH13SCH12SCH11SCH10SCH9SCH8SCH7SCH6SCH5SCH4SCH3SCH2SCH1S
rwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrw
1514131211109876543210
CH16CCH15CCH14CCH13CCH12CCH11CCH10CCH9CCH8CCH7CCH6CCH5CCH4CCH3CCH2CCH1C
rwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrw

Bits 31:16 CHnS: Processor 1 transmit channel n status set (n = 16 to 1).

Associated with IPCC_C1TOC2SR.CHnF

When processor 1 CHnSEC is disabled, bit n can be accessed with secure and nonsecure access.

When processor 1 CHnSEC is enabled, bit n can be accessed only with secure access. Nonsecure write to this bit is discarded, nonsecure read returns 0 value.

When processor 1 CHnPRIV is disabled, bit n can be accessed with privilege and unprivileged access.

When processor 1 CHnPRIV is enabled, bit n can be accessed only with privilege access. Unprivileged write to this bit is discarded, unprivileged read returns 0 value.

1: Processor 1 transmit channel n status bit set.

0: No action.

Bits 15:0 CHnC: Processor 1 receive channel n status clear (n = 16 to 1).

Associated with IPCC_C2TOC1SR.CHnF

When processor 1 CHnSEC is disabled, bit n can be accessed with secure and nonsecure access.

When processor 1 CHnSEC is enabled, bit n can be accessed only with secure access. Nonsecure write to this bit is discarded, nonsecure read returns 0 value.

When processor 1 CHnPRIV is disabled, bit n can be accessed with privilege and unprivileged access.

When processor 1 CHnPRIV is enabled, bit n can be accessed only with privilege access. Unprivileged write to this bit is discarded, unprivileged read returns 0 value.

1: Processor 1 receive channel n status bit clear.

0: No action.

21.4.4 IPCC processor 1 to processor 2 status register (IPCC_C1TOC2SR)

Address offset: 0x00C

Reset value: 0x0000 0000

When processor 1 or processor 2 CID filtering is disabled, this register has no access limitations, and can be accessed by any domain CID, and any combination of secure, nonsecure, privilege, and unprivileged access.

When both processor 1 and processor 2 CID filtering is enabled. Access restriction applies and only both processors CIDs have access, other CID accesses are discarded. In this case, an illegal CID read access returns zero data. A CID illegal access event is generated also on illegal accesses.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
CH16FCH15FCH14FCH13FCH12FCH11FCH10FCH9FCH8FCH7FCH6FCH5FCH4FCH3FCH2FCH1F
rrrrrrrrrrrrrrrr

Bits 31:16 Reserved, must be kept at reset value.

Bits 15:0 CHnF: Processor 1 transmit to processor 2 receive channel n status flag before masking (n = 16 to 1).

1: Channel occupied, data can be read by the receiving processor 2.

When channel is nonsecure in C2SECCFGR, generates a nonsecure RX occupied interrupt to processor 2, when unmasked and global nonsecure enabled for processor 2.

When channel is secure in C2SECCFGR, generates a secure RX occupied interrupt to processor 2, when unmasked and global secure enabled for processor 2.

0: Channel free, data can be written by the sending processor 1.

When channel is nonsecure in C1SECCFGR, generates a nonsecure TX free interrupt to processor 1, when unmasked and global nonsecure enabled for processor 1.

When channel is secure in C1SECCFGR, generates a secure TX free interrupt to processor 1, when unmasked and global secure enabled for processor 1.

21.4.5 IPCC processor 2 control register (IPCC_C2CR)

Address offset: 0x010

Reset value: 0x0000 0000

This register is CID-filtered depending on the CID configuration in the processor 2 IPCC_C2CIDCFGR. An illegal CID write access is discarded and a read access returns zero data, also on both illegal accesses a CID illegal access event is generated.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.SEC TXFIETXFIE
rwrw
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.SEC RXOIERXOIE
rwrw

Bits 31:18 Reserved, must be kept at reset value.

Bit 17 SECTXFIE: Processor 2 secure transmit channel free interrupt enable.

Associated with IPCC_C2TOC1SR.

This bit can be accessed only with a secure access. Nonsecure write to this bit is discarded, nonsecure read returns 0 value.

1: Enable an unmasked processor 2 transmit channel free to generate a secure TX free interrupt.

0: Processor 2 secure TX free interrupt disabled.

Bit 16 TXFIE: Processor 2 transmit channel free interrupt enable

Associated with IPCC_C2TOC1SR.

1: Enable an unmasked processor 2 transmit channel free to generate a TX free interrupt.

0: Processor 2 TX free interrupt disabled

Bits 15:2 Reserved, must be kept at reset value.

Bit 1 SECRXOIE: Processor 2 secure Receive channel occupied interrupt enable.

Associated with IPCC_C1TOC2SR.

This bit can be accessed only with a secure access. Nonsecure write to this bit is discarded, nonsecure read returns 0 value.

1: Enable an unmasked processor 2 receive channel occupied to generate an secure RX occupied interrupt.

0: Processor 2 secure RX occupied interrupt disabled.

Bit 0 RXOIE: Processor 2 receive channel occupied interrupt enable

Associated with IPCC_C1TOC2SR.

1: Enable an unmasked processor 2 receive channel occupied to generate an RX occupied interrupt.

0: Processor 2 RX occupied interrupt disabled

21.4.6 IPCC processor 2 mask register (IPCC_C2MR)

Address offset: 0x014

Reset value: 0xFFFF FFFF

This register is CID-filtered depending on the CID configuration in the processor 2 IPCC_C2CIDCFGR. An illegal CID write access is discarded and a read access returns zero data, also on both illegal accesses a CID illegal access event is generated.

31302928272625242322212019181716
CH16 FMCH15 FMCH14 FMCH13 FMCH12 FMCH11 FMCH10 FMCH9 FMCH8 FMCH7 FMCH6 FMCH5 FMCH4 FMCH3 FMCH2 FMCH1 FM
rwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrw
1514131211109876543210
CH16 OMCH15 OMCH14 OMCH13 OMCH12 OMCH11 OMCH10 OMCH9 OMCH8 OMCH7 OMCH6 OMCH5 OMCH4 OMCH3 OMCH2 OMCH1 OM
rwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrw

Bits 31:16 CHnFM: Processor 2 transmit channel n free interrupt mask (n = 16 to 1).

Associated with IPCC_C2TOC1SR.CHnF

When processor 2 CHnSEC is disabled, bit n can be accessed with secure and nonsecure access.

When processor 2 CHnSEC is enabled, bit n can be accessed only with secure access.

Nonsecure write to this bit is discarded, nonsecure read returns 0 value.

When processor 2 CHnPRIV is disabled, bit n can be accessed with privilege and unprivileged access.

When processor 2 CHnPRIV is enabled, bit n can be accessed only with privilege access.

Unprivileged write to this bit is discarded, unprivileged read returns 0 value.

1: Transmit channel n free interrupt masked.

0: Transmit channel n free interrupt not masked.

Bits 15:0 CHnOM: Processor 2 receive channel n occupied interrupt mask (n = 16 to 1).

Associated with IPCC_C1TOC2SR.CHnF

When processor 2 CHnSEC is disabled, bit n can be accessed with secure and nonsecure access.

When processor 2 CHnSEC is enabled, bit n can be accessed only with secure access.

Nonsecure write to this bit is discarded, nonsecure read returns 0 value.

When processor 2 CHnPRIV is disabled, bit n can be accessed with privilege and unprivileged access.

When processor 2 CHnPRIV is enabled, bit n can be accessed only with privilege access.

Unprivileged write to this bit is discarded, unprivileged read returns 0 value.

1: Receive channel n occupied interrupt masked.

0: Receive channel n occupied interrupt not masked.

21.4.7 IPCC processor 2 status set clear register (IPCC_C2SCR)

Address offset: 0x018

Reset value: 0x0000 0000

Reading this register always returns 0x0000 0000.

This register is CID-filtered depending on the CID configuration in the processor 2 IPCC_C2CIDCFGR. An illegal CID write access is discarded and a read access returns zero data, also on both illegal accesses a CID illegal access event is generated.

31302928272625242322212019181716
CH16SCH15SCH14SCH13SCH12SCH11SCH10SCH9SCH8SCH7SCH6SCH5SCH4SCH3SCH2SCH1S
rwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrw
1514131211109876543210
CH16CCH15CCH14CCH13CCH12CCH11CCH10CCH9CCH8CCH7CCH6CCH5CCH4CCH3CCH2CCH1C
rwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrw

Bits 31:16 CHnS: Processor 2 transmit channel n status set (n = 16 to 1).

Associated with IPCC_C2TOC1SR.CHnF

When processor 2 CHnSEC is disabled, bit n can be accessed with secure and nonsecure access.

When processor 2 CHnSEC is enabled, bit n can be accessed only with secure access.

Nonsecure write to this bit is discarded, nonsecure read returns 0 value.

When processor 2 CHnPRIV is disabled, bit n can be accessed with privilege and unprivileged access.

When processor 2 CHnPRIV is enabled, bit n can be accessed only with privilege access.

Unprivileged write to this bit is discarded, unprivileged read returns 0 value.

1: Processor 2 transmit channel n status bit set.

0: No action.

Bits 15:0 CHnC: Processor 2 receive channel n status clear (n = 16 to 1).

Associated with IPCC_C1TOC2SR.CHnF

When processor 2 CHnSEC is disabled, bit n can be accessed with secure and nonsecure access.

When processor 2 CHnSEC is enabled, bit n can be accessed only with secure access.

Nonsecure write to this bit is discarded, nonsecure read returns 0 value.

When processor 2 CHnPRIV is disabled, bit n can be accessed with privilege and unprivileged access.

When processor 2 CHnPRIV is enabled, bit n can be accessed only with privilege access.

Unprivileged write to this bit is discarded, unprivileged read returns 0 value.

1: Processor 2 receive channel n status bit clear.

0: No action.

21.4.8 IPCC processor 2 to processor 1 status register (IPCC_C2TOC1SR)

Address offset: 0x01C

Reset value: 0x0000 0000

When processor 1 or processor 2 CID filtering is disabled, this register has no access limitations, and can be accessed by any domain CID, and by any combination of secure, nonsecure, privileged, and unprivileged access.

When both processor 1 and processor 2 CID filtering is enabled, access restriction applies and only CIDs of both processors have access, other CID accesses are discarded. In this case, an illegal CID read access returns zero data. A CID illegal access event is generated also on illegal accesses.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
CH16FCH15FCH14FCH13FCH12FCH11FCH10FCH9FCH8FCH7FCH6FCH5FCH4FCH3FCH2FCH1F
rrrrrrrrrrrrrrrr

Bits 31:16 Reserved, must be kept at reset value.

Bits 15:0 CHnF: Processor 2 transmit to processor 1 receive channel n status flag before masking (n = 16 to 1)

1: Channel occupied, data can be read by the receiving processor 1.

When channel is nonsecure in C1SECCFGR, generates a nonsecure RX occupied interrupt to processor 1, when unmasked and global nonsecure enabled for processor 1.

When channel is secure in C1SECCFGR, generates a secure RX occupied interrupt to processor 1, when unmasked and global secure enabled for processor 1.

0: Channel free, data can be written by the sending processor 2.

When channel is nonsecure in C2SECCFGR, generates a nonsecure TX free interrupt to processor 2, when unmasked and global nonsecure enabled for processor 2.

When channel is secure in C2SECCFGR, generates a secure TX free interrupt to processor 2, when unmasked and global secure enabled for processor 2.

21.4.9 IPCC processor 1 security configuration register (IPCC_C1SECCFGR)

Address offset: 0x080

Reset value: 0x0000 0000

This register is CID-filtered depending on the CID configuration in the processor 1 IPCC_C1CIDCFGR. When CID filtering is enabled this register can be accessed only by the enabled CID. An illegal CID write access is discarded and a read access returns zero data, on illegal accesses a CID illegal access event is generated.

This register can only be write accessed by a secure privileged access. A nonsecure or unprivileged write access is discarded and causes the generation of an illegal access event. All CID filtered read accesses return the register data.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
CH16 SECCH15 SECCH14 SECCH13 SECCH12 SECCH11 SECCH10 SECCH9 SECCH8 SECCH7 SECCH6 SECCH5 SECCH4 SECCH3 SECCH2 SECCH1 SEC
rwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrw

Bits 31:16 Reserved, must be kept at reset value.

Bits 15:0 CHnSEC: Processor 1 channel n security enable (n = 16 to 1).

1: Channel n processor 1 security enabled (secure)

0: Channel n processor 1 security disabled (nonsecure).

21.4.10 IPCC processor 1 privilege configuration register (IPCC_C1PRIVCFGR)

Address offset: 0x084

Reset value: 0x0000 0000

This register is CID-filtered, depending upon the CID configuration in the processor 1 IPCC_C1CIDCFGR. When CID filtering is enabled, this register can be accessed only by the enabled CID. An illegal CID write access is discarded, and a read access returns zero

data. A CID illegal access event is generated on illegal accesses.

This register can only be write accessed by a privilege access. An unprivileged write access is discarded and causes the generation of a privilege illegal access event. All CID filtered read accesses return the register data.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
CH16 PRIVCH15 PRIVCH14 PRIVCH13 PRIVCH12 PRIVCH11 PRIVCH10 PRIVCH9 PRIVCH8 PRIVCH7 PRIVCH6 PRIVCH5 PRIVCH4 PRIVCH3 PRIVCH2 PRIVCH1 PRIV
rwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrw

Bits 31:16 Reserved, must be kept at reset value.

Bits 15:0 CHnPRIV: Processor 1 channel n privilege enable (n = 16 to 1).

When processor 1 CHnSEC is disabled, bit n can be accessed with secure and nonsecure access.

When processor 1 CHnSEC is enabled, bit n can be accessed only with secure access.

Nonsecure write to this bit is discarded.

1: Channel n processor 1 privilege enabled (privileged)

0: Channel n processor 1 privilege disabled (unprivileged).

21.4.11 IPCC processor 1 CID configuration register (IPCC_C1CIDCFGR)

Address offset: 0x088

Reset value: 0x0000 0000

This register can only be written by the secure, privilege, trusted domain CID. An illegal write access to this register generates a CID illegal access event.

This register has no read access limitations, and can be read by any domain CID, and any access protection.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.CID[3:0]Res.Res.Res.CFEN
rwrwrwrwrw

Bits 31:8 Reserved, must be kept at reset value.

Bits 7:4 CID[3:0]: Processor 1 CID domain identification

Processor 1 CID domain identification number:

If CFEN = 1 these bits are used for processor 1 CID filtering and interrupt routing.

If CFEN = 0 these bits are ignored and there is no processor 1 CID filtering nor interrupt routing.

Bits 3:1 Reserved, must be kept at reset value.

Bit 0 CFEN: CID filtering enabled for processor 1

0: disable the processor 1 CID filtering and interrupt routing, Processor 1 interrupts are broadcasted to all CIDs.

1: enable the processor 1 CID filtering and interrupt routing

21.4.12 IPCC processor 2 security configuration register (IPCC_C2SECCFGR)

Address offset: 0x090

Reset value: 0x0000 0000

This register is CID-filtered depending on the CID configuration in the processor 2 IPCC_C2CIDCFGR. When CID filtering is enabled, this register can be accessed only by the enabled CID. An illegal CID write access is discarded and a read access returns zero data, on illegal accesses a CID illegal access event is generated.

This register can be write-accessed only by a secure privileged access. A nonsecure or unprivileged write access is discarded and causes the generation of an illegal access event. All CID filtered read accesses return the register data.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
CH16 SECCH15 SECCH14 SECCH13 SECCH12 SECCH11 SECCH10 SECCH9 SECCH8 SECCH7 SECCH6 SECCH5 SECCH4 SECCH3 SECCH2 SECCH1 SEC
rwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrw

Bits 31:16 Reserved, must be kept at reset value.

Bits 15:0 CHnSEC: Processor 2 channel n security enable (n = 16 to 1)

1: Channel n processor 2 security enabled (secure)

0: Channel n processor 2 security disabled (nonsecure).

21.4.13 IPCC processor 2 privilege configuration register (IPCC_C2PRIVCFGR)

Address offset: 0x094

Reset value: 0x0000 0000

This register is CID-filtered depending on the CID configuration in the processor 2 IPCC_C2CIDCFGR. When CID filtering is enabled this register can be accessed only by the enabled CID. An illegal CID write access is discarded and a read access returns zero data, on illegal accesses a CID illegal access event is generated.

This register can be write-accessed only by a privilege access. An unprivileged write access is discarded and causes the generation of a processor 2 illegal access event. All CID filtered read accesses return the register data.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
CH16 PRIVCH15 PRIVCH14 PRIVCH13 PRIVCH12 PRIVCH11 PRIVCH10 PRIVCH9 PRIVCH8 PRIVCH7 PRIVCH6 PRIVCH5 PRIVCH4 PRIVCH3 PRIVCH2 PRIVCH1 PRIV
rwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrw

Bits 31:16 Reserved, must be kept at reset value.

Bits 15:0 CHnPRIV: Processor 2 channel n privilege enable (n = 16 to 1).

When processor 2 CHnSEC is disabled, bit n can be accessed with secure and nonsecure access.

When processor 2 CHnSEC is enabled, bit n can be accessed only with secure access. Nonsecure write to this bit is discarded.

1: Channel n processor 2 privilege enabled (privileged)

0: Channel n processor 2 privilege disabled (unprivileged).

21.4.14 IPCC processor 2 CID configuration register (IPCC_C2CIDCFGR)

Address offset: 0x098

Reset value: 0x0000 0000

This register can only be written by the secure, privilege, trusted domain CID. An illegal write access to this register generates a CID illegal access event.

This register has no read access limitations, and can be read by any domain CID, and any access protection.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.CID[3:0]Res.Res.Res.CFEN
rwrwrwrwrw

Bits 31:8 Reserved, must be kept at reset value.

Bits 7:4 CID[3:0]: Processor 2 CID domain identification

Processor 2 CID domain identification number.

If CFEN = 1 these bits are used for processor 2 CID filtering and interrupt routing.

If CFEN = 0 these bits are ignored and there is no processor 2 CID filtering nor interrupt routing.

Bits 3:1 Reserved, must be kept at reset value.

Bit 0 CFEN: CID filtering enabled for processor 2

0: disable the processor 2 CID filtering and interrupt routing, Processor 2 interrupts are broadcasted to all CIDs.

1: enable the processor 2 CID filtering and interrupt routing.

21.4.15 IPCC hardware configuration register (IPCC_HWCFGR)

Address offset: 0x3F0

Reset value: 0x0300 0310

31302928272625242322212019181716
Res.Res.Res.Res.CIDWIDTH[3:0]OPTBITS[7:0]
rrrrrrrrrrrr
1514131211109876543210
Res.Res.Res.Res.SECCTRL[3:0]CHANNELS[7:0]
rrrrrrrrrrrr

Bits 31:28 Reserved, must be kept at reset value.

Bits 27:24 CIDWIDTH[3:0]: CID bit field width range 0 to 12.

Bits 23:16 OPTBITS[7:0]: Reserved for future use

Bits 15:12 Reserved, must be kept at reset value.

Bits 11:8 SECCTRL[3:0]: Security options, range 1 to 16.

Bits 7:0 CHANNELS[7:0]: Number of channels per CPU supported by the IP, range 1 to 16

21.4.16 IPCC version register (IPCC_VERR)

Address offset: 0x3F4

Reset value: 0x0000 0020

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.MAJREV[3:0]MINREV[3:0]
rrrrrrrr

Bits 31:8 Reserved, must be kept at reset value.

Bits 7:4 MAJREV[3:0]: IPCC major revision number

Bits 3:0 MINREV[3:0]: IPCC minor revision number.

21.4.17 IPCC identification register (IPCC_IPIDR)

Address offset: 0x3F8

Reset value: 0x0010 0071

31302928272625242322212019181716
IPID[31:16]
rrrrrrrrrrrrrrrr
1514131211109876543210
IPID[15:0]
rrrrrrrrrrrrrrrr

Bits 31:0 IPID[31:0]: IPCC identification.

21.4.18 IPCC size identification register (IPCC_SIDR)

Address offset: 0x3FC

Reset value: 0xA3C5 DD01

31302928272625242322212019181716
SID[31:16]
rrrrrrrrrrrrrrrr
1514131211109876543210
SID[15:0]
rrrrrrrrrrrrrrrr

Bits 31:0 SID[31:0]: IPCC size identification.

21.4.19 IPCC register map

Table 167. IPCC register map and reset values

OffsetRegister name
Reset value
313029282726252423222120191817161514131211109876543210
0x0000IPCC_C1CRRes.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.SECTXFIETXFIERes.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.SECRXOIERXOIE
Reset value0000
0x0004IPCC_C1MRCH16FMCH15FMCH14FMCH13FMCH12FMCH11FMCH10FMCH9FMCH8FMCH7FMCH6FMCH5FMCH4FMCH3FMCH2FMCH1FMCH16OMCH15OMCH14OMCH13OMCH12OMCH11OMCH10OMCH9OMCH8OMCH7OMCH6OMCH5OMCH4OMCH3OMCH2OMCH1OM
Reset value1111111111111111111111111111111
0x0008IPCC_C1SCRCH16SCH15SCH14SCH13SCH12SCH11SCH10SCH9SCH8SCH7SCH6SCH5SCH4SCH3SCH2SCH1SCH16CCH15CCH14CCH13CCH12CCH11CCH10CCH9CCH8CCH7CCH6CCH5CCH4CCH3CCH2CCH1C
Reset value0000000000000000000000000000000
0x000CIPCC_C1TOC2SRRes.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.CH16FCH15FCH14FCH13FCH12FCH11FCH10FCH9FCH8FCH7FCH6FCH5FCH4FCH3FCH2FCH1F
Reset value000000000000000
0x0010IPCC_C2CRRes.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.SECTXFIETXFIERes.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.SECRXOIERXOIE
Reset value0000
0x0014IPCC_C2MRCH16FMCH15FMCH14FMCH13FMCH12FMCH11FMCH10FMCH9FMCH8FMCH7FMCH6FMCH5FMCH4FMCH3FMCH2FMCH1FMCH16OMCH15OMCH14OMCH13OMCH12OMCH11OMCH10OMCH9OMCH8OMCH7OMCH6OMCH5OMCH4OMCH3OMCH2OMCH1OM
Reset value1111111111111111111111111111111
0x0018IPCC_C2SCRCH16SCH15SCH14SCH13SCH12SCH11SCH10SCH9SCH8SCH7SCH6SCH5SCH4SCH3SCH2SCH1SCH16CCH15CCH14CCH13CCH12CCH11CCH10CCH9CCH8CCH7CCH6CCH5CCH4CCH3CCH2CCH1C
Reset value0000000000000000000000000000000
0x001CIPCC_C2TOC1SRRes.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.CH16FCH15FCH14FCH13FCH12FCH11FCH10FCH9FCH8FCH7FCH6FCH5FCH4FCH3FCH2FCH1F
Reset value000000000000000
0x0080IPCC_C1SECCFGRRes.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.CH16SECCH15SECCH14SECCH13SECCH12SECCH11SECCH10SECCH9SECCH8SECCH7SECCH6SECCH5SECCH4SECCH3SECCH2SECCH1SEC
Reset value000000000000000
0x0084IPCC_C1PRIVCFGRRes.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.CH16PRIVCH15PRIVCH14PRIVCH13PRIVCH12PRIVCH11PRIVCH10PRIVCH9PRIVCH8PRIVCH7PRIVCH6PRIVCH5PRIVCH4PRIVCH3PRIVCH2PRIVCH1PRIV
Reset value000000000000000
0x0088IPCC_C1CIDCFGRRes.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.CFEN
Reset value0
0x0090IPCC_C2SECCFGRRes.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.CH16SECCH15SECCH14SECCH13SECCH12SECCH11SECCH10SECCH9SECCH8SECCH7SECCH6SECCH5SECCH4SECCH3SECCH2SECCH1SEC
Reset value000000000000000
0x0094IPCC_C2PRIVCFGRRes.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.CH16PRIVCH15PRIVCH14PRIVCH13PRIVCH12PRIVCH11PRIVCH10PRIVCH9PRIVCH8PRIVCH7PRIVCH6PRIVCH5PRIVCH4PRIVCH3PRIVCH2PRIVCH1PRIV
Reset value000000000000000

Table 167. IPCC register map and reset values (continued)

OffsetRegister name
Reset value
313029282726252423222120191817161514131211109876543210
0x0098IPCC_C2CIDCFGRRes.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.CID[3:0]Res.Res.Res.CFEN
Reset value00000
0x03F0IPCC_HWCFGRRes.Res.Res.Res.CIDWIDTH
[3:0]
OPTBITS[7:0]Res.Res.Res.Res.SECCTRL
[3:0]
CHANNELS[7:0]
Reset value001100000000001100110000
0x03F4IPCC_VERRRes.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.MAJREV[3:0]MINREV[3:0]
Reset value00100000
0x03F8IPCC_PIDRIPID[31:0]
Reset value00000000000100000000000001110001
0x03FCIPCC_SIDRSID[31:0]
Reset value10100011110001011101110100000001

Refer to Section 2.4 on page 184 for the register boundary addresses.