Maxim-Integrated /max32665 /TPU /MAA_CTRL

Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text

Interpret as MAA_CTRL

31 2827 2423 2019 1615 1211 87 43 0 0 0 0 0 0 0 0 00 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 (nop)STC 0 (exp)CLC0 (dis)OCALC 0 (noError)MAAER 0AMS0BMS0EMS0MMS0AMA0BMA0RMA0TMA

OCALC=dis, STC=nop, CLC=exp, MAAER=noError

Description

MAA Control Register.

Fields

STC

Start Calculation. This bit functions as both the control and the status of the MAA. If the size value in the MAWS register is invalid, the STC bit will be cleared by hardware immediately. Otherwise, the STC bit is automatically cleared following the completion of each calculation or detecting an error. Clearing the STC bit resets the controller to its default state.

0 (nop): No operation/complete.

1 (start): Start operation.

CLC

Calculation Configuration. These bits select desired calculation.

0 (exp): Exponentiation.

1 (sq): Square operation.

2 (mul): Multiplication.

3 (sqMul): Square followed by a multiplication.

4 (add): Addition.

5 (sub): Subtraction.

OCALC

Optimized Calculation Control. For optimized calculation, unnecessary multiply operations after normalizing the exponent are skipped.

0 (dis): Disable.

1 (en): Enable.

MAAER

MAA Error. The MAAER bit defaults to 0 and can only be set by hardware. Once set, it must be cleared by software otherwise no new operation can be initiated. Software writes 1 to this bit has no effect and MAAER will maintain its original state.

0 (noError): No Error.

1 (error): Error.

AMS

Multiplier A Memory Select. These bits select the starting position of the parameter ‘a’ within the logical segment specified by AMA.

BMS

Multiplicand B Memory Select. These bits select the starting position of the parameter ‘b’ within the logical segment specified by BMA.

EMS

Exponent Memory Select. These bits select the starting position of the parameter ‘e’ within the logical segment specified by EMA.

MMS

Modulus Memory Select. These bits select the starting position of the parameter ‘m’ within the logical segment 5.

AMA

Multiplier / Operand A Memory Assignment. These bits select the logical cryptographic RAM segment for the parameter ‘a’.

BMA

Multiplicand / Operand B Memory Assignment. These bits select the logical cryptographic RAM segment for the parameter ‘b’.

RMA

Result Memory Assignment. These bits select the logical cryptographic RAM segment for the parameter ‘r’.

TMA

Temporary Memory Assignment. These bits select the logical cryptographic RAM segment for the parameter ‘t’.

Links

()