English
Language : 

RM0029 Datasheet, PDF (801/1740 Pages) STMicroelectronics – The primary objective of this document
RM0029
Enhanced Time Processing Unit (eTPU2)
Table 435. ETPU_CDCR field description
Field
Description
PARAM0[6:0]—Channel Parameter number 0
17-23
This field, in concatenation with CTBASE[4:0], determines the word address offset (from the SPRAM
base) of the parameters that are destination or source (defined by WR) of the coherent transfer. The word
SPRAM address offset of the parameters are {CTBASE, PARAM0}.Note that PARAM0 and PARAM1
allow non-contiguous parameters to be transferred coherently. The parameter pointed by {CTBASE,
PARAM0} is the first transferred.
WR—Read/Write selection
This bit selects the direction of the coherent data transfer.
24
1: Write operation. Data transfer is from the PB to the selected parameter RAM address.
0: Read operation. Data transfer is from the selected parameter RAM address to the PB.
PARAM1[6:0]—Channel Parameter number 1
25-31
This field, in concatenation with CTBASE[4:0] determines the word address offset (from the SPRAM
base) of the parameters that are destination or source (defined by WR) of the coherent transfer. The word
SPRAM address offset of the parameters are {CTBASE, PARAM1}.Note that PARAM0 and PARAM1
allow non-contiguous parameters to be transferred coherently. The parameter pointed by {CTBASE,
PARAM0} is the first transferred.
ETPU_MISCCMPR – eTPU MISC Compare Register
The eTPU includes a feature called the Multiple Input Signature Calculator (MISC) which
comprises hardware that sequentially reads all Shared Code Memory (SCM) and calculates
a 32-bit CRC signature. The ETPU_MISCCMPR stores the 32-bit expected value to be
compared to the signature generated by the MISC.
The sequence is as follows:
1. The host loads the ETPU_MISCCMPR with the expected value to be found at the end
of the MISC cycle
2. The host starts signature calculation by writing bit SCMMISEN = 1 in the ETPU_MCR.
The MISC zeroes the signature accumulator and starts reading SCM data and
calculating the signature.
3. After last SCM position is read, MISC compares the value in the signature accumulator
against the value in the ETPU_MISCCMPR. If there is a mismatch, the MISC stops,
issues a Global Exception and the SC MM I SF bit in the ETPU_MCR assumes value
1. If no mismatch is found, MISC repeats the procedure automatically.
Doc ID 15177 Rev 8
801/1740