
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
12 / 153
Table 13. ch_rxtx internal register in read mode for source sssc to ospc
Bit
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
Name
Received_data_from_selected_microcore
R/W
R/W
Lock
yes
Reset
0000 0000 0000 0000
Table 14. ch_rxtx internal register in read mode for source sumh, suml
Bit
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
Name
sum(H3)or sum(L3)
sum(H2)or sum(L2)
sum(H1) or sum(L1)
sum(H0) or sum(L0)
Reset
0000 0000 0000 0000
Table 15. Inter-communication instruction set
Set channel communication register
2.13 Shortcuts
Shortcuts are used to connect a core to the hardware. There are two types of shortcuts;
) and 'current sense block' shortcuts (
). Output driver
shortcuts allow a core to modify the states of up to three outputs at once. By modifying
all three outputs in a single instruction, fully synchronized driver changes can occur in a
single instruction.
Each core has one current sense block shortcut. The current sense block shortcut
connects the core to one of the six current sense blocks. This shortcut is used primarily
for testing the 'own current' current threshold (see the 'ocur' field value of the '
'
' instructions) or waiting for the 'own current' threshold to be reached (see the 'wait'
instruction's 'ocur' field value.)
Another benefit of shortcuts is the ability to write core-independent code. This allows the
exact same code to operate on different sets of output drivers and current sense blocks
without having to make driver specific conditional jumps.
Table 16. Shortcuts definition instructions
Define current shortcut
Define predriver output shortcuts
2.14 Current sense blocks
As described in the data sheet, current sense blocks can be used as a current sense with
offset compensation, or as an ADC or in a DCDC mode. The following instructions in this
section are used to configure each mode.
It is possible to set the DCDC mode (
) from the microcode of any core, as long as
the core has access to the LS7 output. The low-side used to control the DCDC low-side
(LS7) has to be defined as shortcut 2 (
) in order to use the DCDC mode.
The DAC registers are used to setup the current measurement block DACs. These
DACs are affected as shown in