SPRUJ55D September 2023 – July 2025 AM263P2 , AM263P2-Q1 , AM263P4 , AM263P4-Q1
This diagnostic check monitors the amplitude of Sine and Cosine input signals to RDC, before offset correction and demodulation. Any one of the input signals exceeding the threshold set by highamplitude_threshold, causes the glitch counter to increase by one. Once the glitch counter reaches the threshold programmed in highamplitude_glitchcount, it causes an errror. This diagnostic check does not need the external Resolver to be rotating.
The value in highamplitude_threshold determines the threshold for this error. Setting a value of 0.9 × 215 = 29491 makes this diagnostic check to increase the glitch counter when amplitude goes above 90% of the maximum input ADC range of RDC.
The below Table 7-144 shows the relevant diagnostics registers for both RDC0 and RDC1.| RDC Instance | Register Name | Physical Address | Offset |
|---|---|---|---|
| RDC0 | DIAG7_0 | 502C B0B0h | 0B0h |
| DIAG8_0 | 502C B0B4h | 0B4h | |
| RDC1 | DIAG7_1 | 502C B280h | 280h |
| DIAG8_1 | 502C B284h | 284h |
The below Table 7-145 shows the corresponding bits to be programmed in the diagnostics registers.
| Register | Bit | Field | Type | Reset | Typical Programmed Value | Description |
|---|---|---|---|---|---|---|
| DIAG7_0 DIAG7_1 |
23:16 | highamplitude_glitchcount | R/W | 0x1 | - | High Amplitude Error counter limit for issuing error |
| 15:0 | highamplitude_threshold | R/W | 0x0 | 29491 | Threshold value to detect High Amplitude value. Both Sine and Cosine need to go higher than this. | |
| DIAG8_0 DIAG8_1 |
31:16 | highamplitude_cos | R | x | - | Value of Cosine Signal at the high amplitude error trigger instant |
| 15:0 | highamplitude_sin | R | x | - | Value of Sine Signal at the high amplitude error trigger instant |
The below Table 7-146 shows the register bits of IRQ registers to be used for Reading Status, Enabling/Disabling the Error Diagnostic check.
| Bit | Field | Type | Reset | Description |
|---|---|---|---|---|
| 2 | highamplitude_sin_fault_err | R/W | 0x0 | Sine signal value crossed high threshold |
| 1 | highamplitude_cos_fault_err | R/W | 0x0 | Cosine signal value crossed high threshold |
The below are the typical steps for programming this check.
Associated AM263Px MCU+ SDK API with this check: Diag_Mon_Sin_Cos_High_Amplitude