
www.ti.com
6SPNU503C–March 2018
Submit Documentation Feedback
Copyright © 2018, Texas Instruments Incorporated
Contents
7.6.1 Example 1 : Configuration of PBIST Controller to Run Self-Test on RAM Group 3 .................... 340
7.6.2 Example 2 : Configuration of PBIST Controller to Run Self-Test on ALL RAM Groups................ 341
8 CPU Self-Test Controller (STC) Module ............................................................................... 342
8.1 General Description ...................................................................................................... 343
8.1.1 CPU Self-Test Controller Features............................................................................ 343
8.1.2 STC Block Diagram ............................................................................................. 343
8.2 Application Self-Test Flow............................................................................................... 345
8.2.1 STC Module Configuration ..................................................................................... 345
8.2.2 Context Saving................................................................................................... 345
8.2.3 Entering CPU Idle Mode........................................................................................ 345
8.2.4 Self-Test Completion and Error Generation.................................................................. 346
8.3 STC Test Coverage and Duration...................................................................................... 347
8.4 STC Control Registers ................................................................................................... 348
8.4.1 STC Global Control Register 0 (STCGCR0) ................................................................. 349
8.4.2 STC Global Control Register 1 (STCGCR1) ................................................................. 349
8.4.3 Self-Test Run Timeout Counter Preload Register (STCTPR) ............................................. 350
8.4.4 STC Current ROM Address Register (STC_CADDR) ...................................................... 350
8.4.5 STC Current Interval Count Register (STCCICR)........................................................... 351
8.4.6 Self-Test Global Status Register (STCGSTAT).............................................................. 352
8.4.7 Self-Test Fail Status Register (STCFSTAT) ................................................................. 353
8.4.8 CPU1 Current MISR Register (CPU1_CURMISR[3:0])..................................................... 354
8.4.9 CPU2_CURMISR[3:0] (CPU2 Current MISR Register)..................................................... 355
8.4.10 STCSCSCR (Signature Compare Self-Check Register) .................................................. 356
8.5 STC Configuration Example ............................................................................................ 357
8.5.1 Example 1: Self-Test Run for 24 Interval .................................................................... 357
9 CPU Compare Module for Cortex-R4F (CCM-R4F)................................................................. 358
9.1 Main Features............................................................................................................. 359
9.2 Block Diagram............................................................................................................. 359
9.3 Module Operation......................................................................................................... 360
9.3.1 1oo1D Lock Step Mode......................................................................................... 360
9.3.2 Self-Test Mode................................................................................................... 360
9.3.3 Error Forcing Mode.............................................................................................. 362
9.3.4 Self-Test Error Forcing Mode .................................................................................. 362
9.3.5 Operation During CPU Debug Mode.......................................................................... 363
9.4 CCM-R4F Control Registers ............................................................................................ 363
9.4.1 CCM-R4F Status Register (CCMSR) ......................................................................... 364
9.4.2 CCM-R4F Key Register (CCMKEYR)......................................................................... 365
10 Oscillator and PLL ........................................................................................................... 366
10.1 Introduction ................................................................................................................ 367
10.1.1 Features.......................................................................................................... 367
10.2 Quick Start................................................................................................................. 368
10.3 Oscillator................................................................................................................... 369
10.3.1 Oscillator Implementation...................................................................................... 370
10.3.2 Oscillator Enable................................................................................................ 370
10.3.3 Oscillator Disable ............................................................................................... 370
10.4 Low-Power Oscillator and Clock Detect (LPOCLKDET)............................................................. 371
10.4.1 Clock Detect..................................................................................................... 371
10.4.2 Behavior on Oscillator Failure................................................................................. 371
10.4.3 Recovery from Oscillator Failure ............................................................................. 372
10.4.4 LPOCLKDET Enable........................................................................................... 372
10.4.5 LPOCLKDET Disable .......................................................................................... 373
10.4.6 Trimming the HF LPO Oscillator.............................................................................. 373
10.5 PLL ......................................................................................................................... 374