SPRZ491E December   2020  – December 2024 DRA821U , DRA821U-Q1

 

  1.   1
  2. 1Modules Affected
  3. 2Nomenclature, Package Symbolization, and Revision Identification
    1. 2.1 Device and Development-Support Tool Nomenclature
    2. 2.2 Devices Supported
    3. 2.3 Package Symbolization and Revision Identification
  4. 3Silicon Revision 1.0, 2.0 Usage Notes and Advisories
    1. 3.1 Silicon Revision 1.0, 2.0 Usage Notes
    2. 3.2 Silicon Revision 1.0, 2.0 Advisories
    3.     i2049
    4.     i2062
    5.     i2091
    6.     i2103
    7.     i2116
    8.     i2123
    9. 3.3 i2126
    10. 3.4 i2127
    11.     i2134
    12.     i2137
    13.     i2146
    14. 3.5 i2151
    15.     i2157
    16.     i2159
    17.     i2160
    18.     i2161
    19.     i2163
    20.     i2166
    21.     i2177
    22.     i2182
    23.     i2183
    24.     i2184
    25.     i2185
    26.     i2186
    27.     i2187
    28.     i2189
    29.     i2196
    30.     i2197
    31.     i2201
    32.     i2205
    33.     i2207
    34.     i2208
    35.     i2209
    36.     i2216
    37.     i2217
    38.     i2221
    39.     i2222
    40.     i2227
    41.     i2228
    42.     i2232
    43.     i2233
    44.     i2234
    45.     i2235
    46.     i2237
    47.     i2241
    48.     i2242
    49.     i2243
    50.     i2244
    51.     i2245
    52.     i2246
    53.     i2249
    54.     i2253
    55.     i2257
    56.     i2274
    57.     i2275
    58.     i2277
    59.     i2278
    60.     i2279
    61.     i2283
    62.     i2306
    63.     i2307
    64.     i2310
    65.     i2311
    66.     i2312
    67.     i2320
    68.     i2326
    69.     i2329
    70.     i2351
    71.     i2360
    72.     i2361
    73.     i2362
    74.     i2366
    75.     i2371
    76.     i2372
    77.     i2383
    78.     i2401
    79.     i2409
    80.     i2413
    81.     i2414
    82.     i2418
    83.     i2419
    84.     i2422
    85.     i2424
    86.     i2435
    87.     i2459
  5.   Trademarks
  6.   Revision History

i2049


ECC_AGGR: Potential IP Clockstop/Reset Sequence Hang due to Pending ECC Aggregator Interrupts

Details:

The ECC Aggregator module is used to aggregate safety error occurrences (which are rare) and generate interrupts to notify software. The ECC Aggregator provides software control over the enabling/disabling and clearing of safety errors interrupts.

When software is performing a clockstop/reset sequence on an IP, the sequence can potentially not complete because the IP's associated ECC Aggregator instance is not idle. The ECC Aggregator idle status is dependent upon any pending safety error interrupts either enabled or disabled, which have not been cleared by software. As a result, the IP's clockstop/reset sequence may never complete (hang) if there are any pending safety errors interrupts that remain uncleared.

The affected ECC_AGGRs can be determined by the value listed in the Technical Reference Manual (TRM) for their REV register at Register Offset 0h. The REV register encodes the ECC_AGGR version in its fields as follows:

v[REVMAJ].[REVMIN].[REVRTL]

ECC_AGGR versions before v2.1.1 are affected. ECC_AGGR versions v2.1.1 and later are not affected.

Affected Example:

REVMAJ = 2

REVMIN = 1

REVRTL = 0

The above values decode to ECC_AGGR Version v2.1.0, which is Affected.

Not Affected Example:

REVMAJ = 2

REVMIN = 1

REVRTL = 1

The above values decode ECC_AGGR Version v2.1.1, which is Not Affected.

Workaround(s):

General Note:

Clockstopping the ECC Aggregator is not supported in functional safety use-cases.

Software should use the following workaround for non-functional safety use-cases:

  1. Enable all ECC Aggregator interrupts for the IP
  2. Service and clear all Pending interrupts
  3. Step 3:
    1. Disable all interrupt sources to the ECC Aggregator, followed by performing Clockstop/reset sequence.
    2. Perform Clockstop/reset sequence, while continuing to service/clear pending interrupts.

Due to interrupts being external stimuli, software has two options for step 3:

  1. Disable all interrupt sources (EDC CTRL checkers) that can generate pending ECC_AGGR interrupts prior to performing the clockstop/reset sequence
  2. Continue to service/clear pending interrupts that occur while performing the clkstop/reset sequence. The sequence would proceed when all interrupts are cleared.

Software in general may need to detect pending interrupts that continuously fire during this entire sequence (ex. in the case of a stuck-at fault scenario), and disable their associated EDC CTRL safety checkers to allow the clockstop/reset sequence to progress towards completion.