SPRUJ55D September 2023 – July 2025 AM263P2 , AM263P2-Q1 , AM263P4 , AM263P4-Q1
To initiate a TMU operation, the Operand value needs to be written to a suitable aliased OP1 register.
For example, writing to offset 0x40 (SINPUF32_R0) triggers a SIN operation on the value written to OP1, and the result will be stored in the R0 result register. Note that no additional write is necessary to indicate the type of operation and destination result register.
The OP2 register does not require the same mapping as OP1, as performing a write to OP2 does not initiate a TMU operation. In the case of an operation that requires two operands, upon writing OP1, the value contained in OP2 will be taken as the second operand. Because of this, OP2 needs to be written first followed by OP1 for the operation to return a valid value.
In the case of an operation that requires two result registers, the OP1 address determines the pair of result registers that will contain the result. For example, if OP1 targets R0, then the result will be in R0-R1. If OP1 targets R6, then the result will be present in R6-R7 registers. The result should be read out in the same order as R0 followed by R1 , R1 followed by R2, etc.