NXP Semiconductors
PT2001SWUG
PT2001 programming guide and instruction set
PT2001SWUG
All information provided in this document is subject to legal disclaimers.
© NXP B.V. 2019. All rights reserved.
User guide
Rev. 3.0 — 29 April 2019
11 / 153
2.12 Intercore communication instructions
The intercore communication register 'rxtx' provides a mechanism to share data
between cores. It is possible to exchange 16-bit data between different microcores, even
belonging to different channels, using the ch_rxtx address in the internal memory map.
Table 12 "ch_rxtx internal register in write mode"
shows the register in write mode. The
transmitting microcores can write data at this address; the receiving microcores can read
the data using the same address, selecting the source with the
instruction. Each
core has its own 'rxtx' register that only it can write.
It is possible to select between two different ways of receiving the data.
internal register in read mode for source sssc to ospc"
shows the register in read mode
when the data from one single microcore is selected. This allows transmitting 16-bit data
between one microcore and another.
Table 14 "ch_rxtx internal register in read mode for source sumh, suml"
shows the
register in read mode when the source "sumh" or "suml" is selected. In this mode, the bits
H0 to H3 or L0 to L3 in all four microcores ch_rxtx registers are counted and the result
can be read from the communication register. The result for each bit Hx and Lx can be
between 0 ("0000") and 6 ("0110").
read
write
aaa-028741
ALU
1 2 3 4 5 6 7 8
Ch1, uCore 0
read
write
Ch2_uCore0
Ch1_uCore0
sumL
ALU
sumL
=
sum of all channel
rxtx low bits
(L0 to L3)
1 2 3 4 5 6 7 8
Ch2, uCore 0
rxtx
rxtx
Figure 4. Communication example between Ch1 uc0 and Ch2 uc0 (sspc)
Table 12. ch_rxtx internal register in write mode
Bit
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
Name
Transmit_data
Bits in sumh or suml mode
H3
H2
H1
H0
L3
L2
L1
L0
—
Reset
0000 0000 0000 0000