SPRUJ17H
March 2022 – October 2024
AM2631
,
AM2631-Q1
,
AM2632
,
AM2632-Q1
,
AM2634
,
AM2634-Q1
1
Read This First
About This Manual
Glossary
Trademarks
Export Control Notice
Related Documentation From Texas Instruments
8
Support Resources
Release History
1
Introduction
1.1
Overview
1.2
Device Block Diagram
1.3
Module Allocation and Instances
AM263x Register Addendum Link
1.4
Device Modules
Arm Cortex-R5F Processor (R5FSS)
1.4.1
Programmable Real-Time Unit and Industrial Communication Subsystem (PRU-ICSS)
1.4.2
Hardware Security Module (HSM)
1.4.3
Real-time Control Subsystem (CONTROLSS)
1.4.4
Spinlock (SPINLOCK)
1.4.5
Enhanced Data Movement Architecture (EDMA)
1.4.6
General Purpose Input/Output Interface (GPIO)
1.4.7
Inter-Integrated Circuit Interface (I2C)
1.4.8
Serial Peripheral Interface (SPI)
1.4.9
Universal Asynchronous Receiver/Transmitter (UART)
1.4.10
3-port Gigabit Ethernet Switch (CPSW)
1.4.11
Quad Serial Peripheral Interface (QSPI)
1.4.12
General Purpose Memory Controller (GPMC)
1.4.13
Error Location Module (ELM)
1.4.14
Multi-Media Card/Secure Digital Interface (MMCSD)
1.4.15
Controller Area Network (MCAN)
1.4.16
Local Interconnect Network (LIN)
1.4.17
Timers
1.4.18
Internal Diagnostics Modules
1.5
Device Identification
2
Memory Map
2.1
Device Memory Map
2.2
R5FSS Memory Map
2.3
PRU-ICSS Memory Map
3
System Interconnect
3.1
System Interconnect Overview
3.2
CORE VBUSM Interconnect
3.3
CORE VBUSP Interconnect
3.4
PERI VBUSP Interconnect
3.5
INFRA0 VBUSP Interconnect
3.6
INFRA1 VBUSP Interconnect
3.7
CONTROLSS Interconnect
3.8
Interconnect Safety
3.9
Bus Safety Errors
3.9.1
Error Signaling Integration
3.9.2
Programming sequence
3.9.3
Diagnostic Check Mechanism
3.10
System Memory Protection Unit (MPU)/Firewalls
3.10.1
MPU Overview
3.10.2
MPU Instances
3.10.3
MPU Functional Description
3.10.3.1
Functional Operation
3.10.3.2
Protection of the MPU Configuration Registers
3.10.3.3
MPU Interrupt Requests
3.10.4
MPU Parameters
3.10.5
MPU Default HW Configuration
3.10.6
ISC (Initiator-side Security Control)
3.10.6.1
ID Allocation
3.10.6.1.1
65
4
Module Integration
4.1
ADC Integration
4.2
DAC Integration
4.3
eCAP Integration
4.4
EPWM Integration
4.5
EQEP Integration
4.6
FSI Integration
4.7
SDFM Integration
4.8
SOC_TIMESYNC_XBAR0 Integration
4.9
SOC_TIMESYNC_XBAR1 Integration
4.10
GPIO Integration
4.11
I2C Integration
4.12
SPI Integration
4.13
UART Integration
4.14
CPSW Integration
4.15
GPMC Integration
4.16
ELM Integration
4.17
MMCSD Integration
4.18
QSPI Integration
4.19
MCAN Integration
4.20
LIN Integration
4.21
RTI Integration
4.22
WWDT Integration
4.23
DCC Integration
4.24
ESM Integration
4.25
ECC Aggregator Integration
4.26
MCRC Integration
4.27
ICSSM_XBAR_INTROUTER Integration
4.28
GPIO_XBAR Integration
5
Initialization
5.1
Initialization Overview
5.1.1
ROM Code Overview
5.1.2
Bootloader Modes
5.1.3
Boot Terminology
5.2
Boot Process
5.2.1
Public ROM Code Architecture
5.2.1.1
Public ROM Entry
5.2.1.2
Main Module
5.2.1.3
Boot Loop
5.2.1.4
Modules
5.2.1.5
Drivers
5.2.1.6
IPC
5.3
Boot Mode Pins
5.3.1
BOOTMODE Pin Mapping
5.4
Boot Modes
5.4.1
QSPI Boot
5.4.1.1
QSPI (4S)
5.4.1.1.1
QSPI (4S) Bootloader Operation
5.4.1.1.2
QSPI (4S) Loading Process
5.4.1.2
QSPI (1S)
5.4.1.2.1
QSPI (1S) Bootloader Operation
5.4.1.2.2
QSPI (1S) Loading Process
5.4.2
UART Boot
5.4.2.1
UART Bootloader Operation
5.4.2.1.1
Initialization Process
5.4.2.1.2
UART Loading Process
5.4.2.1.2.1
UART XMODEM
5.4.2.1.3
UART Hand-Over Process
5.4.3
DevBoot
5.5
Redundant boot support
5.6
PLL Configuration
5.7
Secure Boot Flow
5.7.1
Overview
5.7.2
x509 Certificate Structure
5.7.3
Certificate expectations
5.7.4
Object Identifiers
5.7.4.1
Boot Information OID (1.3.6.1.4.1.294.1.1)
5.7.4.2
Software Revision OID (1.3.6.1.4.1.294.1.3)
5.7.4.3
Image Integrity OID (1.3.6.1.4.1.294.1.2)
5.7.4.4
Image Encryption OID (1.3.6.1.4.1.294.1.4)
5.7.4.5
Derivation OID (1.3.6.1.4.1.294.1.5)
5.7.4.6
Debug OID (1.3.6.1.4.1.294.1.8)
5.7.5
Binary Image Creation
5.7.6
Binary Image Verification
5.7.7
R5 SBL Handoff
5.7.8
HSM RunTime Handoff
5.7.9
Post Boot Status
5.7.9.1
R5
5.7.9.1.1
Memory
5.7.9.1.2
Clock
5.7.9.1.3
IP Blocks
5.7.9.1.4
Pinmux Settings
5.7.9.1.5
PBIST
5.7.9.2
Assets
5.8
Boot Image Format
5.8.1
Overall Structure
5.8.2
Generating X.509 Certificates
5.8.2.1
Key Generation
5.8.2.1.1
RSA Key Generation
5.8.2.2
Configuration Script
5.8.2.3
Image Data
5.9
Boot Memory Maps
5.9.1
Memory Layout/MPU
5.9.2
Logger
6
Device Configuration
6.1
Control Module
6.1.1
Control Overview
6.1.1.1
MMR Write Protection
6.1.1.2
MMR Access Error Interrupt
6.1.2
TOP_CTRL
6.1.2.1
TOP_CTRL Integration
6.1.3
MSS_CTRL
6.1.3.1
MSS_CTRL Integration
6.1.3.2
MSS_CTRL Functional Description
6.1.3.2.1
R5FSS CPU Global Configuration and Control
6.1.3.2.1.1
R5SS Lock Step/Dual Core Configuration
6.1.3.2.1.2
R5 Core Halting and Unhalting
6.1.3.2.1.3
R5 Wait-For-Interrupt (WFI)
6.1.3.2.2
Memory Initialization
6.1.3.2.2.1
R5 TCM Memory Initialization
6.1.3.2.2.2
L2 OCRAM and Mailbox RAM and EDMA RAM Memory Initialization
6.1.3.2.3
EDMA Configuration
6.1.3.2.3.1
EDMA Global Configuration and Event Aggregation
6.1.3.2.3.2
EDMA Error Aggregation
6.1.3.2.4
CPSW Global Configuration
6.1.3.2.5
ICSSM Global Configuration
6.1.3.2.6
GPMC Global Configuration
6.1.3.2.7
MPU Interrupt Aggregator
6.1.3.2.8
MMR Access Error Interrupt Aggregator
6.1.3.2.9
Safety Registers
6.1.3.2.9.1
R5 Memory ECC Error Aggregator
6.1.3.2.9.2
R5SS TCM Address Parity Error Aggregator
6.1.3.2.9.3
Interconnect Safety
6.1.3.2.10
MSS_CTRL MMR Kick Protection Registers
6.1.3.2.11
MSS_CTRL MMR Access Error Registers
6.1.4
CONTROLSS_CTRL (CTRLMMR2)
6.1.5
IOMUX (PADCFG_CTRLMMR0)
6.1.6
TOPRCM (RCM_CTRLMMR0): SoC-level Clock and Reset control registers
6.1.7
MSS_RCM (RCM_CTRLMMR1): SoC and Peripheral-level Clock and Reset control registers
6.2
Power
6.2.1
Power Management Overview
6.2.2
Power Management Unit
6.2.2.1
PMU Reference System (REFSYS)
6.2.2.1.1
Power OK (POK) Modules
6.2.2.1.2
Power on Reset module
6.2.2.2
PMU Safety System (SAFETYSYS)
6.2.2.2.1
Power OK (POK) Modules
6.2.2.2.2
Thermal Manager
6.2.2.2.2.1
Thermal Manager Features
6.2.2.2.2.2
Thermal Manager Functional Description
6.2.2.2.2.3
Thermal FSM
6.2.2.2.2.4
Thermal Alert Comparator
6.2.2.2.2.5
Temperature Timestamp Registers
6.2.2.2.2.6
FIFO Management
6.2.2.2.2.7
ADC Values Versus Temperature
6.2.3
Power Control Modules
6.2.3.1
Clock ICG controls
6.2.3.2
L2OCRAM Power Control
6.2.4
Device Power States
6.2.4.1
Overview of Device Power Modes
6.2.4.2
Device Power States and Transitions
6.3
Reset
6.3.1
Overview
6.3.1.1
SoC Supported Resets
6.3.2
Reset Details
6.3.2.1
PORz Reset
6.3.2.2
Warm Resets
6.3.2.2.1
Warm Reset by WARMRSTn HW Pin
6.3.2.2.2
Internal Warm Reset Sources
6.3.2.2.2.1
Debugger Reset
6.3.2.2.2.2
WDT Resets
6.3.2.2.3
SW Warm Reset
6.3.2.3
Local Module Resets
6.3.2.4
R5FSS Reset
6.3.2.5
Reset - High Heating Value (HHV)
6.3.3
Core and Cluster Reset logic
6.3.4
Reset Status
6.3.5
Reset Registers
6.3.6
Reset Power up Sequence
6.4
Clocking
6.4.1
Overview
6.4.1.1
Analog Modules
6.4.1.1.1
PLL Module
6.4.1.1.2
CORE PLL Overview
6.4.1.1.3
PER PLL Overview
6.4.1.1.4
PLL Hookup
6.4.1.1.5
HSDIVIDER Module
6.4.1.2
R5SS and SYSCLK Clock Tree
6.4.2
Clock IO
6.4.2.1
Overview
6.4.2.2
Clock IO Mapping
6.4.3
IP Clocking
6.4.3.1
IP Clocks Having GCM
6.4.3.2
IP Clocks working on SYS_CLK
6.4.3.3
Clock Selection
6.4.4
Clock Gating
6.4.5
Limp Mode
6.4.6
Clocking Registers
6.4.7
Programming Guide
6.4.7.1
PLL and Root Clocks Programming Guide
6.4.7.1.1
PLL Configurations
6.4.7.1.1.1
Kick Protection Mechanism
6.4.7.1.1.2
Sequence to Configure the CORE PLL
6.4.7.1.1.3
Sequence to Configure the PER PLL
6.4.7.1.1.4
Sequence to Re-Configure the PLL
6.4.7.1.2
Root Clock Configurations
6.4.7.1.2.1
Sequence for Programming SYS and R5 Clocks
6.4.7.1.2.2
Sequence for Programming TRACE Clock
6.4.7.1.2.3
Sequence for Programming CLKOUT Clock
6.4.7.2
IP Clock Configurations
6.4.7.2.1
RTI CLOCK
6.4.7.2.2
WDT CLOCK
6.4.7.2.3
QSPI CLOCK
6.4.7.2.4
MCSPI CLOCK
6.4.7.2.5
I2C CLOCK
6.4.7.2.6
LIN_UART CLOCK
6.4.7.2.7
ICSSM UART CLOCK
6.4.7.2.8
MCAN CLOCK
6.4.7.2.9
MMCx CLOCK
6.4.7.2.10
CPTS CLOCK
6.4.7.2.11
HSM RTI CLOCK
6.4.7.2.12
HSM WDT CLOCK
6.4.7.2.13
HSM RTC CLOCK
6.4.7.2.14
HSM DMTA CLOCK
6.4.7.2.15
HSM DMTB CLOCK
6.4.7.2.16
GPMC CLOCK
6.4.7.2.17
CONTROLSS PLL CLOCK
6.4.7.2.18
RGMII5 CLK
6.4.7.2.19
RGMII50 CLK
6.4.7.2.20
RGMII250 CLK
6.4.7.2.21
XTAL MMC 32K CLOCK
6.4.7.2.22
XTAL TEMPSENSE 32K CLOCK
6.4.7.2.23
MSS_ELM CLOCK
7
Processors and Accelerators
7.1
Arm Cortex R5F Subsystem (R5FSS)
7.1.1
R5FSS Overview
7.1.1.1
R5FSS Features
7.1.1.2
R5FSS Not Supported Features
7.1.2
R5FSS Integration
7.1.2.1
R5FSS Integration
7.1.3
R5FSS Functional Description
7.1.3.1
R5FSS Block Diagram
7.1.3.2
R5FSS Cortex-R5F Core
7.1.3.2.1
L1 Caches
7.1.3.2.2
Tightly-Coupled Memories (TCMs)
7.1.3.2.3
R5FSS Special Signals
7.1.3.3
R5FSS Interfaces
7.1.3.3.1
Initiator Interfaces
7.1.3.3.2
Target Interfaces
7.1.3.4
R5FSS Power, Clocking and Reset
7.1.3.4.1
R5FSS Power
7.1.3.4.2
R5FSS Clocking
7.1.3.4.3
R5FSS Reset
7.1.3.4.4
R5FSS Reset Sequencing
7.1.3.5
R5FSS Vectored Interrupt Manager (VIM)
7.1.3.6
R5FSS ECC Support
7.1.3.7
R5FSS Memory View
7.1.3.8
R5FSS Interrupts
7.1.3.9
R5FSS Debug and Trace
7.1.3.10
R5FSS Boot Options
7.1.3.11
R5FSS Events
7.1.3.11.1
R5FSS Core Memory ECC Events
7.1.3.12
R5FSS TCM Address Parity Error
7.1.3.13
R5FSS Lockstep Compare
7.1.3.13.1
Overview
7.1.3.13.1.1
Main Features
7.1.3.13.1.2
Block Diagram
7.1.3.13.2
Module Operation
7.1.3.13.2.1
CPU/VIM Output Compare Diagnostic
7.1.3.13.2.1.1
Active Compare lockstep Mode
7.1.3.13.2.1.2
Self-Test Mode
7.1.3.13.2.1.2.1
Compare Match Test
7.1.3.13.2.1.2.2
Compare Mismatch Test
7.1.3.13.2.1.3
Error Forcing Mode
7.1.3.13.2.1.4
Self-Test Error Forcing Mode
7.1.3.13.2.2
CPU Input Inversion Diagnostic
7.1.3.13.2.3
Checker CPU Inactivity Monitor
7.1.3.13.2.3.1
Active Compare Mode
7.1.3.13.2.3.2
Self-Test Mode
7.1.3.13.2.3.2.1
Compare Match Test
7.1.3.13.2.3.2.2
Compare Mismatch Test
7.1.3.13.2.3.3
Error Forcing Mode
7.1.3.13.2.3.4
Self-Test Error Forcing Mode
7.1.3.13.2.4
Operation During CPU Debug Mode
7.1.3.13.3
Control Registers
7.1.3.13.3.1
CCM-R5F Status Register 1 (CCMSR1)
7.1.3.13.3.2
CCM-R5F Key Register 1 (CCMKEYR1)
7.1.3.13.3.3
CCM-R5F Status Register 2 (CCMSR2)
7.1.3.13.3.4
CCM-R5F Key Register 2 (CCMKEYR2)
7.1.3.13.3.5
CCM-R5F Status Register 3 (CCMSR3)
7.1.3.13.3.6
CCM-R5F Key Register 3 (CCMKEYR3)
7.1.3.13.3.7
CCM-R5F Polarity Control Register (CCMPOLCNTRL)
7.1.3.14
R5FSS Selftest Logic
7.2
Programmable Real-Time Unit Subsystem (PRU-ICSS)
7.2.1
PRU-ICSS Overview
7.2.1.1
PRU-ICSS Key Features
7.2.1.2
Not Supported Features
353
7.2.2
PRU-ICSS Environment
7.2.2.1
PRU-ICSS Internal Pinmux
PRU-ICSS I/O Signals
357
7.2.3
PRU-ICSS Integration
7.2.4
PRU-ICSS Top Level Resources Functional Description
7.2.4.1
PRU-ICSS Reset Management
7.2.4.2
PRU-ICSS Power and Clock Management
7.2.4.2.1
PRU-ICSS CORE Clock Generation
7.2.4.2.2
PRU-ICSS Protect
7.2.4.2.3
Module Clock Configurations at PRU-ICSS Top Level
7.2.4.3
Other PRU-ICSS Module Functional Registers at Subsystem Level
7.2.4.4
PRU-ICSS Memory Maps
7.2.4.4.1
PRU-ICSS Local Memory Map
7.2.4.4.1.1
PRU-ICSS Local Instruction Memory Map
7.2.4.4.1.2
PRU-ICSS Local Data Memory Map
7.2.4.4.2
PRU-ICSS Global Memory Map
371
7.2.5
PRU-ICSS PRU Cores
7.2.5.1
PRU Cores Overview
7.2.5.2
PRU Cores Functional Description
7.2.5.2.1
PRU Constant Table
7.2.5.2.2
PRU Module Interface
7.2.5.2.2.1
Real-Time Status Interface Mapping (R31): Interrupt Events Input
7.2.5.2.2.2
Event Interface Mapping (R31): PRU System Events
7.2.5.2.2.3
General-Purpose Inputs (R31): Enhanced PRU GP Module
7.2.5.2.2.3.1
PRU EGPIs Direct Input
7.2.5.2.2.3.2
PRU EGPIs 16-Bit Parallel Capture
7.2.5.2.2.3.3
PRU EGPIs 28-Bit Shift In
7.2.5.2.2.3.3.1
PRU EGPI Programming Model
7.2.5.2.2.3.4
General-Purpose Outputs (R30): Enhanced PRU GP Module
7.2.5.2.2.3.4.1
PRU EGPOs Direct Output
7.2.5.2.2.3.4.2
PRU EGPO Shift Out
2.5.2.2.3.4.2.1
PRU EGPO Programming Model
7.2.5.2.2.3.5
Sigma Delta (SD) Decimation Filtering
7.2.5.2.2.3.5.1
Sigma Delta Block Diagram and Signals
7.2.5.2.2.3.5.2
PRU R30 / R31 Interface
7.2.5.2.2.3.5.3
Sigma Delta Description
7.2.5.2.2.3.5.4
Sigma Delta Basic Programming Example
7.2.5.2.2.3.6
Three Channel Peripheral Interface
7.2.5.2.2.3.6.1
Peripheral Interface Block Diagram and Signal Configuration
7.2.5.2.2.3.6.2
PRU R30 and R31 Interface
7.2.5.2.2.3.6.3
Clock Generation
2.5.2.2.3.6.3.1
Configuration
2.5.2.2.3.6.3.2
Clock Output Start Conditions
5.2.2.3.6.3.2.1
TX Mode (RX_EN = 0)
5.2.2.3.6.3.2.2
RX Mode (RX_EN = 1)
2.5.2.2.3.6.3.3
Stop Conditions
7.2.5.2.2.3.6.4
Three Peripheral Mode Basic Programming Model
2.5.2.2.3.6.4.1
Clock Generation
2.5.2.2.3.6.4.2
TX - Single Shot
2.5.2.2.3.6.4.3
TX - Continuous FIFO Loading
2.5.2.2.3.6.4.4
RX - Auto Arm or Non-Auto Arm
7.2.5.3
PRU-ICSS RAM Index Allocation
408
7.2.6
PRU-ICSS Broadside Accelerators
7.2.6.1
PRU-ICSS Broadside Accelerators Overview
7.2.6.2
PRU-ICSS Data Processing Accelerators Functional
7.2.6.2.1
PRU Multiplier with Accumulation (MPY/MAC)
7.2.6.2.1.1
PRU MAC Operations
7.2.6.2.1.1.1
PRU versus MAC Interface
7.2.6.2.1.1.2
Multiply only mode(default state), MAC_MODE = 0
7.2.6.2.1.1.2.1
Programming PRU MAC in "Multiply-ONLY" mode
7.2.6.2.1.1.3
Multiply and Accumulate Mode, MAC_MODE = 1
7.2.6.2.1.1.3.1
Programming PRU MAC in Multiply and Accumulate Mode
7.2.6.2.2
PRU CRC16/32 Module
7.2.6.2.2.1
PRU and CRC16/32 Interface
7.2.6.2.2.2
CRC Programming Model
7.2.6.2.2.3
PRU and CRC16/32 Interface (R9:R2)
7.2.6.2.3
PRU-ICSS Scratch Pad Memory
7.2.6.2.3.1
PRU0/1 Scratch Pad Overview
7.2.6.2.3.2
PRU0 /1 Scratch Pad Operations
7.2.6.2.3.2.1
Optional XIN/XOUT Shift
7.2.6.2.3.2.2
Scratch Pad Operations Examples
7.2.6.3
PRU-ICSS Data Movement Accelerators Functional
7.2.6.3.1
PRU-ICSS XFR2VBUS Hardware Accelerator
7.2.6.3.1.1
Blocking Conditions
7.2.6.3.1.2
Read Operation with Auto Disabled
7.2.6.3.1.3
Read Operation with Auto Enabled
7.2.6.3.1.4
PRU to XFR2VBUS Interface
7.2.6.3.1.5
XFR2VBUS Programming Model
435
7.2.7
PRU-ICSS Local INTC
7.2.7.1
PRU-ICSS Interrupt Controller Functional Description
7.2.7.1.1
PRU-ICSS Interrupt Controller System Events Flow
7.2.7.1.1.1
PRU-ICSS Interrupt Processing
7.2.7.1.1.1.1
PRU-ICSS Interrupt Enabling
7.2.7.1.1.2
PRU-ICSS Interrupt Status Checking
7.2.7.1.1.3
PRU-ICSS Interrupt Channel Mapping
7.2.7.1.1.3.1
PRU-ICSS Host Interrupt Mapping
7.2.7.1.1.3.2
PRU-ICSS Interrupt Prioritization
7.2.7.1.1.4
PRU-ICSS Interrupt Nesting
7.2.7.1.1.5
PRU-ICSS Interrupt Status Clearing
7.2.7.1.2
PRU-ICSS Interrupt Disabling
7.2.7.2
PRU-ICSS Interrupt Controller Basic Programming Model
7.2.7.3
PRU-ICSS Interrupt Requests Mapping
450
7.2.8
PRU-ICSS UART Module
7.2.8.1
PRU-ICSS UART Overview
7.2.8.2
PRU-ICSS UART Environment
7.2.8.2.1
PRU-ICSS UART Pin Multiplexing
7.2.8.2.2
PRU-ICSS UART Signal Descriptions
7.2.8.2.3
PRU-ICSS UART Protocol Description and Data Format
7.2.8.2.3.1
PRU-ICSS UART Transmission Protocol
7.2.8.2.3.2
PRU-ICSS UART Reception Protocol
7.2.8.2.3.3
PRU-ICSS UART Data Format
7.2.8.2.3.3.1
Frame Formatting
7.2.8.2.4
PRU-ICSS UART Clock Generation and Control
7.2.8.3
PRU-ICSS UART Functional Description
7.2.8.3.1
PRU-ICSS UART Functional Block Diagram
7.2.8.3.2
PRU-ICSS UART Reset Considerations
7.2.8.3.2.1
PRU-ICSS UART Software Reset Considerations
7.2.8.3.2.2
PRU-ICSS UART Hardware Reset Considerations
7.2.8.3.3
PRU-ICSS UART Power Management
7.2.8.3.4
PRU-ICSS UART Interrupt Support
7.2.8.3.4.1
PRU-ICSS UART Interrupt Events and Requests
7.2.8.3.4.2
PRU-ICSS UART Interrupt Multiplexing
7.2.8.3.5
PRU-ICSS UART DMA Event Support
7.2.8.3.6
PRU-ICSS UART Operations
7.2.8.3.6.1
PRU-ICSS UART FIFO Modes
7.2.8.3.6.1.1
PRU-ICSS UART FIFO Interrupt Mode
7.2.8.3.6.1.2
PRU-ICSS UART FIFO Poll Mode
7.2.8.3.6.2
PRU-ICSS UART Autoflow Control
7.2.8.3.6.2.1
PRU-ICSS UART Signal UART0_RTS Behavior
7.2.8.3.6.2.2
PRU-ICSS UART Signal UART0_CTS Behavior
7.2.8.3.6.3
PRU-ICSS UART Loopback Control
7.2.8.3.7
PRU-ICSS UART Emulation Considerations
7.2.8.3.8
PRU-ICSS UART Exception Processing
7.2.8.3.8.1
PRU-ICSS UART Divisor Latch Not Programmed
7.2.8.3.8.2
Changing Operating Mode During Busy Serial Communication of PRU-ICSS UART
484
7.2.9
PRU-ICSS ECAP Module
7.2.9.1
PRU-ICSS eCAP Overview
7.2.9.1.1
Purpose of the PRU-ICSS eCAP Peripheral
7.2.9.1.2
PRU-ICSS eCAP Features
7.2.9.2
PRU-ICSS ECAP Functional Description
7.2.9.2.1
PRU-ICSS Capture and APWM Operating Mode
7.2.9.2.2
PRU-ICSS eCAP Capture Mode Description
7.2.9.2.2.1
PRU-ICSS eCAP Event Prescaler
7.2.9.2.2.2
PRU-ICSS eCAP Edge Polarity Select and Qualifier
7.2.9.2.2.3
eCAP Continuous/One-Shot Control
7.2.9.2.2.4
PRU-ICSS eCAP 32-bit Counter and Phase Control
7.2.9.2.2.5
PRU-ICSS Enhanced Capture CAP1-CAP4 Registers
7.2.9.2.2.6
PRU-ICSS eCAP Interrupt Control
7.2.9.2.2.7
PRU-ICSS eCAP Shadow Load and Lockout Control
7.2.9.2.2.8
CEVT Flag Registers
7.2.9.2.3
PRU-ICSS eCAP Module APWM Mode Operation
501
7.2.10
PRU-ICSS MII_RT Module
7.2.10.1
PRU-ICSS MII_RT Introduction
7.2.10.1.1
PRU-ICSS MII_RT Features
7.2.10.1.2
Unsupported Features
7.2.10.1.3
PRU-ICSS MII_RT Block Diagram
7.2.10.2
MII_RT Functional Description
7.2.10.2.1
MII_RT Data Path Configuration
7.2.10.2.1.1
Auto-forward with Optional PRU Snoop
7.2.10.2.1.2
8- or 16-bit Processing with On-the-Fly Modifications
7.2.10.2.1.3
32-byte Double Buffer or Ping-Pong Processing
7.2.10.2.2
MII_RT Definition and Terms
7.2.10.2.2.1
MII_RT Data Frame Structure
7.2.10.2.2.2
PRU R30 and R31
7.2.10.2.2.3
RX and TX L1 FIFO Data Movement
7.2.10.2.2.4
Receive CRC Computation
7.2.10.2.2.5
Transmit CRC Computation
7.2.10.2.2.6
Transmit CRC Computation for fragmented frames
7.2.10.2.3
RX MII Interface
7.2.10.2.3.1
RX MII Receive Data Latch
7.2.10.2.3.2
RX MII Start of Frame Detection
7.2.10.2.3.3
CRC Error Detection
7.2.10.2.3.4
RX Error Detection and Action
7.2.10.2.3.5
RX Data Path Options to PRU
7.2.10.2.3.6
RX MII Port → RX L1 FIFO → PRU
7.2.10.2.3.7
RX MII Port → RX L1 FIFO → RX L2 Buffer → PRU
7.2.10.2.3.7.1
RX L2 Status in mode 0, none IET mode (when ICSS_M_CFG[2] RX_L2_G_EN= 0h)
7.2.10.2.3.7.2
RX L2 XFR Identification
7.2.10.2.3.7.3
RX L2 XFR Status
7.2.10.2.3.7.4
Broadside Stitch FIFO
7.2.10.2.4
PRU-ICSS TX MII Interface
7.2.10.2.4.1
TX Data Path Options to TX L1 FIFO
7.2.10.2.4.1.1
PRU → TX L1 FIFO → TX MII Port
7.2.10.2.4.1.1.1
TX L2 FIFO Features
7.2.10.2.4.1.1.2
TX Insertion
7.2.10.2.4.1.1.3
TX Preemption
2.10.2.4.1.1.3.1
TX Preemption Programming Model
7.2.10.2.4.1.2
RX L1 FIFO → TX L1 FIFO (Direct Connection) → TX MII Port
7.2.10.2.5
PRU R31 Command Interface
7.2.10.2.6
Other Configuration Options
7.2.10.2.6.1
Nibble and Byte Order
7.2.10.2.6.2
MII_RT Preamble Source
7.2.10.2.6.3
PRU and MII Port Multiplexer
7.2.10.2.6.3.1
Receive Multiplexer
7.2.10.2.6.3.2
Transmit Multiplexer
7.2.10.2.6.4
RX L2 Scratch Pad
547
7.2.11
PRU-ICSS MII MDIO Module
7.2.11.1
PRU-ICSS MII MDIO Overview
7.2.11.2
PRU-ICSS MII MDIO Functional Description
7.2.11.2.1
MDIO Clause 22 Frame Formats
7.2.11.2.1.1
PRU-ICSS MDIO Control and Interface Signals
7.2.11.2.2
MDIO Clause 45 Frame Formats
7.2.11.2.3
PRU-ICSS MII MDIO Interractions
7.2.11.2.4
PRU-ICSS MII MDIO Interrupts
7.2.11.2.4.1
Normal Mode ([30]STATECHANGEMODE = 0h)
7.2.11.2.4.2
State Change Mode ([30]STATECHANGEMODE = 1h)
7.2.11.2.5
Manual Mode
7.2.11.3
PRU-ICSS MII MDIO Receive/Transmit Frame Host Software Interface
560
7.2.12
PRU-ICSS IEP
7.2.12.1
PRU-ICSS IEP Overview
7.2.12.2
PRU-ICSS IEP Functional Description
7.2.12.2.1
PRU-ICSS IEP Clock Generation
7.2.12.2.2
PRU-ICSS IEP Timer
7.2.12.2.2.1
PRU-ICSS IEP Timer Features
7.2.12.2.3
32-Bit Shadow Mode
7.2.12.2.4
PRU-ICSS IEP Timer Basic Programming Sequence
7.2.12.2.5
Industrial Ethernet Mapping
7.2.12.2.6
PRU-ICSS IEP Sync0/Sync1 Module
7.2.12.2.6.1
PRU-ICSS IEP Sync0/Sync1 Features
7.2.12.2.6.2
PRU-ICSS IEP Sync0/Sync1 Generation Modes
7.2.12.2.7
PRU-ICSS IEP WatchDog
7.2.12.2.8
PRU-ICSS IEP DIGIO
7.2.12.2.8.1
PRU-ICSS IEP DIGIO Features
7.2.12.2.8.2
PRU-ICSS IEP DIGIO Block Diagrams
7.2.12.2.8.3
PRU-ICSS IEP Basic Programming Model
578
7.3
Hardware Security Module (HSM)
7.3.1
Security Features
7.3.2
Security Features not Supported
7.3.3
Security Device Types
7.3.4
Crypto Hardware Accelerators
7.3.4.1
DTHE
7.3.4.1.1
DMA Channel Map
7.3.4.1.2
HSM_DTHE Memory Map
7.3.4.2
CRC Engine
7.3.4.2.1
Overview
7.3.4.2.2
Endian Configuration
7.3.4.2.3
CRC Programming Model
7.3.4.3
AES Engine - Symmetric Encryption and Decryption
7.3.4.3.1
Functional Description
7.3.4.3.2
Global Control FSM and DMA I/O
7.3.4.3.3
Register Interface
7.3.4.3.4
AES Wide-bus Engine
7.3.4.3.4.1
Mode Control FSM
7.3.4.3.4.2
AES Key Scheduler (aes ctrl)
7.3.4.3.4.3
AES Encrypt Core (aes enc)
7.3.4.3.4.4
AES Decrypt Core (aes dec)
7.3.4.3.4.5
AES Feedback Mode Block
7.3.4.3.4.6
GHASH Block
7.3.4.3.4.7
Key Selection Mechanism
7.3.4.3.5
AES Algorithm
7.3.4.3.6
Supported Modes of Operation
7.3.4.3.6.1
ECB Feedback Mode
7.3.4.3.6.2
CBC Feedback Mode
7.3.4.3.6.3
CTR Feedback Mode
7.3.4.3.6.4
CFB128 Feedback Mode
7.3.4.3.6.5
f8 Feedback Mode
7.3.4.3.6.6
XTS Operation
7.3.4.3.6.7
f9 Authentication Mode
7.3.4.3.6.8
CBC-MAC Authentication Mode
7.3.4.3.6.9
GCM Operation
7.3.4.3.6.10
CCM Operation
7.3.4.3.7
Extended/Combined Modes of Operations
7.3.4.3.7.1
XTS Pre-calculation
7.3.4.3.7.2
GCM Protocol Operation
7.3.4.3.7.3
CCM Protocol Operation
7.3.4.3.8
AES Module Programming Guide
7.3.4.3.8.1
AES Low-Level Programming Models
7.3.4.3.8.1.1
Global Initialization
7.3.4.3.8.1.2
Initialization Subsequence
7.3.4.3.8.1.3
Operational Modes Configuration
7.3.4.3.8.1.4
AES Events Servicing
7.3.4.3.9
HSM_AES Memory Map
7.3.4.4
Asymmetric Cryptography
7.3.4.4.1
Public Key Accelerator (PKA)
7.3.4.4.1.1
PKA Introduction and Features
7.3.4.4.1.2
PKA Embedded Memories
7.3.4.4.1.3
PKA Clock Management
7.3.4.4.1.4
PKA PKCP Operations
7.3.4.4.1.5
PKA LNME Operations
7.3.4.4.1.5.1
LNME Unit Operational Parameters
7.3.4.4.1.5.2
LNME MMM Type Operations (MMM, MMMNEXT, MMM3A)
7.3.4.4.1.5.2.1
LNME Actual Usage of MMM-type Operations
7.3.4.4.1.5.3
LNME MMEXP Operation
7.3.4.4.1.5.3.1
PKA Exponent Re-coding
7.3.4.4.1.5.3.2
Actual Usage of the MMEXP Operation
7.3.4.4.1.6
PKA GF(2m) Operations
7.3.4.4.1.6.1
GF2m CLR Operation
7.3.4.4.1.6.2
GF2m COPY Operation
7.3.4.4.1.6.3
GF2m ADD Operation
7.3.4.4.1.6.4
GF2m MUL Operation
7.3.4.4.1.6.4.1
GF2m Multiplications
3.4.4.1.6.4.1.1
Operand and Polynomial Loading for Multiplication
3.4.4.1.6.4.1.2
Aspects of the GF(2m) Multiplication Operation
7.3.4.4.1.6.5
GF2m SXL Operation
7.3.4.4.1.6.6
GF2m DEGREE Operation
7.3.4.4.1.7
PKA Sequencer Controlled Operations
7.3.4.4.1.7.1
Sequencer Command Execution
7.3.4.4.1.7.2
Sequencer Complex Commands
7.3.4.4.1.7.2.1
Alignment Words
7.3.4.4.1.7.2.2
Buffer Words
7.3.4.4.1.7.3
Sequencer Command Descriptions
7.3.4.4.1.7.3.1
Operations for Modular Exponentiation
7.3.4.4.1.7.3.2
Operations for Modular Inversion
3.4.4.1.7.3.2.1
Modular Inversion for Regular Numbers
3.4.4.1.7.3.2.2
Modular Inversion for Binary Fields
3.4.4.1.7.3.2.3
Modular Inversion with an Even Modulus (Special Case)
3.4.4.1.7.3.2.4
Modular Inversion with a Prime Modulus (Special Case)
7.3.4.4.1.7.3.3
Operations for ECC on Curves over Prime Fields
7.3.4.4.1.7.3.4
Operations for ECC on Curves over Binary Fields
7.3.4.4.1.7.3.5
Single-command ECDSAp Signature Generation and Verification
7.3.4.4.1.7.3.6
Basic Operations for Montgomery Curves (Curve25519 and Curve448)
7.3.4.4.1.7.4
Sequencer Operation Examples
7.3.4.4.1.7.4.1
MODEXP-CRT Operation Example
7.3.4.4.1.7.4.2
ECpMULxyz Operation Example
7.3.4.4.1.7.5
Sequencer Firmware Download
7.3.4.4.1.8
PKA Operation Sequences Basics
7.3.4.4.1.9
PKA Memory Address Space Assignment
7.3.4.4.2
HSM_PKA_RAM Memory Map
7.3.4.5
Hashing Function
7.3.4.5.1
SHA/MD5 Functional Description
7.3.4.5.1.1
SHA/MD5 Block Diagram
7.3.4.5.1.1.1
Configuration Registers
7.3.4.5.1.1.2
Hash/HMAC Engine
7.3.4.5.1.1.3
Hash Core Control
7.3.4.5.1.1.4
Host Interface Bank
7.3.4.5.1.2
DMA and Interrupt Requests
7.3.4.5.1.3
Operation Description
7.3.4.5.1.3.1
SHA Mode
7.3.4.5.1.3.1.1
Starting a New Hash
7.3.4.5.1.3.1.2
Outer Digest Registers
3.4.5.1.3.1.2.1
Outer Digest Register Tables
7.3.4.5.1.3.1.3
Inner Digest Registers
3.4.5.1.3.1.3.1
Inner Digest Registers Table
7.3.4.5.1.3.1.4
Closing a Hash
7.3.4.5.1.3.2
MD5 Mode
7.3.4.5.1.3.2.1
Starting a New Hash
7.3.4.5.1.3.2.2
Closing a Hash
7.3.4.5.1.3.3
Generating a Software Interrupt
7.3.4.5.1.4
SHA/MD5 Programming Guide
7.3.4.5.1.4.1
Global Initialization
7.3.4.5.1.4.1.1
Surrounding Modules Global Initialization
7.3.4.5.1.4.1.2
Starting a New HMAC using the SHA-1 Hash Function and HMAC Key Processing
3.4.5.1.4.1.2.1
Subsequence - Continuing a Prior HMAC Using the SHA-1 Hash Function
7.3.4.5.1.4.1.3
Subsequence - Hashing a Key Bigger than 512 Bits with the SHA-1 Hash Function
7.3.4.5.1.4.1.4
Operational Modes Configuration
7.3.4.5.1.4.1.5
SHA/MD5 Event Servicing
3.4.5.1.4.1.5.1
Interrupt Servicing
7.3.4.5.2
HSM_SHA Memory Map
7.3.4.6
Random Number Generator
7.3.4.6.1
True Random Number Generator (TRNG) with DRBG
7.3.4.6.1.1
TRNG Introduction and Features
7.3.4.6.1.2
TRNG Operation Sequences
7.3.4.6.1.2.1
Starting up and Obtaining Random Data Without a DRBG
7.3.4.6.1.2.2
SP 800-90A DRBG 'Initialize' Operation
7.3.4.6.1.2.3
SP 800-90A DRBG 'Reseed' Operation
7.3.4.6.1.2.4
SP 800-90A DRBG 'Generate' Operation
7.3.4.6.1.3
TRNG Clock Configuration for First Random Value Generation
7.3.4.6.1.4
TRNG Sampling Rate Selection
7.3.4.6.1.5
TRNG Secure Reading Mode
7.3.4.6.1.6
TRNG Software Operating Strategies
7.3.4.6.2
HSM_TRNG Memory Map
7.3.5
How to Request Access for HSM Addendum
7.4
Real-time Control Subsystem (CONTROLSS)
7.4.1
Real-time Control Subsystem (CONTROLSS) Overview
7.4.2
Analog-to-Digital Converter (ADC)
7.4.2.1
Introduction
7.4.2.1.1
Features
7.4.2.2
ADC Integration
7.4.2.3
ADC Configurability
7.4.2.3.1
Clock Configuration
7.4.2.3.2
Resolution
7.4.2.3.3
Voltage Reference
7.4.2.3.3.1
Internal ADC Voltage Reference Buffer Control
7.4.2.3.3.2
ADC External Reference
7.4.2.3.4
Signal Mode
7.4.2.4
SOC Principle of Operation
7.4.2.4.1
SOC Configuration
7.4.2.4.2
Trigger Operation
7.4.2.4.3
ADC Triggers
7.4.2.4.4
ADC Acquisition (Sample and Hold) Window
7.4.2.4.5
ADC Input Models
7.4.2.4.6
Channel Selection
7.4.2.5
ADC Conversion Priority
7.4.2.6
Burst Mode
7.4.2.6.1
Burst Mode Example
7.4.2.6.2
Burst Mode Priority Example
7.4.2.7
EOC and Interrupt Operation
7.4.2.7.1
Interrupt Overflow
7.4.2.7.2
Continue to Interrupt Mode
7.4.2.8
Post-Processing Blocks
7.4.2.8.1
PPB Offset Correction
7.4.2.8.2
PPB Error Calculation
7.4.2.8.3
PPB Limit Detection and Zero-Crossing Detection
7.4.2.8.4
PPB Sample Delay Capture
7.4.2.9
Power-Up Sequence
7.4.2.10
ADC Timings
7.4.2.10.1
ADC Timing Diagrams
7.4.2.11
ADC Programming Guide
7.4.2.12
Additional Information
7.4.2.12.1
Ensuring Synchronous Operation
7.4.2.12.1.1
Basic Synchronous Operation
7.4.2.12.1.2
Synchronous Operation with Multiple Trigger Sources
7.4.2.12.1.3
Synchronous Operation with Uneven SOC Numbers
7.4.2.12.1.4
Non-overlapping Conversions
7.4.2.12.2
Choosing an Acquisition Window Duration
7.4.2.12.2.1
Result Register Mapping
7.4.2.12.2.2
Designing an External Reference Circuit
7.4.3
Comparator Subsystem (CMPSS)
7.4.3.1
Introduction
7.4.3.1.1
Features
7.4.3.1.2
Comparator
7.4.3.1.3
Block Diagram
7.4.3.2
ADC-CMPSS Signal Connections
7.4.3.3
Reference DAC
7.4.3.4
Ramp Generator
7.4.3.4.1
Ramp Generator Overview
7.4.3.4.2
Ramp Generator Behavior
7.4.3.4.3
Ramp Generator Behavior at Corner Cases
7.4.3.5
Digital Filter
7.4.3.5.1
Filter Initialization Sequence
7.4.3.6
Using the CMPSS
7.4.3.6.1
LATCHCLR, EPWMSYNCPER and EPWMBLANK Signals
7.4.3.6.2
Synchronizer, Digital Filter, and Latch Delays
7.4.3.6.3
Calibrating the CMPSS Trip Levels
7.4.3.6.3.1
CMPSS Hysteresis
7.4.3.7
Enabling and Disabling the CMPSS Clock
7.4.3.8
CMPSS Programming Guide
7.4.4
Buffered Digital-to-Analog Converter (DAC)
7.4.4.1
Introduction
7.4.4.1.1
Features
7.4.4.1.2
Block Diagram
7.4.4.2
Using the DAC
7.4.4.2.1
Initialization Sequence
7.4.4.2.2
DAC Offset Adjustment
7.4.4.2.3
EPWMSYNCPER Signal
7.4.4.3
Lock Registers
7.4.4.4
DAC Programming Guide
7.4.5
Enhanced Pulse Width Modulator (ePWM)
7.4.5.1
Introduction
7.4.5.1.1
Submodule Overview
7.4.5.1.2
EPWM Related Collateral
7.4.5.2
EPWM Integration
7.4.5.3
ePWM Modules Overview
7.4.5.4
Time-Base (TB) Submodule
7.4.5.4.1
Purpose of the Time-Base Submodule
7.4.5.4.2
Controlling and Monitoring the Time-Base Submodule
7.4.5.4.3
Calculating PWM Period and Frequency
7.4.5.4.3.1
Time-Base Period Shadow Register
7.4.5.4.3.2
Time-Base Clock Synchronization
7.4.5.4.3.3
Time-Base Counter Synchronization
7.4.5.4.3.4
ePWM SYNC Selection
7.4.5.4.4
Phase Locking the Time-Base Clocks of Multiple ePWM Modules
7.4.5.4.5
Simultaneous Writes to TBPRD and CMPx Registers Between ePWM Modules
7.4.5.4.6
Time-Base Counter Modes and Timing Waveforms
7.4.5.4.7
Edge Detection Within a Programmable TBCTR Range
7.4.5.4.8
Global Load
7.4.5.4.8.1
Global Load Pulse Pre-Scalar
7.4.5.4.8.2
One-Shot Load Mode
7.4.5.4.8.3
One-Shot Sync Mode
7.4.5.5
Counter-Compare (CC) Submodule
7.4.5.5.1
Purpose of the Counter-Compare Submodule
7.4.5.5.2
Controlling and Monitoring the Counter-Compare Submodule
7.4.5.5.3
Operational Highlights for the Counter-Compare Submodule
7.4.5.5.4
Count Mode Timing Waveforms
7.4.5.6
Action-Qualifier (AQ) Submodule
7.4.5.6.1
Purpose of the Action-Qualifier Submodule
7.4.5.6.2
Action-Qualifier Submodule Control and Status Register Definitions
7.4.5.6.3
Action-Qualifier Event Priority
7.4.5.6.4
AQCTLA and AQCTLB Shadow Mode Operations
7.4.5.6.5
Configuration Requirements for Common Waveforms
7.4.5.7
Dead-Band Generator (DB) Submodule
7.4.5.7.1
Purpose of the Dead-Band Submodule
7.4.5.7.2
Dead-band Submodule Additional Operating Modes
7.4.5.7.3
Simultaneous Writes to DBRED and DBFED Registers Between ePWM Modules (Type 5 EPWM)
7.4.5.7.4
Operational Highlights for the Dead-Band Submodule
7.4.5.8
Minimum Dead-Band (MINDB) + Illegal Combination Logic (ICL) Submodules
7.4.5.8.1
Minimum Dead-Band (MINDB)
7.4.5.8.2
Illegal Combo Logic (ICL)
7.4.5.9
PWM Chopper (PC) Submodule
7.4.5.9.1
Purpose of the PWM Chopper Submodule
7.4.5.9.2
Operational Highlights for the PWM Chopper Submodule
7.4.5.9.3
Waveforms
7.4.5.9.3.1
One-Shot Pulse
7.4.5.9.3.2
Duty Cycle Control
7.4.5.10
Trip-Zone (TZ) Submodule
7.4.5.10.1
Purpose of the Trip-Zone Submodule
7.4.5.10.2
Operational Highlights for the Trip-Zone Submodule
7.4.5.10.2.1
Trip-Zone Configurations
7.4.5.10.3
Generating Trip Event Interrupts
7.4.5.11
Diode Emulation (DE) Submodule
7.4.5.11.1
DEACTIVE Mode
7.4.5.11.2
Exiting DE Mode
7.4.5.11.3
Re-Entering DE Mode
7.4.5.11.4
DE Monitor
7.4.5.12
Event-Trigger (ET) Submodule
7.4.5.12.1
Operational Overview of the ePWM Event-Trigger Submodule
7.4.5.13
Digital Compare (DC) Submodule
7.4.5.13.1
Purpose of the Digital Compare Submodule
7.4.5.13.2
Enhanced Trip Action Using CMPSS
7.4.5.13.3
Using CMPSS to Trip the ePWM on a Cycle-by-Cycle Basis
7.4.5.13.4
Operation Highlights of the Digital Compare Submodule
7.4.5.13.4.1
Digital Compare Events
7.4.5.13.4.2
Valley Switching
7.4.5.13.4.3
Event Filtering
7.4.5.13.4.4
Event Detection
7.4.5.13.4.4.1
Input Signal Detection
7.4.5.13.4.4.2
MIN and MAX Detection Circuit
7.4.5.14
XCMP Submodule
7.4.5.14.1
XCMP Complex Waveform Generator Mode
7.4.5.14.2
MIN-MAX Event Logic
7.4.5.14.3
XCMP Shadow Buffers
7.4.5.14.4
XCMP Allocation to CMPA and CMPB
7.4.5.14.5
XCMP Operation
7.4.5.15
High-Resolution Pulse Width Modulator (HRPWM)
7.4.5.15.1
Operational Description of HRPWM
7.4.5.15.1.1
Controlling the HRPWM Capabilities
7.4.5.15.1.2
HRPWM Source Clock
7.4.5.15.1.3
Configuring the HRPWM
7.4.5.15.1.4
Configuring High-Resolution in Deadband Rising-Edge and Falling-Edge Delay
7.4.5.15.1.5
Principle of Operation
7.4.5.15.1.5.1
Edge Positioning
7.4.5.15.1.5.2
Scaling Considerations
7.4.5.15.1.5.3
Duty Cycle Range Limitation
7.4.5.15.1.5.4
High-Resolution Period
7.4.5.15.1.5.4.1
High-Resolution Period Configuration
7.4.5.15.1.6
Deadband High-Resolution Operation
7.4.5.15.1.7
Scale Factor Optimizing Software (SFO)
7.4.5.16
ePWM Crossbar (XBAR)
7.4.5.17
Register Lock Protection
7.4.5.18
Applications to Power Topologies
7.4.5.18.1
Overview of Multiple Modules
7.4.5.18.2
Key Configuration Capabilities
7.4.5.18.3
Controlling Multiple Buck Converters With Independent Frequencies
7.4.5.18.4
Controlling Multiple Buck Converters With Same Frequencies
7.4.5.18.5
Controlling Multiple Half H-Bridge (HHB) Converters
7.4.5.18.6
Controlling Dual 3-Phase Inverters for Motors (ACI and PMSM)
7.4.5.18.7
Practical Applications Using Phase Control Between PWM Modules
7.4.5.18.8
Controlling a 3-Phase Interleaved DC/DC Converter
7.4.5.18.9
Controlling Zero Voltage Switched Full Bridge (ZVSFB) Converter
7.4.5.18.10
Controlling a Peak Current Mode Controlled Buck Module
7.4.5.18.11
Controlling H-Bridge LLC Resonant Converter
7.4.5.19
EPWM Programming Guide
7.4.6
Enhanced Capture (eCAP)
7.4.6.1
Introduction
7.4.6.1.1
Features
7.4.6.2
eCAP Integration
7.4.6.2.1
eCAP Input Selection
7.4.6.3
Description
7.4.6.4
Capture Mode Operation
7.4.6.4.1
Event Prescaler
7.4.6.4.2
Glitch Filter
7.4.6.4.3
Input Capture Signal Selection
7.4.6.4.4
Modulo 4 Counter
7.4.6.4.5
Edge Polarity Select and Qualifier
7.4.6.4.6
Continuous/One-Shot Control
7.4.6.4.7
32-Bit Counter and Phase Control
7.4.6.4.8
CAP1-CAP4 Registers
7.4.6.5
APWM Mode Operation
7.4.6.6
eCAP Synchronization and Events
7.4.6.6.1
eCAP Synchronization
7.4.6.6.1.1
Example 1 - Using SWSYNC with ECAP Module
7.4.6.6.2
Interrupt Control
7.4.6.6.3
DMA Interrupt
7.4.6.6.4
ADC SOC Event
7.4.6.6.5
Shadow Load and Lockout Control
7.4.6.7
Signal Monitoring Unit
7.4.6.7.1
Pulse Width and Period Monitoring
7.4.6.7.2
Edge Monitoring
7.4.6.7.3
Error Events
7.4.6.7.4
Disabling the Signal Monitoring Unit
7.4.6.7.5
Shadow Control
7.4.6.7.6
Trip Signal
7.4.6.8
Application of the eCAP Module
7.4.6.8.1
Example 1 - Absolute Time-Stamp Operation Rising-Edge Trigger
7.4.6.8.2
Example 2 - Absolute Time-Stamp Operation Rising- and Falling-Edge Trigger
7.4.6.8.3
Example 3 - Time Difference (Delta) Operation Rising-Edge Trigger
7.4.6.8.4
Example 4 - Time Difference (Delta) Operation Rising- and Falling-Edge Trigger
7.4.6.9
Application of the APWM Mode
7.4.6.9.1
Example 1 - Simple PWM Generation (Independent Channels)
7.4.6.10
eCAP Programming Guide
7.4.7
Enhanced Quadrature Encoder Pulse (eQEP)
7.4.7.1
Introduction
7.4.7.2
Configuring Device Pins
7.4.7.3
EQEP Integration
7.4.7.4
Description
7.4.7.4.1
EQEP Inputs
7.4.7.4.2
Functional Description
7.4.7.4.3
eQEP Memory Map
7.4.7.5
Quadrature Decoder Unit (QDU)
7.4.7.5.1
Position Counter Input Modes
7.4.7.5.1.1
Quadrature Count Mode
7.4.7.5.1.2
Direction-Count Mode
7.4.7.5.1.3
Up-Count Mode
7.4.7.5.1.4
Down-Count Mode
7.4.7.5.2
eQEP Input Polarity Selection
7.4.7.5.3
Position-Compare Sync Output
7.4.7.6
Position Counter and Control Unit (PCCU)
7.4.7.6.1
Position Counter Operating Modes
7.4.7.6.1.1
Position Counter Reset on Index Event (QEPCTL[PCRM] = 00)
7.4.7.6.1.2
Position Counter Reset on Maximum Position (QEPCTL[PCRM] = 01)
7.4.7.6.1.3
Position Counter Reset on the First Index Event (QEPCTL[PCRM] = 10)
7.4.7.6.1.4
Position Counter Reset on Unit Time-out Event (QEPCTL[PCRM] = 11)
7.4.7.6.2
Position Counter Latch
7.4.7.6.2.1
Index Event Latch
7.4.7.6.2.2
Strobe Event Latch
7.4.7.6.3
Position Counter Initialization
7.4.7.6.4
eQEP Position-compare Unit
7.4.7.7
eQEP Edge Capture Unit
7.4.7.8
eQEP Watchdog
7.4.7.9
eQEP Unit Timer Base
7.4.7.10
eQEP Interrupt Structure
7.4.7.11
EQEP Programming Guide
7.4.8
Fast Serial Interface (FSI)
7.4.8.1
Introduction
7.4.8.1.1
FSI Features
7.4.8.1.2
Block Diagram
7.4.8.2
System-level Integration
7.4.8.2.1
Signal Description
7.4.8.2.1.1
Configuring Device Pins
7.4.8.2.2
FSI Interrupts
7.4.8.2.2.1
Transmitter Interrupts
7.4.8.2.2.2
Receiver Interrupts
7.4.8.2.2.3
Configuring Interrupts
7.4.8.2.2.4
Handling Interrupts
7.4.8.2.3
DMA Interface
7.4.8.2.4
External Frame Trigger Mux
7.4.8.3
FSI Functional Description
7.4.8.3.1
FSI Functional Description
7.4.8.3.2
FSI Transmitter Module
7.4.8.3.2.1
Initialization
7.4.8.3.2.2
FSI_TX Clocking
7.4.8.3.2.3
Transmitting Frames
7.4.8.3.2.3.1
Software Triggered Frames
7.4.8.3.2.3.2
Externally Triggered Frames
7.4.8.3.2.3.3
Ping Frame Generation
7.4.8.3.2.3.3.1
Automatic Ping Frames
7.4.8.3.2.3.3.2
Software Triggered Ping Frame
7.4.8.3.2.3.3.3
Externally Triggered Ping Frame
7.4.8.3.2.3.4
Transmitting Frames with DMA
7.4.8.3.2.4
Delay Line Control
7.4.8.3.2.5
Transmit Buffer Management
7.4.8.3.2.6
CRC Submodule
7.4.8.3.2.7
Conditions in Which the Transmitter Must Undergo a Soft Reset
7.4.8.3.2.8
Reset
7.4.8.3.3
FSI Receiver Module
7.4.8.3.3.1
Initialization
7.4.8.3.3.2
FSI_RX Clocking
7.4.8.3.3.3
Receiving Frames
7.4.8.3.3.3.1
Receiving Frames with DMA
7.4.8.3.3.4
Ping Frame Watchdog
7.4.8.3.3.5
Frame Watchdog
7.4.8.3.3.6
Delay Line Control
7.4.8.3.3.7
Buffer Management
7.4.8.3.3.8
CRC Submodule
7.4.8.3.3.9
Using the Zero Bits of the Receiver Tag Registers
7.4.8.3.3.10
Conditions in Which the Receiver Must Undergo a Soft Reset
7.4.8.3.3.11
FSI_RX Reset
7.4.8.3.4
Frame Format
7.4.8.3.4.1
FSI Frame Phases
7.4.8.3.4.2
Frame Types
7.4.8.3.4.2.1
Ping Frames
7.4.8.3.4.2.2
Error Frames
7.4.8.3.4.2.3
Data Frames
7.4.8.3.4.3
Multi-Lane Transmission
7.4.8.3.5
Flush Sequence
7.4.8.3.6
Internal Loopback
7.4.8.3.7
CRC Generation
7.4.8.3.8
ECC Module
7.4.8.3.9
FSI Trigger Generation
7.4.8.3.10
FSI-SPI Compatibility Mode
7.4.8.3.10.1
Available SPI Modes
7.4.8.3.10.1.1
FSITX as SPI Controller, Transmit Only
7.4.8.3.10.1.1.1
Initialization
7.4.8.3.10.1.1.2
Operation
7.4.8.3.10.1.2
FSIRX as SPI Peripheral, Receive Only
7.4.8.3.10.1.2.1
Initialization
7.4.8.3.10.1.2.2
Operation
7.4.8.3.10.1.3
FSITX and FSIRX Emulating a Full Duplex SPI Controller
7.4.8.3.10.1.3.1
Initialization
7.4.8.3.10.1.3.2
Operation
7.4.8.4
FSI Programing Guide
7.4.8.4.1
Establishing the Communication Link
7.4.8.4.1.1
Establishing the Communication Link from the Main Device
7.4.8.4.1.2
Establishing the Communication Link from the Remote Device
7.4.8.4.2
Register Protection
7.4.8.4.3
Emulation Mode
7.4.9
Sigma Delta Filter Module (SDFM)
7.4.9.1
Introduction
7.4.9.1.1
Features
7.4.9.1.2
Block Diagram
7.4.9.2
SDFM Integration
7.4.9.3
Configuring Device Pins
7.4.9.4
Input Qualification
7.4.9.5
Input Control Unit
7.4.9.6
SDFM Clock Control
7.4.9.7
Sinc Filter
7.4.9.7.1
Data Rate and Latency of the Sinc Filter
7.4.9.8
Data (Primary) Filter Unit
7.4.9.8.1
32-bit or 16-bit Data Filter Output Representation
7.4.9.8.2
Data FIFO
7.4.9.8.3
SDSYNC Event
7.4.9.9
Comparator (Secondary) Filter Unit
7.4.9.9.1
Higher Threshold (HLT) Comparators
7.4.9.9.2
Lower Threshold (LLT) Comparators
7.4.9.9.3
Digital Filter
7.4.9.10
Theoretical SDFM Filter Output
7.4.9.11
Interrupt Unit
7.4.9.11.1
SDFM (SDy_ERR) Interrupt Sources
7.4.9.11.2
Data Ready (DRINT) Interrupt Sources
7.4.9.12
SDFM Programming Guide
7.4.10
Crossbar (XBAR)
7.4.10.1
INPUTXBAR
7.4.10.2
PWMXBAR
7.4.10.3
MDLXBAR
7.4.10.4
ICLXBAR
7.4.10.5
INTXBAR
7.4.10.6
DMAXBAR
7.4.10.7
OUTPUTXBAR
7.4.10.7.1
OUTPUTXBAR Input Connection Table
7.4.10.8
PWMSYNCOUTXBAR
7.4.10.9
XBAR Programming Guide
8
Interprocessor Communication (IPC)
8.1
Mailbox
8.1.1
Mailbox
8.1.2
Maibox Message Scheme
8.1.3
Maibox Message Example
8.1.4
Maibox Registers
8.1.4.1
R5SS0_CORE0 Mailbox Registers
8.1.4.2
R5SS0_CORE1 Mailbox Registers
8.1.4.3
R5SS1_CORE0 Mailbox Registers
8.1.4.4
R5SS1_CORE1 Mailbox Registers
8.1.4.5
ICSSM_PRU0 Mailbox Registers
8.1.4.6
ICSSM_PRU1 Mailbox Registers
8.1.4.7
HSM Mailbox Registers
8.2
Spinlock
8.2.1
Spinlock Overview
8.2.1.1
Spinlock Not Supported Features
8.2.2
Spinlock Integration
Spinlock Integration
8.2.3
Spinlock Functional Description
8.2.3.1
Spinlock Software Reset
8.2.3.2
About Spinlocks
8.2.3.3
Spinlock Functional Operation
8.2.4
Spinlock Programming Guide
8.2.4.1
Spinlock Low-level Programming Models
8.2.4.1.1
Basic Spinlock Operations
8.2.4.1.1.1
Spinlocks Clearing After a System Bug Recovery
8.2.4.1.1.2
Take and Release Spinlock
9
Memory Controllers
9.1
Memory Controllers Overview
10
Interrupts
10.1
Interrupt Architecture
10.2
Interrupt Controllers
10.2.1
Vectored Interrupt Manager (VIM)
10.2.1.1
VIM Overview
10.2.1.2
VIM Interrupt Inputs
10.2.1.3
VIM Interrupt Outputs
10.2.1.4
VIM Interrupt Vector Table (VIM RAM)
10.2.1.5
VIM Interrupt Prioritization
10.2.1.6
VIM ECC Support
10.2.1.7
VIM IDLE State
10.2.1.8
VIM Interrupt Handling
10.2.1.8.1
Servicing IRQ Through Vector Interface
10.2.1.8.2
Servicing IRQ Through MMR Interface
10.2.1.8.3
Servicing IRQ Through MMR Interface (Alternative)
10.2.1.8.4
Servicing FIQ
10.2.1.8.5
Servicing FIQ (Alternative)
10.2.2
Other Interrupt Controllers
10.3
Interrupt Routers
10.3.1
INTRTR Overview
10.3.2
INTRTR Integration
10.3.2.1
PRU-ICSS XBAR INTRTR0
10.3.2.2
EDMA XBAR INTRTR0
10.3.2.3
GPIO XBAR INTRTR0
10.4
Interrupt Sources
10.4.1
R5FSS0_CORE0 Interrupt Map
10.4.2
R5FSS0_CORE1 Interrupt Map
10.4.3
R5FSS1_CORE0 Interrupt Map
10.4.4
R5FSS1_CORE1 Interrupt Map
10.4.5
PRU-ICSS Interrupt Map
10.4.6
ESM0 Interrupt Map
11
Data Movement Architecture
11.1
Overview
11.2
Definition of Terms
11.3
Enhanced Direct Memory Access (EDMA)
11.3.1
EDMA Module Overview
11.3.1.1
EDMA Features
11.3.2
EDMA Integration
11.3.2.1
EDMA Integration
11.3.2.2
EDMA Interrupt Aggregator
11.3.2.3
EDMA Error Interrupt Aggregator
11.3.2.4
EDMA Configuration
11.3.3
EDMA Controller Functional Description
11.3.3.1
Block Diagram
11.3.3.1.1
Third-Party Channel Controller
11.3.3.1.2
Third-Party Transfer Controller
11.3.3.2
Types of EDMA Controller Transfers
11.3.3.2.1
A-Synchronized Transfers
11.3.3.2.2
AB-Synchronized Transfers
11.3.3.3
Parameter RAM (PaRAM)
11.3.3.3.1
PaRAM
11.3.3.3.2
EDMA Channel PaRAM Set Entry Fields
11.3.3.3.2.1
Channel Options Parameter (OPT)
11.3.3.3.2.2
Channel Source Address (SRC)
11.3.3.3.2.3
Channel Destination Address (DST)
11.3.3.3.2.4
Count for 1st Dimension (ACNT)
11.3.3.3.2.5
Count for 2nd Dimension (BCNT)
11.3.3.3.2.6
Count for 3rd Dimension (CCNT)
11.3.3.3.2.7
BCNT Reload (BCNTRLD)
11.3.3.3.2.8
Source B Index (SBIDX)
11.3.3.3.2.9
Destination B Index (DBIDX)
11.3.3.3.2.10
Source C Index (SCIDX)
11.3.3.3.2.11
Destination C Index (DCIDX)
11.3.3.3.2.12
Link Address (LINK)
11.3.3.3.3
Null PaRAM Set
11.3.3.3.4
Dummy PaRAM Set
11.3.3.3.5
Dummy Versus Null Transfer Comparison
11.3.3.3.6
Parameter Set Updates
11.3.3.3.7
Linking Transfers
11.3.3.3.8
Constant Addressing Mode Transfers/Alignment Issues
11.3.3.3.9
Element Size
11.3.3.4
Initiating a DMA Transfer
11.3.3.4.1
DMA Channels
11.3.3.4.1.1
Event-Triggered Transfer Request
11.3.3.4.1.2
Manually-Triggered Transfer Request
11.3.3.4.1.3
Chain-Triggered Transfer Request
11.3.3.4.2
QDMA Channels
11.3.3.4.2.1
Auto-Triggered and Link-Triggered Transfer Request
11.3.3.4.3
Comparison Between DMA and QDMA Channels
11.3.3.5
Completion of a DMA Transfer
11.3.3.5.1
Normal Completion
11.3.3.5.2
Early Completion
11.3.3.5.3
Dummy or Null Completion
11.3.3.6
Event, Channel, and PaRAM Mapping
11.3.3.6.1
DMA Channel to PaRAM Mapping
11.3.3.6.2
QDMA Channel to PaRAM Mapping
11.3.3.7
EDMA Channel Controller Regions
11.3.3.7.1
Region Overview
11.3.3.7.2
Channel Controller Regions
11.3.3.7.2.1
Resource Pool Division Across Two Regions
11.3.3.7.3
Region Interrupts
11.3.3.8
Chaining EDMA Channels
11.3.3.9
EDMA Interrupts
11.3.3.9.1
Transfer Completion Interrupts
11.3.3.9.1.1
Enabling Transfer Completion Interrupts
11.3.3.9.1.2
Clearing Transfer Completion Interrupts
11.3.3.9.2
EDMA Interrupt Servicing
11.3.3.9.3
Interrupt Servicing
11.3.3.9.4
1202
11.3.3.9.5
Interrupt Servicing
11.3.3.9.6
Interrupt Evaluation Operations
11.3.3.9.7
Error Interrupts
11.3.3.10
Memory Protection
11.3.3.10.1
Active Memory Protection
11.3.3.10.2
Proxy Memory Protection
11.3.3.11
Event Queue(s)
11.3.3.11.1
DMA/QDMA Channel to Event Queue Mapping
11.3.3.11.2
Queue RAM Debug Visibility
11.3.3.11.3
Queue Resource Tracking
11.3.3.11.4
Performance Considerations
11.3.3.12
EDMA Transfer Controller (EDMA_TPTC)
11.3.3.12.1
Architecture Details
11.3.3.12.1.1
Command Fragmentation
11.3.3.12.1.2
TR Pipelining
11.3.3.12.1.3
Command Fragmentation (DBS = 64)
11.3.3.12.1.4
Performance Tuning
11.3.3.12.2
Memory Protection
11.3.3.12.3
Error Generation
11.3.3.12.4
Debug Features
11.3.3.12.4.1
Destination FIFO Register Pointer
11.3.3.13
Event Dataflow
11.3.3.14
EDMA Controller Prioritization
11.3.3.14.1
Channel Priority
11.3.3.14.2
Trigger Source Priority
11.3.3.14.3
Dequeue Priority
11.3.3.15
Emulation Considerations
11.3.4
EDMA Transfer Examples
11.3.4.1
Block Move Example
11.3.4.2
Subframe Extraction Example
11.3.4.3
Data Sorting Example
11.3.4.4
Setting Up an EDMA Transfer
11.3.5
EDMA Debug Checklist and Programming Tips
11.3.5.1
EDMA Debug Checklist
11.3.5.2
EDMA Programming Tips
11.3.6
EDMA Event Map
12
Time Sync
12.1
Time Sync Architecture
12.1.1
Time Sync Architecture Overview
12.2
Time Sync Routers
12.2.1
Time Sync Routers Overview
12.2.1.1
SOC_TIMESYNC_XBAR0 Overview
12.2.1.2
SOC_TIMESYNC_XBAR1 Overview
12.2.2
Time Sync Routers Integration
12.2.2.1
SOC_TIMESYNC_XBAR0 Integration
12.2.2.2
SOC_TIMESYNC_XBAR1 Integration
12.2.3
Time Sync Routers Registers
12.2.3.1
SOC_TIMESYNC_XBAR0 Registers
12.2.3.2
SOC_TIMESYNC_XBAR1 Registers
12.3
Time Sync and Compare Events
12.3.1
TimeSync Event Sources
12.3.1.1
SOC_TIMESYNC_XBAR0 Event Map
12.3.1.2
SOC_TIMESYNC_XBAR1 Event Map
12.3.1.3
PRU-ICSS Event Map
12.3.1.4
CPSW0_CPTS Event Map
13
Peripherals
13.1
General Connectivity Peripherals
13.1.1
General-Purpose Interface (GPIO)
13.1.1.1
GPIO Overview
13.1.1.2
GPIO Environment
13.1.1.3
GPIO Integration
13.1.1.4
GPIO Functional Description
13.1.1.4.1
GPIO Block Diagram
13.1.1.4.2
GPIO Function
13.1.1.4.3
GPIO Interrupt and Event Generation
13.1.1.4.3.1
Interrupt Enable (per Bank)
13.1.1.4.3.2
Trigger Configuration (per Bit)
13.1.1.4.3.3
Interrupt Status and Clear (per Bit)
13.1.1.4.4
Input Qualification
13.1.1.4.4.1
No Synchronization (Asynchronous Input)
13.1.1.4.4.2
Synchronization to SYSCLK Only
13.1.1.4.4.3
Qualification Using a Sampling Window
13.1.1.4.5
GPIO Interrupt Connectivity
13.1.1.4.6
GPIO Emulation Halt Operation
13.1.2
Inter-Integrated Circuit (I2C) Interface
13.1.2.1
I2C Overview
13.1.2.1.1
I2C Features
13.1.2.1.2
I2C Not Supported Features
13.1.2.2
I2C Environment
13.1.2.2.1
I2C Typical Application
13.1.2.2.1.1
I2C Interface Typical Connections
13.1.2.2.1.2
1284
13.1.2.2.2
I2C Typical Connection Protocol and Data Format
13.1.2.2.2.1
I2C Serial Data Formats
13.1.2.2.2.2
I2C Data Validity
13.1.2.2.2.3
I2C Start and Stop Conditions
13.1.2.2.2.4
I2C Addressing
13.1.2.2.2.4.1
7-Bit Addressing Format
13.1.2.2.2.4.2
10-Bit Addressing Format
13.1.2.2.2.4.3
Using the Repeated START Condition
13.1.2.2.2.4.4
Free Data Format
13.1.2.2.2.5
I2C Controller Transmitter
13.1.2.2.2.6
I2C Controller Receiver
13.1.2.2.2.7
I2C Target Transmitter
13.1.2.2.2.8
I2C Target Receiver
13.1.2.2.2.9
I2C Bus Arbitration
13.1.2.2.2.10
I2C Clock Generation and Synchronization
13.1.2.3
I2C Integration
13.1.2.4
I2C Functional Description
13.1.2.4.1
I2C Block Diagram
13.1.2.4.2
I2C Clocks
13.1.2.4.2.1
I2C Clocking
13.1.2.4.3
I2C Software Reset
13.1.2.4.4
I2C Interrupt Requests
13.1.2.4.5
I2C Noise Filter
13.1.2.5
I2C Programming Guide
13.1.2.5.1
I2C Low-Level Programming Models
13.1.2.5.1.1
I2C Programming Model
13.1.2.5.1.1.1
Main Program
13.1.2.5.1.1.1.1
Module State after Reset
13.1.2.5.1.1.1.2
Initialization Procedure
13.1.2.5.1.1.1.3
Section
13.1.2.5.1.1.1.4
Configure Address Registers
13.1.2.5.1.1.1.5
Initiate a Transfer
13.1.2.5.1.1.1.6
Receive Data
13.1.2.5.1.1.1.7
Transmit Data
13.1.2.5.1.1.2
Interrupt Subroutine Sequence
13.1.3
Multichannel Serial Peripheral Interface (MCSPI)
13.1.3.1
MCSPI Overview
13.1.3.1.1
SPI Features
13.1.3.1.2
SPI Not Supported Features
13.1.3.2
SPI Environment
13.1.3.2.1
MCSPI Protocol and Data Format
13.1.3.2.1.1
Transfer Format
13.1.3.2.2
MCSPI in Controller Mode
13.1.3.2.3
MCSPI in Peripheral Mode
13.1.3.3
SPI Integration
13.1.3.4
MCSPI Functional Description
13.1.3.4.1
SPI Block Diagram
13.1.3.4.2
MCSPI Reset
13.1.3.4.3
MCSPI Controller Mode
13.1.3.4.3.1
Controller Mode Features
13.1.3.4.3.2
Controller Transmit-and-Receive Mode (Full Duplex)
13.1.3.4.3.3
Controller Transmit-Only Mode (Half Duplex)
13.1.3.4.3.4
Controller Receive-Only Mode (Half Duplex)
13.1.3.4.3.5
Single-Channel Controller Mode
13.1.3.4.3.5.1
Programming Tips When Switching to Another Channel
13.1.3.4.3.5.2
Force SPIEN[i] Mode
13.1.3.4.3.5.3
Turbo Mode
13.1.3.4.3.6
Start-Bit Mode
13.1.3.4.3.7
Chip-Select Timing Control
13.1.3.4.3.8
Programmable MCSPI Clock (SPICLK)
13.1.3.4.3.8.1
Clock Ratio Granularity
13.1.3.4.4
MCSPI Peripheral Mode
13.1.3.4.4.1
Dedicated Resources
13.1.3.4.4.2
Peripheral Transmit-and-Receive Mode
13.1.3.4.4.3
Peripheral Transmit-Only Mode
13.1.3.4.4.4
Peripheral Receive-Only Mode
13.1.3.4.5
MCSPI 3-Pin or 4-Pin Mode
13.1.3.4.6
MCSPI FIFO Buffer Management
13.1.3.4.6.1
Buffer Almost Full
13.1.3.4.6.2
Buffer Almost Empty
13.1.3.4.6.3
End of Transfer Management
13.1.3.4.6.4
Multiple MCSPI Word Access
13.1.3.4.6.5
First MCSPI Word Delay
13.1.3.4.7
MCSPI Interrupts
13.1.3.4.7.1
Interrupt Events in Controller Mode
13.1.3.4.7.1.1
TXx_EMPTY
13.1.3.4.7.1.2
TXx_UNDERFLOW
13.1.3.4.7.1.3
RXx_ FULL
13.1.3.4.7.1.4
End Of Word Count
13.1.3.4.7.2
Interrupt Events in Peripheral Mode
13.1.3.4.7.2.1
TXx_EMPTY
13.1.3.4.7.2.2
TXx_UNDERFLOW
13.1.3.4.7.2.3
RXx_FULL
13.1.3.4.7.2.4
RX0_OVERFLOW
13.1.3.4.7.2.5
End Of Word Count
13.1.3.4.7.3
Interrupt-Driven Operation
13.1.3.4.7.4
Polling
13.1.3.4.8
MCSPI DMA Requests
13.1.3.5
MCSPI Programming Guide
13.1.3.5.1
MCSPI Global Initialization
13.1.3.5.1.1
MCSPI Global Initialization
13.1.3.5.1.1.1
Main Sequence – MCSPI Global Initialization
13.1.3.5.2
MCSPI Operational Mode Configuration
13.1.3.5.2.1
MCSPI Operational Modes
13.1.3.5.2.1.1
Common Transfer Sequence
13.1.3.5.2.1.2
End of Transfer Sequences
13.1.3.5.2.1.3
Transmit-and-Receive (Controller and Peripheral)
13.1.3.5.2.1.4
Transmit-Only (Controller and Peripheral)
13.1.3.5.2.1.4.1
Based on Interrupt Requests
13.1.3.5.2.1.4.2
Based on DMA Write Requests
13.1.3.5.2.1.5
Controller Normal Receive-Only
13.1.3.5.2.1.5.1
Based on Interrupt Requests
13.1.3.5.2.1.5.2
Based on DMA Read Requests
13.1.3.5.2.1.6
Controller Turbo Receive-Only
13.1.3.5.2.1.6.1
Based on Interrupt Requests
13.1.3.5.2.1.6.2
Based on DMA Read Requests
13.1.3.5.2.1.7
Peripheral Receive-Only
13.1.3.5.2.1.8
Transfer Procedures With FIFO
13.1.3.5.2.1.8.1
Common Transfer Sequence in FIFO Mode
13.1.3.5.2.1.8.2
End of Transfer Sequences in FIFO Mode
13.1.3.5.2.1.8.3
Transmit-and-Receive With Word Count
13.1.3.5.2.1.8.4
Transmit-and-Receive Without Word Count
13.1.3.5.2.1.8.5
Transmit-Only
13.1.3.5.2.1.8.6
Receive-Only With Word Count
13.1.3.5.2.1.8.7
Receive-Only Without Word Count
13.1.3.5.2.1.9
Common Transfer Procedures Without FIFO – Polling Method
13.1.3.5.2.1.9.1
Receive-Only Procedure – Polling Method
13.1.3.5.2.1.9.2
Receive-Only Procedure – Interrupt Method
13.1.3.5.2.1.9.3
Transmit-Only Procedure – Polling Method
13.1.3.5.2.1.9.4
Transmit-and-Receive Procedure – Polling Method
13.1.3.5.3
Common Transfer Procedures Without FIFO – Polling Method
13.1.3.5.3.1
Receive-Only Procedure – Polling Method
13.1.3.5.3.2
Receive-Only Procedure – Interrupt Method
13.1.3.5.3.3
Transmit-Only Procedure – Polling Method
13.1.3.5.3.4
Transmit-and-Receive Procedure – Polling Method
13.1.4
Universal Asynchronous Receiver/Transmitter (UART)
13.1.4.1
UART Overview
13.1.4.1.1
UART Features
13.1.4.1.2
IrDA Features
13.1.4.1.3
CIR Features
13.1.4.1.4
ISO 7816 (Smartcard) Functions
13.1.4.2
UART Environment
13.1.4.2.1
UART Functional Interfaces
13.1.4.2.1.1
System Using UART Communication With Hardware Handshake
13.1.4.2.1.2
UART Interface Description
13.1.4.2.1.3
UART Protocol and Data Format
13.1.4.2.2
RS-485 Functional Interfaces
13.1.4.2.2.1
System Using RS-485 Communication
13.1.4.2.2.2
RS-485 Interface Description
13.1.4.2.3
IrDA Functional Interfaces
13.1.4.2.3.1
System Using IrDA Communication Protocol
13.1.4.2.3.2
IrDA Interface Description
13.1.4.2.3.3
IrDA Protocol and Data Format
13.1.4.2.3.3.1
SIR Mode
13.1.4.2.3.3.1.1
Frame Format
13.1.4.2.3.3.1.2
Asynchronous Transparency
13.1.4.2.3.3.1.3
Abort Sequence
13.1.4.2.3.3.1.4
Pulse Shaping
13.1.4.2.3.3.1.5
Encoder
13.1.4.2.3.3.1.6
Decoder
13.1.4.2.3.3.1.7
IR Address Checking
13.1.4.2.3.3.2
SIR Free-Format Mode
13.1.4.2.3.3.3
MIR Mode
13.1.4.2.3.3.3.1
MIR Encoder/Decoder
13.1.4.2.3.3.3.2
SIP Generation
13.1.4.2.3.3.4
FIR Mode
13.1.4.2.4
CIR Functional Interfaces
13.1.4.2.4.1
System Using CIR Communication Protocol With Remote Control
13.1.4.2.4.2
CIR Interface Description
13.1.4.2.4.3
CIR Protocol and Data Format
13.1.4.2.4.3.1
Carrier Modulation
13.1.4.2.4.3.2
Pulse Duty Cycle
13.1.4.2.4.3.3
Consumer IR Encoding/Decoding
13.1.4.3
UART Integration
13.1.4.4
UART Functional Description
13.1.4.4.1
UART Block Diagram
13.1.4.4.2
UART Clock Configuration
13.1.4.4.3
UART Software Reset
13.1.4.4.3.1
Independent TX/RX
13.1.4.4.4
UART Power Management
13.1.4.4.4.1
UART Mode Power Management
13.1.4.4.4.1.1
Module Power Saving
13.1.4.4.4.1.2
System Power Saving
13.1.4.4.4.2
IrDA Mode Power Management
13.1.4.4.4.2.1
Module Power Saving
13.1.4.4.4.2.2
System Power Saving
13.1.4.4.4.3
CIR Mode Power Management
13.1.4.4.4.3.1
Module Power Saving
13.1.4.4.4.3.2
System Power Saving
13.1.4.4.4.4
Local Power Management
13.1.4.4.5
UART Interrupt Requests
13.1.4.4.5.1
UART Mode Interrupt Management
13.1.4.4.5.1.1
UART Interrupts
13.1.4.4.5.1.2
Wake-Up Interrupt
13.1.4.4.5.2
IrDA Mode Interrupt Management
13.1.4.4.5.2.1
IrDA Interrupts
13.1.4.4.5.2.2
Wake-Up Interrupts
13.1.4.4.5.3
CIR Mode Interrupt Management
13.1.4.4.5.3.1
CIR Interrupts
13.1.4.4.5.3.2
Wake-Up Interrupts
13.1.4.4.6
UART FIFO Management
13.1.4.4.6.1
FIFO Trigger
13.1.4.4.6.1.1
Transmit FIFO Trigger
13.1.4.4.6.1.2
Receive FIFO Trigger
13.1.4.4.6.2
FIFO Interrupt Mode
13.1.4.4.6.3
FIFO Polled Mode Operation
13.1.4.4.6.4
FIFO DMA Mode Operation
13.1.4.4.6.4.1
DMA sequence to disable TX DMA
13.1.4.4.6.4.2
DMA Transfers (DMA Mode 1, 2, or 3)
13.1.4.4.6.4.3
DMA Transmission
13.1.4.4.6.4.4
DMA Reception
13.1.4.4.7
UART Mode Selection
13.1.4.4.7.1
Register Access Modes
13.1.4.4.7.1.1
Operational Mode and Configuration Modes
13.1.4.4.7.1.2
Register Access Submode
13.1.4.4.7.1.3
Registers Available for the Register Access Modes
13.1.4.4.7.2
UART/RS-485/IrDA (SIR, MIR, FIR)/CIR Mode Selection
13.1.4.4.7.2.1
Registers Available for the UART Function
13.1.4.4.7.2.2
Registers Available for the IrDA Function
13.1.4.4.7.2.3
Registers Available for the CIR Function
13.1.4.4.8
UART Protocol Formatting
13.1.4.4.8.1
UART Mode
13.1.4.4.8.1.1
UART Clock Generation: Baud Rate Generation
13.1.4.4.8.1.2
Choosing the Appropriate Divisor Value
13.1.4.4.8.1.3
Multi-drop Parity Mode with Address Match
13.1.4.4.8.1.4
Time-guard
13.1.4.4.8.1.5
UART Data Formatting
13.1.4.4.8.1.5.1
Frame Formatting
13.1.4.4.8.1.5.2
Hardware Flow Control
13.1.4.4.8.1.5.3
Software Flow Control
1.4.4.8.1.5.3.1
Receive (RX)
1.4.4.8.1.5.3.2
Transmit (TX)
13.1.4.4.8.1.5.4
Autobauding Modes
13.1.4.4.8.1.5.5
Error Detection
13.1.4.4.8.1.5.6
Overrun During Receive
13.1.4.4.8.1.5.7
Time-Out and Break Conditions
1.4.4.8.1.5.7.1
Time-Out Counter
1.4.4.8.1.5.7.2
Break Condition
13.1.4.4.8.2
RS-485 Mode
13.1.4.4.8.2.1
RS-485 External Transceiver Direction Control
13.1.4.4.8.3
IrDA Mode
13.1.4.4.8.3.1
IrDA Clock Generation: Baud Generator
13.1.4.4.8.3.2
Choosing the Appropriate Divisor Value
13.1.4.4.8.3.3
IrDA Data Formatting
13.1.4.4.8.3.3.1
IR RX Polarity Control
13.1.4.4.8.3.3.2
IrDA Reception Control
13.1.4.4.8.3.3.3
IR Address Checking
13.1.4.4.8.3.3.4
Frame Closing
13.1.4.4.8.3.3.5
Store and Controlled Transmission
13.1.4.4.8.3.3.6
Error Detection
13.1.4.4.8.3.3.7
Underrun During Transmission
13.1.4.4.8.3.3.8
Overrun During Receive
13.1.4.4.8.3.3.9
Status FIFO
13.1.4.4.8.3.4
SIR Mode Data Formatting
13.1.4.4.8.3.4.1
Abort Sequence
13.1.4.4.8.3.4.2
Pulse Shaping
13.1.4.4.8.3.4.3
SIR Free Format Programming
13.1.4.4.8.3.5
MIR and FIR Mode Data Formatting
13.1.4.4.8.4
CIR Mode
13.1.4.4.8.4.1
CIR Mode Clock Generation
13.1.4.4.8.4.2
CIR Data Formatting
13.1.4.4.8.4.2.1
IR RX Polarity Control
13.1.4.4.8.4.2.2
CIR Transmission
13.1.4.4.8.4.2.3
CIR Reception
13.1.4.5
UART Programming Guide
13.1.4.5.1
UART Global Initialization
13.1.4.5.1.1
Surrounding Modules Global Initialization
13.1.4.5.1.2
UART Module Global Initialization
13.1.4.5.2
UART Mode selection
13.1.4.5.3
UART Submode selection
13.1.4.5.4
UART Load FIFO trigger and DMA mode settings
13.1.4.5.4.1
DMA mode Settings
13.1.4.5.4.2
FIFO Trigger Settings
13.1.4.5.5
UART Protocol, Baud rate and interrupt settings
13.1.4.5.5.1
Baud rate settings
13.1.4.5.5.2
Interrupt settings
13.1.4.5.5.3
Protocol settings
13.1.4.5.5.4
UART/RS-485/IrDA(SIR/MIR/FIR)/CIR
13.1.4.5.5.5
UART Multi-drop Parity Address Match Mode Configuration
13.1.4.5.6
UART Hardware and Software Flow Control Configuration
13.1.4.5.6.1
Hardware Flow Control Configuration
13.1.4.5.6.2
Software Flow Control Configuration
13.1.4.5.7
IrDA Programming Model
13.1.4.5.7.1
SIR mode
13.1.4.5.7.1.1
Receive
13.1.4.5.7.1.2
Transmit
13.1.4.5.7.2
MIR mode
13.1.4.5.7.2.1
Receive
13.1.4.5.7.2.2
Transmit
13.1.4.5.7.3
FIR mode
13.1.4.5.7.3.1
Receive
13.1.4.5.7.3.2
Transmit
13.2
High-speed Serial Interfaces
13.2.1
Gigabit Ethernet Switch (CPSW)
13.2.1.1
CPSW0 Overview
13.2.1.1.1
CPSW0 Features
13.2.1.1.2
CPSW0 Not Supported Features
13.2.1.1.3
CPSW Terminology
13.2.1.2
CPSW0 Environment
13.2.1.2.1
CPSW0 MII Interface
13.2.1.2.2
CPSW0 RMII Interface
13.2.1.2.3
CPSW0 RGMII Interface
13.2.1.3
CPSW Integration
13.2.1.4
CPSW0 Functional Description
13.2.1.4.1
Functional Block Diagram
13.2.1.4.2
CPSW Ports
13.2.1.4.2.1
Interface Mode Selection
13.2.1.4.3
Clocking
13.2.1.4.3.1
Subsystem Clocking
13.2.1.4.3.2
Interface Clocking
13.2.1.4.3.2.1
RGMII Interface Clocking
13.2.1.4.3.2.2
RMII Interface Clocking
13.2.1.4.3.2.3
MDIO Clocking
13.2.1.4.4
Software IDLE
13.2.1.4.5
Interrupt Functionality
13.2.1.4.6
CPSW
13.2.1.4.6.1
Address Lookup Engine (ALE)
13.2.1.4.6.1.1
Error Handling
13.2.1.4.6.1.2
Bypass Operations
13.2.1.4.6.1.3
OUI Deny or Accept
13.2.1.4.6.1.4
Statistics Counting
13.2.1.4.6.1.5
Automotive Security Features
13.2.1.4.6.1.6
CPSW Switching Solutions
13.2.1.4.6.1.6.1
Basics of 3-port Switch Type
13.2.1.4.6.1.7
VLAN Routing and OAM Operations
13.2.1.4.6.1.7.1
InterVLAN Routing
13.2.1.4.6.1.7.2
OAM Operations
13.2.1.4.6.1.8
Supervisory packets
13.2.1.4.6.1.9
Address Table Entry
13.2.1.4.6.1.9.1
Free Table Entry
13.2.1.4.6.1.9.2
OUI Unicast Address Table Entry
13.2.1.4.6.1.9.3
Unicast Address Table Entry (Bit 40 == 0)
13.2.1.4.6.1.9.4
Multicast Address Table Entry (Bit 40==1)
13.2.1.4.6.1.9.5
VLAN/Unicast Address Table Entry (Bit 40 == 0)
13.2.1.4.6.1.9.6
VLAN/Multicast Address Table Entry (Bit 40==1)
13.2.1.4.6.1.9.7
Inner VLAN Table Entry
13.2.1.4.6.1.9.8
Outer VLAN Table Entry
13.2.1.4.6.1.9.9
EtherType Table Entry
13.2.1.4.6.1.9.10
IPv4 Table Entry
13.2.1.4.6.1.9.11
IPv6 Table Entry High
13.2.1.4.6.1.9.12
IPv6 Table Entry Low
13.2.1.4.6.1.10
Multicast Address
13.2.1.4.6.1.10.1
Multicast Ranges
13.2.1.4.6.1.11
Aging and Auto Aging
13.2.1.4.6.1.12
ALE Policing and Classification
13.2.1.4.6.1.12.1
ALE Policing
13.2.1.4.6.1.12.2
Classifier to Host Thread Mapping
13.2.1.4.6.1.12.3
ALE Classification
13.2.1.4.6.1.13
Mirroring
13.2.1.4.6.1.14
Trunking
13.2.1.4.6.1.15
DSCP
13.2.1.4.6.1.16
Packet Forwarding Processes
13.2.1.4.6.1.16.1
Ingress Filtering Process
13.2.1.4.6.1.16.2
VLAN Lookup Process
13.2.1.4.6.1.16.3
Egress Process
13.2.1.4.6.1.16.4
Learning/Updating/Touching Processes
2.1.4.6.1.16.4.1
Learning Process
2.1.4.6.1.16.4.2
Updating Process
2.1.4.6.1.16.4.3
Touching Process
13.2.1.4.6.1.17
VLAN Aware Mode
13.2.1.4.6.1.18
VLAN Unaware Mode
13.2.1.4.6.1.19
Transmit VLAN Processing
13.2.1.4.6.1.19.1
Untagged Packets (No VLAN or Priority Tag Header)
13.2.1.4.6.1.19.2
Priority Tagged Packets (VLAN VID == 0 && EN_VID0_MODE ==0h)
13.2.1.4.6.1.19.3
VLAN Tagged Packets (VLAN VID != 0 || (EN_VID0_MODE ==1h && VLAN VID ==0))
13.2.1.4.6.2
Packet Priority Handling
13.2.1.4.6.2.1
Ethernet Port Receive
13.2.1.4.6.2.2
CPDMA Port Receive
13.2.1.4.6.2.3
CPDMA Port Transmit
13.2.1.4.6.2.4
Priority Mapping and Transmit VLAN Priority
13.2.1.4.6.3
CPPI Port Ingress
13.2.1.4.6.4
Packet CRC Handling
13.2.1.4.6.4.1
Ethernet Port Ingress Packet CRC
13.2.1.4.6.4.2
Ethernet Port Egress Packet CRC
13.2.1.4.6.4.3
CPPI Port Ingress Packet CRC
13.2.1.4.6.4.4
CPPI Port Egress Packet CRC
13.2.1.4.6.5
FIFO Memory Control
13.2.1.4.6.6
FIFO Transmit Queue Control
13.2.1.4.6.7
Rate Limiting (Traffic Shaping)
13.2.1.4.6.7.1
CPPI Port Receive Rate Limiting
13.2.1.4.6.7.2
Ethernet Port Transmit Rate Limiting
13.2.1.4.6.8
Enhanced Scheduled Traffic (EST – P802.1Qbv/D2.2)
13.2.1.4.6.8.1
Enhanced Scheduled Traffic Overview
13.2.1.4.6.8.2
Enhanced Scheduled Traffic Fetch RAM
13.2.1.4.6.8.3
Enhanced Scheduled Traffic Time Interval
13.2.1.4.6.8.4
Enhanced Scheduled Traffic Fetch Values
13.2.1.4.6.8.5
Enhanced Scheduled Traffic Packet Fill
13.2.1.4.6.8.6
Enhanced Scheduled Traffic Time Stamp
13.2.1.4.6.9
Audio Video Bridging
13.2.1.4.6.9.1
IEEE 802.1AS: Timing and Synchronization for Time-Sensitive Applications in Bridged Local Area Networks (Precision Time Protocol (PTP))
13.2.1.4.6.9.1.1
IEEE 1722: "Layer 2 Transport Protocol for Time-Sensitive Streams"
2.1.4.6.9.1.1.1
Cross-timestamping and Presentation Timestamps
13.2.1.4.6.9.1.2
IEEE 1733: Extends RTCP for RTP Streaming over AVB-supported Networks
13.2.1.4.6.9.2
IEEE 802.1Qav: "Virtual Bridged Local Area Networks: Forwarding and Queuing for Time-Sensitive Streams"
13.2.1.4.6.9.2.1
Configuring the Device for 802.1Qav Operation
13.2.1.4.6.10
Ethernet MAC Sliver
13.2.1.4.6.10.1
Ethernet MAC Sliver Overview
13.2.1.4.6.10.1.1
CRC Insertion
13.2.1.4.6.10.1.2
MTXER
13.2.1.4.6.10.1.3
Adaptive Performance Optimization (APO)
13.2.1.4.6.10.1.4
Inter-Packet-Gap Enforcement
13.2.1.4.6.10.1.5
Back Off
13.2.1.4.6.10.1.6
Programmable Transmit Inter-Packet Gap
13.2.1.4.6.10.1.7
Speed, Duplex and Pause Frame Support Negotiation
13.2.1.4.6.10.2
RMII Interface
13.2.1.4.6.10.2.1
Features
13.2.1.4.6.10.2.2
RMII Receive (RX)
13.2.1.4.6.10.2.3
RMII Transmit (TX)
13.2.1.4.6.10.3
RGMII Interface
13.2.1.4.6.10.3.1
Features
13.2.1.4.6.10.3.2
RGMII Receive (RX)
13.2.1.4.6.10.3.3
In-Band Mode of Operation
13.2.1.4.6.10.3.4
Forced Mode of Operation
13.2.1.4.6.10.3.5
RGMII Transmit (TX)
13.2.1.4.6.10.4
Frame Classification
13.2.1.4.6.10.5
Receive FIFO Architecture
13.2.1.4.6.11
Embedded Memories
13.2.1.4.6.12
Memory Error Detection and Correction
13.2.1.4.6.12.1
Packet Header ECC
13.2.1.4.6.12.2
Packet Protect CRC
13.2.1.4.6.12.3
Aggregator RAM Control
13.2.1.4.6.13
Ethernet Port Flow Control
13.2.1.4.6.13.1
Ethernet Receive Flow Control
13.2.1.4.6.13.1.1
Collision Based Receive Buffer Flow Control
13.2.1.4.6.13.1.2
IEEE 802.3X Based Receive Flow Control
13.2.1.4.6.13.2
Flow Control Trigger
13.2.1.4.6.13.3
Ethernet Transmit Flow Control
13.2.1.4.6.14
Energy Efficient Ethernet Support (802.3az)
13.2.1.4.6.15
Ethernet Switch Latency
13.2.1.4.6.16
MAC Emulation Control
13.2.1.4.6.17
MAC Command IDLE
13.2.1.4.6.18
CPSW Network Statistics
13.2.1.4.6.18.1
Rx-only Statistics Descriptions
13.2.1.4.6.18.1.1
Good Rx Frames (Offset = 3A000h)
13.2.1.4.6.18.1.2
Broadcast Rx Frames (Offset = 3A004h)
13.2.1.4.6.18.1.3
Multicast Rx Frames (Offset = 3A008h)
13.2.1.4.6.18.1.4
Pause Rx Frames (Offset = 3A00Ch)
13.2.1.4.6.18.1.5
Rx CRC Errors (Offset = 3A010h)
13.2.1.4.6.18.1.6
Rx Align/Code Errors (Offset = 3A014h)
13.2.1.4.6.18.1.7
Oversize Rx Frames (Offset = 3A018h)
13.2.1.4.6.18.1.8
Rx Jabbers (Offset = 3A01Ch)
13.2.1.4.6.18.1.9
Undersize (Short) Rx Frames (Offset = 3A020h)
13.2.1.4.6.18.1.10
Rx Fragments (Offset = 3A024h)
13.2.1.4.6.18.1.11
RX IPG Error (Offset = 3A05Ch)
13.2.1.4.6.18.1.12
ALE Drop (Offset = 3A028h)
13.2.1.4.6.18.1.13
ALE Overrun Drop (Offset = 3A02Ch)
13.2.1.4.6.18.1.14
Rx Octets (Offset = 3A030h)
13.2.1.4.6.18.1.15
Rx Bottom of FIFO Drop (Offset = 3A084h)
13.2.1.4.6.18.1.16
Portmask Drop (Offset = 3A088h)
13.2.1.4.6.18.1.17
Rx Top of FIFO Drop (Offset = 3A08Ch)
13.2.1.4.6.18.1.18
ALE Rate Limit Drop (Offset = 3A090h)
13.2.1.4.6.18.1.19
ALE VLAN Ingress Check Drop (Offset = 3A094h)
2.1.4.6.18.1.19.1
ALE DA=SA Drop (Offset = 3A098h)
2.1.4.6.18.1.19.2
Block Address Drop (Offset = 3A09Ch)
2.1.4.6.18.1.19.3
ALE Secure Drop (Offset = 3A0A0h)
2.1.4.6.18.1.19.4
ALE Authentication Drop (Offset = 3A0A4h)
2.1.4.6.18.1.19.5
ALE Unknown Unicast (Offset = 3A0A8h)
2.1.4.6.18.1.19.6
ALE Unknown Unicast Bytecount (Offset = 3A0ACh)
2.1.4.6.18.1.19.7
ALE Unknown Multicast (Offset = 3A0B0h)
2.1.4.6.18.1.19.8
ALE Unknown Multicast Bytecount (Offset = 3A0B4h)
2.1.4.6.18.1.19.9
ALE Unknown Broadcast (Offset = 3A0B8h)
2.1.4.6.18.1.19.10
ALE Unknown Broadcast Bytecount (Offset = 3A0BCh)
2.1.4.6.18.1.19.11
ALE Policer Match (Offset = 3A0C0h)
2.1.4.6.18.1.19.12
ALE Policer Match Red (Offset = 3A0C4h)
2.1.4.6.18.1.19.13
ALE Policer Match Yellow (Offset = 3A0C8h)
13.2.1.4.6.18.2
Tx-only Statistics Descriptions
13.2.1.4.6.18.2.1
Good Tx Frames (Offset = 3A034h)
13.2.1.4.6.18.2.2
Broadcast Tx Frames (Offset = 3A038h)
13.2.1.4.6.18.2.3
Multicast Tx Frames (Offset = 3A03Ch)
13.2.1.4.6.18.2.4
Pause Tx Frames (Offset = 3A040h)
13.2.1.4.6.18.2.5
Deferred Tx Frames (Offset = 3A044h)
13.2.1.4.6.18.2.6
Collisions (Offset = 3A048h)
13.2.1.4.6.18.2.7
Single Collision Tx Frames (Offset = 3A04Ch)
13.2.1.4.6.18.2.8
Multiple Collision Tx Frames (Offset = 3A050h)
13.2.1.4.6.18.2.9
Excessive Collisions (Offset = 3A054h)
13.2.1.4.6.18.2.10
Late Collisions (Offset = 3A058h)
13.2.1.4.6.18.2.11
Carrier Sense Errors (Offset = 3A060h)
13.2.1.4.6.18.2.12
Tx Octets (Offset = 3A064h)
13.2.1.4.6.18.2.13
Transmit Priority 0-7 (Offset = 3A180h to 3A1A8h)
13.2.1.4.6.18.2.14
Transmit Priority 0-7 Drop (Offset = 3A1C0h to 3A1E8)
13.2.1.4.6.18.2.15
Tx Memory Protect Errors (Offset = 3A17Ch)
13.2.1.4.6.18.2.16
Tx CRC Errors
13.2.1.4.6.18.3
Rx- and Tx (Shared) Statistics Descriptions
13.2.1.4.6.18.3.1
Rx + Tx 64 Octet Frames (Offset = 3A068h)
13.2.1.4.6.18.3.2
Rx + Tx 65–127 Octet Frames (Offset = 3A06Ch)
13.2.1.4.6.18.3.3
Rx + Tx 128–255 Octet Frames (Offset = 3A070h)
13.2.1.4.6.18.3.4
Rx + Tx 256–511 Octet Frames (Offset = 3A074h)
13.2.1.4.6.18.3.5
Rx + Tx 512–1023 Octet Frames (Offset = 3A078h)
13.2.1.4.6.18.3.6
Rx + Tx 1024_Up Octet Frames (Offset = 3A07Ch)
13.2.1.4.6.18.3.7
Net Octets (Offset = 3A080h)
13.2.1.4.6.18.4
1765
13.2.1.4.7
Common Platform Time Sync (CPTS)
13.2.1.4.7.1
CPTS Architecture
13.2.1.4.7.2
CPTS Initialization
13.2.1.4.7.3
32-bit Time Stamp Value
13.2.1.4.7.4
64-bit Time Stamp Value
13.2.1.4.7.5
64-Bit Timestamp Nudge
13.2.1.4.7.6
64-bit Timestamp PPM
13.2.1.4.7.7
Event FIFO
13.2.1.4.7.8
Timestamp Compare Output
13.2.1.4.7.8.1
Non-Toggle Mode: 32-bit
13.2.1.4.7.8.2
Non-Toggle Mode: 64-bit
13.2.1.4.7.8.3
Toggle Mode: 32-bit
13.2.1.4.7.8.4
Toggle Mode: 64-bit
13.2.1.4.7.9
Timestamp Sync Output
13.2.1.4.7.10
Timestamp GENFn Output
13.2.1.4.7.10.1
GENFn Nudge
13.2.1.4.7.10.2
GENFn PPM
13.2.1.4.7.11
Timestamp ESTFn
13.2.1.4.7.12
Time Sync Events
13.2.1.4.7.12.1
Time Stamp Push Event
13.2.1.4.7.12.2
Time Stamp Counter Rollover Event (32-bit mode only)
13.2.1.4.7.12.3
Time Stamp Counter Half-rollover Event (32-bit mode only)
13.2.1.4.7.12.4
Hardware Time Stamp Push Event
13.2.1.4.7.12.5
Ethernet Port Events
13.2.1.4.7.12.5.1
Ethernet Port Receive Event
13.2.1.4.7.12.5.2
Ethernet Port Transmit Event
13.2.1.4.7.12.5.3
1792
13.2.1.4.7.13
Timestamp Compare Event
13.2.1.4.7.13.1
32-Bit Mode
13.2.1.4.7.13.2
64-Bit Mode
13.2.1.4.7.14
Host Transmit Event
13.2.1.4.7.15
CPTS Interrupt Handling
13.2.1.4.8
CPDMA Host Interface
13.2.1.4.8.1
Functional Operation
13.2.1.4.8.2
Transmit CPDMA Interface
13.2.1.4.8.2.1
Transmit CPDMA Host Configuration
13.2.1.4.8.2.2
Transmit CPDMA Buffer Descriptors
13.2.1.4.8.2.3
Transmit Channel Teardown
13.2.1.4.8.3
Receive CPDMA Interface
13.2.1.4.8.3.1
Receive CPDMA Host Configuration
13.2.1.4.8.3.2
Receive DMA Host Configuration
13.2.1.4.8.3.3
Receive Channel Teardown
13.2.1.4.8.3.4
Receive CPDMA Hardware Controlled Packet Transmission
13.2.1.4.8.4
VLAN Aware Mode
13.2.1.4.8.5
VLAN Unaware Mode
13.2.1.4.8.6
CPDMA Big Endian Mode
13.2.1.4.8.7
CPDMA Command IDLE
13.2.1.4.8.8
CPDMA CPPI 3.0 Interface Bandwidth
13.2.1.4.9
CPPI Checksum Offload
13.2.1.4.9.1
CPPI Transmit Checksum Offload
13.2.1.4.9.1.1
IPV4 UDP
13.2.1.4.9.1.2
IPV4 TCP
13.2.1.4.9.1.3
IPV6 UDP
13.2.1.4.9.1.4
IPV6 TCP
13.2.1.4.9.1.5
Transmit Checksum Encapsulation Word
13.2.1.4.9.2
CPPI Receive Checksum Offload
13.2.1.4.9.2.1
Receive Checksum Encapsulation Word
13.2.1.4.10
Egress Packet Operations
13.2.1.4.11
MII Management Interface (MDIO)
13.2.1.4.11.1
MDIO Frame Formats
13.2.1.4.11.2
MDIO Functional Description
13.2.1.5
CPSW0 Programming Guide
13.2.1.5.1
Initialization and Configuration of CPSW Subsystem
13.2.1.5.2
Transmit Operation
13.2.1.5.3
Receive Operation
13.2.1.5.4
CPSW Reset
13.2.1.5.5
MDIO Software Interface
13.2.1.5.5.1
Initializing the MDIO Module
13.2.1.5.5.2
Writing Data To a PHY Register
13.2.1.5.5.3
Reading Data From a PHY Register
13.3
Memory Interfaces
13.3.1
General-Purpose Memory Controller (GPMC)
13.3.1.1
GPMC Overview
13.3.1.1.1
GPMC Features
13.3.1.1.2
GPMC Not Supported Features
13.3.1.2
GPMC Environment
13.3.1.2.1
GPMC Modes
13.3.1.2.2
GPMC I/O Signals
13.3.1.3
GPMC Integration
13.3.1.4
GPMC Functional Description
13.3.1.4.1
GPMC Block Diagram
13.3.1.4.2
GPMC Clock Configuration
13.3.1.4.3
GPMC Power Management
13.3.1.4.4
GPMC Interrupt Requests
13.3.1.4.5
GPMC Interconnect Port Interface
13.3.1.4.6
GPMC Address and Data Bus
13.3.1.4.6.1
GPMC I/O Configuration Setting
13.3.1.4.7
GPMC Address Decoder and Chip-Select Configuration
13.3.1.4.7.1
Chip-Select Base Address and Region Size
13.3.1.4.7.2
Access Protocol
13.3.1.4.7.2.1
Supported Devices
13.3.1.4.7.2.2
Access Size Adaptation and Device Width
13.3.1.4.7.2.3
Address/Data-Multiplexing Interface
13.3.1.4.7.3
External Signals
13.3.1.4.7.3.1
WAIT Pin Monitoring Control
13.3.1.4.7.3.1.1
Wait Monitoring During Asynchronous Read Access
13.3.1.4.7.3.1.2
Wait Monitoring During Asynchronous Write Access
13.3.1.4.7.3.1.3
Wait Monitoring During Synchronous Read Access
13.3.1.4.7.3.1.4
Wait Monitoring During Synchronous Write Access
13.3.1.4.7.3.1.5
Wait With NAND Device
13.3.1.4.7.3.1.6
Idle Cycle Control Between Successive Accesses
3.1.4.7.3.1.6.1
Bus Turnaround (BUSTURNAROUND)
3.1.4.7.3.1.6.2
Idle Cycles Between Accesses to Same Chip-Select (CYCLE2CYCLESAMECSEN, CYCLE2CYCLEDELAY)
3.1.4.7.3.1.6.3
Idle Cycles Between Accesses to Different Chip-Select (CYCLE2CYCLEDIFFCSEN, CYCLE2CYCLEDELAY)
13.3.1.4.7.3.1.7
Slow Device Support (TIMEPARAGRANULARITY Parameter)
13.3.1.4.7.3.2
DIR Pin
13.3.1.4.7.3.3
Reset
13.3.1.4.7.3.4
Write Protect Signal (nWP)
13.3.1.4.7.3.5
Byte Enable (nBE1/nBE0)
13.3.1.4.7.4
Error Handling
13.3.1.4.8
GPMC Timing Setting
13.3.1.4.8.1
Read Cycle Time and Write Cycle Time (RDCYCLETIME / WRCYCLETIME)
13.3.1.4.8.2
nCS: Chip-Select Signal Control Assertion/Deassertion Time (CSONTIME / CSRDOFFTIME / CSWROFFTIME / CSEXTRADELAY)
13.3.1.4.8.3
nADV/ALE: Address Valid/Address Latch Enable Signal Control Assertion/Deassertion Time (ADVONTIME / ADVRDOFFTIME / ADVWROFFTIME / ADVEXTRADELAY/ADVAADMUXONTIME/ADVAADMUXRDOFFTIME/ADVAADMUXWROFFTIME)
13.3.1.4.8.4
nOE/nRE: Output Enable/Read Enable Signal Control Assertion/Deassertion Time (OEONTIME / OEOFFTIME / OEEXTRADELAY / OEAADMUXONTIME / OEAADMUXOFFTIME)
13.3.1.4.8.5
nWE: Write Enable Signal Control Assertion/Deassertion Time (WEONTIME / WEOFFTIME / WEEXTRADELAY)
13.3.1.4.8.6
GPMC_CLKOUT
13.3.1.4.8.7
GPMC Output Clock and Control Signals Setup and Hold
13.3.1.4.8.8
Access Time (RDACCESSTIME / WRACCESSTIME)
13.3.1.4.8.8.1
Access Time on Read Access
13.3.1.4.8.8.2
Access Time on Write Access
13.3.1.4.8.9
Page Burst Access Time (PAGEBURSTACCESSTIME)
13.3.1.4.8.9.1
Page Burst Access Time on Read Access
13.3.1.4.8.9.2
Page Burst Access Time on Write Access
13.3.1.4.8.10
Bus Keeping Support
13.3.1.4.9
GPMC NOR Access Description
13.3.1.4.9.1
Asynchronous Access Description
13.3.1.4.9.1.1
Access on Address/Data Multiplexed Devices
13.3.1.4.9.1.1.1
Asynchronous Single-Read Operation on an Address/Data Multiplexed Device
13.3.1.4.9.1.1.2
Asynchronous Single-Write Operation on an Address/Data-Multiplexed Device
13.3.1.4.9.1.1.3
Asynchronous Multiple (Page) Write Operation on an Address/Data-Multiplexed Device
13.3.1.4.9.1.2
Access on Address/Address/Data-Multiplexed Devices
13.3.1.4.9.1.2.1
Asynchronous Single Read Operation on an AAD-Multiplexed Device
13.3.1.4.9.1.2.2
Asynchronous Single-Write Operation on an AAD-Multiplexed Device
13.3.1.4.9.1.2.3
Asynchronous Multiple (Page) Read Operation on an AAD-Multiplexed Device
13.3.1.4.9.2
Synchronous Access Description
13.3.1.4.9.2.1
Synchronous Single Read
13.3.1.4.9.2.2
Synchronous Multiple (Burst) Read (4-, 8-, 16-Word16 Burst With Wraparound Capability)
13.3.1.4.9.2.3
Synchronous Single Write
13.3.1.4.9.2.4
Synchronous Multiple (Burst) Write
13.3.1.4.9.3
Asynchronous and Synchronous Accesses in non-multiplexed Mode
13.3.1.4.9.3.1
Asynchronous Single-Read Operation on non-multiplexed Device
13.3.1.4.9.3.2
Asynchronous Single-Write Operation on non-multiplexed Device
13.3.1.4.9.3.3
Asynchronous Multiple (Page Mode) Read Operation on non-multiplexed Device
13.3.1.4.9.3.4
Synchronous Operations on a non-multiplexed Device
13.3.1.4.9.4
Page and Burst Support
13.3.1.4.9.5
System Burst vs External Device Burst Support
13.3.1.4.10
GPMC pSRAM Access Specificities
13.3.1.4.11
GPMC NAND Access Description
13.3.1.4.11.1
NAND Memory Device in Byte or 16-bit Word Stream Mode
13.3.1.4.11.1.1
Chip-Select Configuration for NAND Interfacing in Byte or Word Stream Mode
13.3.1.4.11.1.2
NAND Device Command and Address Phase Control
13.3.1.4.11.1.3
Command Latch Cycle
13.3.1.4.11.1.4
Address Latch Cycle
13.3.1.4.11.1.5
NAND Device Data Read and Write Phase Control in Stream Mode
13.3.1.4.11.1.6
NAND Device General Chip-Select Timing Control Requirement
13.3.1.4.11.1.7
Read and Write Access Size Adaptation
13.3.1.4.11.1.7.1
8-Bit-Wide NAND Device
13.3.1.4.11.1.7.2
16-Bit-Wide NAND Device
13.3.1.4.11.2
NAND Device-Ready Pin
13.3.1.4.11.2.1
Ready Pin Monitored by Software Polling
13.3.1.4.11.2.2
Ready Pin Monitored by Hardware Interrupt
13.3.1.4.11.3
ECC Calculator
13.3.1.4.11.3.1
Hamming Code
13.3.1.4.11.3.1.1
ECC Result Register and ECC Computation Accumulation Size
13.3.1.4.11.3.1.2
ECC Enabling
13.3.1.4.11.3.1.3
ECC Computation
13.3.1.4.11.3.1.4
ECC Comparison and Correction
13.3.1.4.11.3.1.5
ECC Calculation Based on 8-Bit Word
13.3.1.4.11.3.1.6
ECC Calculation Based on 16-Bit Word
13.3.1.4.11.3.2
BCH Code
13.3.1.4.11.3.2.1
Requirements
13.3.1.4.11.3.2.2
Memory Mapping of BCH Codeword
3.1.4.11.3.2.2.1
Memory Mapping of Data Message
3.1.4.11.3.2.2.2
Memory-Mapping of the ECC
3.1.4.11.3.2.2.3
Wrapping Modes
1.4.11.3.2.2.3.1
Manual Mode (0x0)
1.4.11.3.2.2.3.2
Mode 0x1
1.4.11.3.2.2.3.3
Mode 0xA (10)
1.4.11.3.2.2.3.4
Mode 0x2
1.4.11.3.2.2.3.5
Mode 0x3
1.4.11.3.2.2.3.6
Mode 0x7
1.4.11.3.2.2.3.7
Mode 0x8
1.4.11.3.2.2.3.8
Mode 0x4
1.4.11.3.2.2.3.9
Mode 0x9
1.4.11.3.2.2.3.10
Mode 0x5
1.4.11.3.2.2.3.11
Mode 0xB (11)
1.4.11.3.2.2.3.12
Mode 0x6
13.3.1.4.11.3.2.3
Supported NAND Page Mappings and ECC Schemes
3.1.4.11.3.2.3.1
Per-Sector Spare Mappings
3.1.4.11.3.2.3.2
Pooled Spare Mapping
3.1.4.11.3.2.3.3
Per-Sector Spare Mapping, with ECC Separated at the End of the Page
13.3.1.4.11.4
Prefetch and Write-Posting Engine
13.3.1.4.11.4.1
General Facts About the Engine Configuration
13.3.1.4.11.4.2
Prefetch Mode
13.3.1.4.11.4.3
FIFO Control in Prefetch Mode
13.3.1.4.11.4.4
Write-Posting Mode
13.3.1.4.11.4.5
FIFO Control in Write-Posting Mode
13.3.1.4.11.4.6
Optimizing NAND Access Using the Prefetch and Write-Posting Engine
13.3.1.4.11.4.7
Interleaved Accesses Between Prefetch and Write-Posting Engine and Other Chip-Selects
13.3.1.4.12
GPMC Memory Regions
13.3.1.4.13
GPMC Use Cases and Tips
13.3.1.4.13.1
How to Set GPMC Timing Parameters for Typical Accesses
13.3.1.4.13.1.1
External Memory Attached to the GPMC Module
13.3.1.4.13.1.2
Typical GPMC Setup
13.3.1.4.13.1.2.1
GPMC Configuration for Synchronous Burst Read Access
13.3.1.4.13.1.2.2
GPMC Configuration for Asynchronous Read Access
13.3.1.4.13.1.2.3
GPMC Configuration for Asynchronous Single Write Access
13.3.1.4.13.2
How to Choose a Suitable Memory to Use With the GPMC
13.3.1.4.13.2.1
Supported Memories or Devices
13.3.1.4.13.2.1.1
Memory Pin Multiplexing
13.3.1.4.13.2.1.2
NAND Interface Protocol
13.3.1.4.13.2.1.3
NOR Interface Protocol
13.3.1.4.13.2.1.4
Other Technologies
13.3.1.5
GPMC Basic Programming Model
13.3.1.5.1
GPMC High-Level Programming Model Overview
13.3.1.5.2
GPMC Initialization
13.3.1.5.3
GPMC Configuration in NOR Mode
13.3.1.5.4
GPMC Configuration in NAND Mode
13.3.1.5.5
Set Memory Access
13.3.1.5.6
GPMC Timing Parameters
13.3.1.5.6.1
GPMC Timing Parameters Formulas
13.3.1.5.6.1.1
NAND Flash Interface Timing Parameters Formulas
13.3.1.5.6.1.2
Synchronous NOR Flash Timing Parameters Formulas
13.3.1.5.6.1.3
Asynchronous NOR Flash Timing Parameters Formulas
13.3.2
Error Location Module (ELM)
13.3.2.1
ELM Overview
13.3.2.1.1
ELM Features
13.3.2.1.2
ELM Not Supported Features
13.3.2.2
ELM Integration
13.3.2.3
ELM Functional Description
13.3.2.3.1
ELM Software Reset
13.3.2.3.2
ELM Power Management
13.3.2.3.3
ELM Interrupt Requests
13.3.2.3.4
ELM Processing Initialization
13.3.2.3.5
ELM Processing Sequence
13.3.2.3.6
ELM Processing Completion
13.3.2.4
ELM Basic Programming Model
13.3.2.4.1
ELM Low-Level Programming Model
13.3.2.4.1.1
Processing Initialization
13.3.2.4.1.2
Read Results
13.3.2.4.2
Use Case: ELM Used in Continuous Mode
13.3.2.4.3
Use Case: ELM Used in Page Mode
13.3.3
Multimedia Card (MMC)
13.3.3.1
Introduction
13.3.3.1.1
MMCSD Features
13.3.3.1.2
Unsupported MMCSD Features
13.3.3.2
Integration
13.3.3.2.1
MMCSD Integration
13.3.3.2.2
MMCSD Connectivity Attributes
13.3.3.2.3
MMCSD Clock and Reset Management
13.3.3.2.4
MMCSD Pin List
13.3.3.3
Functional Description
13.3.3.3.1
MMC/SD/SDIO Functional Modes
13.3.3.3.1.1
MMC/SD/SDIO Connected to an MMC, an SD Card, or an SDIO Card
13.3.3.3.1.2
Protocol and Data Format
13.3.3.3.1.2.1
Protocol
13.3.3.3.1.2.2
Data Format
13.3.3.3.2
Resets
13.3.3.3.2.1
Hardware Reset
13.3.3.3.2.2
Software Reset
13.3.3.3.3
Power Management
13.3.3.3.3.1
Normal Mode
13.3.3.3.3.2
Idle Mode
13.3.3.3.3.3
Transition from Normal Mode to Smart-Idle Mode
13.3.3.3.3.4
Transition from Smart-Idle Mode to Normal Mode
13.3.3.3.3.5
Force-Idle Mode
13.3.3.3.3.6
Local Power Management
13.3.3.3.4
Interrupt Requests
13.3.3.3.4.1
Interrupt-Driven Operation
13.3.3.3.4.2
Polling
13.3.3.3.5
DMA Modes
13.3.3.3.5.1
DMA Responder Mode Operations
13.3.3.3.5.1.1
DMA Receive Mode
13.3.3.3.5.1.2
DMA Transmit Mode
13.3.3.3.6
Mode Selection
13.3.3.3.7
Buffer Management
13.3.3.3.7.1
Data Buffer
13.3.3.3.7.1.1
Memory Size, Block Length, and Buffer Management Relationship
13.3.3.3.7.1.2
Data Buffer Status
13.3.3.3.8
Transfer Process
13.3.3.3.8.1
Different Types of Commands
13.3.3.3.8.2
Different Types of Responses
13.3.3.3.9
Transfer or Command Status and Error Reporting
13.3.3.3.9.1
Busy Timeout for R1b, R5b Response Type
13.3.3.3.9.2
Busy Timeout After Write CRC Status
13.3.3.3.9.3
Write CRC Status Timeout
13.3.3.3.9.4
Read Data Timeout
13.3.3.3.10
Transfer Stop
13.3.3.3.11
Output Signals Generation
13.3.3.3.11.1
Generation on Falling Edge of MMC Clock
13.3.3.3.11.2
Generation on Rising Edge of MMC Clock
13.3.3.3.12
CE-ATA Command Completion Disable Management
13.3.3.3.13
Test Registers
13.3.3.3.14
MMC/SD/SDIO Hardware Status Features
13.3.3.4
Low-Level Programming Models
13.3.3.4.1
Surrounding Modules Global Initialization
13.3.3.4.2
MMC/SD/SDIO Controller Initialization Flow
13.3.3.4.2.1
Enable OCP and CLKADPI Clocks
13.3.3.4.2.2
SD Soft Reset Flow
13.3.3.4.2.3
Set SD Default Capabilities
13.3.3.4.2.4
Wake-Up Configuration
13.3.3.4.2.5
MMC Host and Bus Configuration
13.3.3.4.3
Operational Modes Configuration
13.3.3.4.3.1
Basic Operations for MMC/SD/SDIO Host Controller
13.3.3.4.3.2
Card Detection, Identification, and Selection
13.3.4
Quad Serial Peripheral Interface (QSPI)
13.3.4.1
Quad Serial Peripheral Interface Overview
13.3.4.1.1
Features Supported
13.3.4.1.2
Features Not Supported
13.3.4.2
QSPI Environment
13.3.4.3
QSPI Integration
13.3.4.4
QSPI Functional Description
13.3.4.4.1
QSPI Block Diagram
13.3.4.4.1.1
SFI Memory Mapped Protocol
13.3.4.4.1.1.1
SFI Register Control
13.3.4.4.1.1.2
SFI Translator
13.3.4.4.1.2
SPI Configurable Block
13.3.4.4.1.2.1
SPI Control Interface
13.3.4.4.1.2.2
SPI Clock Generator
13.3.4.4.1.2.3
SPI Control State-Machine
13.3.4.4.1.2.4
SPI Data Shifter
13.3.4.4.2
QSPI Interrupt Requests
13.3.4.4.3
QSPI Memory Regions
13.4
Industrial and Control Interfaces
13.4.1
Modular Controller Area Network (MCAN)
13.4.1.1
MCAN Overview
13.4.1.1.1
MCAN Features
13.4.1.1.2
MCAN Not Supported Features
13.4.1.2
MCAN Environment
13.4.1.2.1
CAN Network Basics
13.4.1.3
MCAN Integration
13.4.1.4
MCAN Functional Description
13.4.1.4.1
Module Clocking Requirements
13.4.1.4.2
Interrupt and DMA Requests
13.4.1.4.2.1
Interrupt Requests
13.4.1.4.2.2
DMA Requests
13.4.1.4.3
Operating Modes
13.4.1.4.3.1
Software Initialization
13.4.1.4.3.2
Normal Operation
13.4.1.4.3.3
CAN FD Operation
13.4.1.4.3.4
Transmitter Delay Compensation
13.4.1.4.3.4.1
Description
13.4.1.4.3.4.2
Transmitter Delay Compensation Measurement
13.4.1.4.3.5
Restricted Operation Mode
13.4.1.4.3.6
Bus Monitoring Mode
13.4.1.4.3.7
Disabled Automatic Retransmission (DAR) Mode
13.4.1.4.3.7.1
Frame Transmission in DAR Mode
13.4.1.4.3.8
Power Down (Sleep Mode)
13.4.1.4.3.8.1
External Clock Stop Mode
13.4.1.4.3.8.2
Suspend Mode
13.4.1.4.3.8.3
Wakeup request
13.4.1.4.3.9
Test Modes
13.4.1.4.3.9.1
Internal Loopback Mode
13.4.1.4.4
Timestamp Generation
13.4.1.4.4.1
External Timestamp Counter
13.4.1.4.5
Timeout Counter
13.4.1.4.6
ECC Support
13.4.1.4.6.1
ECC Wrapper
13.4.1.4.7
Rx Handling
13.4.1.4.7.1
Acceptance Filtering
13.4.1.4.7.1.1
Range Filter
13.4.1.4.7.1.2
Filter for specific IDs
13.4.1.4.7.1.3
Classic Bit Mask Filter
13.4.1.4.7.1.4
Standard Message ID Filtering
13.4.1.4.7.1.5
Extended Message ID Filtering
13.4.1.4.7.2
Rx FIFOs
13.4.1.4.7.2.1
Rx FIFO Blocking Mode
13.4.1.4.7.2.2
Rx FIFO Overwrite Mode
13.4.1.4.7.3
Dedicated Rx Buffers
13.4.1.4.7.3.1
Rx Buffer Handling
13.4.1.4.7.4
Debug on CAN Support
13.4.1.4.8
Tx Handling
13.4.1.4.8.1
Transmit Pause
13.4.1.4.8.2
Dedicated Tx Buffers
13.4.1.4.8.3
Tx FIFO
13.4.1.4.8.4
Tx Queue
13.4.1.4.8.5
Mixed Dedicated Tx Buffers/Tx FIFO
13.4.1.4.8.6
Mixed Dedicated Tx Buffers/Tx Queue
13.4.1.4.8.7
Transmit Cancellation
13.4.1.4.8.8
Tx Event Handling
13.4.1.4.9
FIFO Acknowledge Handling
13.4.1.4.10
Message RAM
13.4.1.4.10.1
Message RAM Configuration
13.4.1.4.10.2
Rx Buffer and FIFO Element
13.4.1.4.10.3
Tx Buffer Element
13.4.1.4.10.4
Tx Event FIFO Element
13.4.1.4.10.5
Standard Message ID Filter Element
13.4.1.4.10.6
Extended Message ID Filter Element
13.4.1.5
MCAN Programming Guide
13.4.2
Local Interconnect Network (LIN)
13.4.2.1
LIN Overview
13.4.2.1.1
SCI Features
13.4.2.1.2
LIN Mode Features
13.4.2.1.3
Block Diagram
2161
13.4.2.2
LIN Integration
13.4.2.3
Serial Communications Interface Module
13.4.2.3.1
SCI Communication Formats
13.4.2.3.1.1
SCI Frame Formats
13.4.2.3.1.2
SCI Asynchronous Timing Mode
13.4.2.3.1.3
SCI Baud Rate
13.4.2.3.1.4
SCI Multiprocessor Communication Modes
13.4.2.3.1.4.1
Idle-Line Multiprocessor Modes
13.4.2.3.1.4.2
Address-Bit Multiprocessor Mode
13.4.2.3.1.5
SCI Multibuffered Mode
13.4.2.3.2
SCI Interrupts
13.4.2.3.2.1
Transmit Interrupt
13.4.2.3.2.2
Receive Interrupt
13.4.2.3.2.3
WakeUp Interrupt
13.4.2.3.2.4
Error Interrupts
13.4.2.3.3
SCI DMA Interface
13.4.2.3.3.1
Receive DMA Requests
13.4.2.3.3.2
Transmit DMA Requests
13.4.2.3.4
SCI Configurations
13.4.2.3.4.1
Receiving Data
13.4.2.3.4.1.1
Receiving Data in Single-Buffer Mode
13.4.2.3.4.1.2
Receiving Data in Multibuffer Mode
13.4.2.3.4.2
Transmitting Data
13.4.2.3.4.2.1
Transmitting Data in Single-Buffer Mode
13.4.2.3.4.2.2
Transmitting Data in Multibuffer Mode
13.4.2.3.5
SCI Low-Power Mode
13.4.2.3.5.1
Sleep Mode for Multiprocessor Communication
13.4.2.4
Local Interconnect Network Module
13.4.2.4.1
LIN Communication Formats
13.4.2.4.1.1
LIN Standards
13.4.2.4.1.2
Message Frame
13.4.2.4.1.2.1
Message Header
13.4.2.4.1.2.2
Response
13.4.2.4.1.3
Synchronizer
13.4.2.4.1.4
Baud Rate
13.4.2.4.1.4.1
Fractional Divider
13.4.2.4.1.4.2
Superfractional Divider
13.4.2.4.1.4.2.1
Superfractional Divider In LIN Mode
13.4.2.4.1.5
Header Generation
13.4.2.4.1.5.1
Event Triggered Frame Handling
13.4.2.4.1.5.2
Header Reception and Adaptive Baud Rate
13.4.2.4.1.6
Extended Frames Handling
13.4.2.4.1.7
Timeout Control
13.4.2.4.1.7.1
No-Response Error (NRE)
13.4.2.4.1.7.2
Bus Idle Detection
13.4.2.4.1.7.3
Timeout After Wakeup Signal and Timeout After Three Wakeup Signals
13.4.2.4.1.8
TXRX Error Detector (TED)
13.4.2.4.1.8.1
Bit Errors
13.4.2.4.1.8.2
Physical Bus Errors
13.4.2.4.1.8.3
ID Parity Errors
13.4.2.4.1.8.4
Checksum Errors
13.4.2.4.1.9
Message Filtering and Validation
13.4.2.4.1.10
Receive Buffers
13.4.2.4.1.11
Transmit Buffers
13.4.2.4.2
LIN Interrupts
13.4.2.4.3
Servicing LIN Interrupts
13.4.2.4.4
LIN DMA Interface
13.4.2.4.4.1
LIN Receive DMA Requests
13.4.2.4.4.2
LIN Transmit DMA Requests
13.4.2.4.5
LIN Configurations
13.4.2.4.5.1
Receiving Data
13.4.2.4.5.1.1
Receiving Data in Single-Buffer Mode
13.4.2.4.5.1.2
Receiving Data in Multibuffer Mode
13.4.2.4.5.2
Transmitting Data
13.4.2.4.5.2.1
Transmitting Data in Single-Buffer Mode
13.4.2.4.5.2.2
Transmitting Data in Multibuffer Mode
13.4.2.5
Low-Power Mode
13.4.2.5.1
Entering Sleep Mode
13.4.2.5.2
Wakeup
13.4.2.5.3
Wakeup Timeouts
13.4.2.6
Emulation Mode
13.4.2.7
LIN Programming Guide
13.5
Timer Modules
13.5.1
Real Time Interrupts/Windowed Watchdog Timer (RTI/WWDT)
13.5.1.1
RTI/WWDT Overview
13.5.1.1.1
RTI Features
13.5.1.1.2
RTI Unsupported Features
13.5.1.2
RTI Integration
13.5.1.3
WWDT Integration
13.5.1.4
RTI Functional Description
13.5.1.4.1
RTI Digital Windowed Watchdog
13.5.1.4.1.1
RTI Debug Mode Behavior
13.5.1.4.2
RTI Digital Watchdog
13.5.1.4.3
RTI Counter Operation
13.5.1.5
RTI/WWDT Programming Guide
13.6
Internal Diagnostics Modules
13.6.1
Dual Clock Comparator (DCC)
13.6.1.1
DCC Overview
13.6.1.1.1
DCC Features
13.6.1.1.2
DCC Not Supported Features
13.6.1.2
DCC Integration
13.6.1.2.1
DCC Integration
13.6.1.3
DCC Functional Description
13.6.1.3.1
DCC Counter Operation
13.6.1.3.2
DCC Clock Sources
13.6.1.3.3
DCC Mode of Operation
13.6.1.3.3.1
DCC Single-Shot Mode
13.6.1.3.3.2
DCC Continuous Mode
13.6.1.3.3.2.1
DCC Continue on Error
13.6.1.3.3.2.2
DCC Error Count
13.6.1.3.4
DCC Error Trajectory Record
13.6.1.3.4.1
DCC FIFO Capturing for Errors
13.6.1.3.4.2
DCC FIFO in Continuous Capture Mode
13.6.1.3.4.3
DCC FIFO Details
13.6.1.3.5
DCC Count Read Registers
13.6.1.3.6
Limp Mode Generation
13.6.2
ECC Aggregator
13.6.2.1
ECC Aggregator Overview
13.6.2.1.1
ECC Aggregator Features
13.6.2.2
ECC Aggregator Integration
13.6.2.2.1
ECC Aggregator Integration
13.6.2.3
ECC Aggregator Functional Description
13.6.2.3.1
ECC Aggregator Block Diagram
13.6.2.3.2
ECC Aggregator Register Groups
13.6.2.3.3
Read Access to the ECC Control and Status Registers
13.6.2.3.4
Serial Write Operation
13.6.2.3.5
Interrupts
13.6.2.3.6
Inject Only Mode
13.6.3
Error Signaling Module (ESM)
13.6.3.1
ESM Overview
13.6.3.2
ESM Features
13.6.3.3
ESM Integration
13.6.3.4
ESM Functional Description
13.6.3.4.1
ESM Functional Operation
13.6.3.4.2
Error Interrupt Outputs
13.6.3.4.3
ESM Error Pin Output
13.6.3.4.4
Error Pin Behavior During Reset
13.6.3.4.5
PWM Mode
13.6.3.4.6
Minimum Time Interval
13.6.3.4.7
Safety Protection for MMRs
13.6.3.4.8
ESM Interrupts
13.6.3.4.9
Programming Guide
13.6.3.4.9.1
Configuration Error Interrupt
13.6.3.4.9.2
Low Priority Error Interrupt
13.6.3.4.9.3
High Priority Error Interrupt
13.6.4
Memory Cyclic Redundancy Check (MCRC) Controller
13.6.4.1
MCRC Overview
13.6.4.1.1
MCRC Features
13.6.4.2
MCRC Integration
13.6.4.3
MCRC Functional Description
13.6.4.3.1
MCRC Block Diagram
13.6.4.3.2
MCRC General Operation
13.6.4.3.3
MCRC Modes of Operation
13.6.4.3.3.1
AUTO Mode
13.6.4.3.3.2
Semi-CPU Mode
13.6.4.3.3.3
Full-CPU Mode
13.6.4.3.4
PSA Signature Register
13.6.4.3.5
PSA Sector Signature Register
13.6.4.3.6
CRC Value Register
13.6.4.3.7
Raw Data Register
13.6.4.3.8
Example DMA Controller Setup
13.6.4.3.8.1
AUTO Mode Using Hardware Timer Trigger
13.6.4.3.8.2
AUTO Mode Using Software Trigger
13.6.4.3.8.3
Semi-CPU Mode Using Hardware Timer Trigger
13.6.4.3.9
Pattern Count Register
13.6.4.3.10
Sector Count Register/Current Sector Register
13.6.4.3.11
Interrupts
13.6.4.3.11.1
Overrun Interrupt
13.6.4.3.11.2
Timeout Interrupt
13.6.4.3.11.3
Underrun Interrupt
13.6.4.3.11.4
Compression Complete Interrupt
13.6.4.3.11.5
Interrupt Offset Register
13.6.4.3.11.6
Error Handling
13.6.4.3.12
Power Down Mode
13.6.4.3.13
Emulation
13.6.4.4
MCRC Programming Examples
13.6.4.4.1
Example: Auto Mode Using Time Based Event Triggering
13.6.4.4.1.1
DMA Setup
13.6.4.4.1.2
Timer Setup
13.6.4.4.1.3
CRC Setup
13.6.4.4.2
Example: Auto Mode Without Using Time Based Triggering
13.6.4.4.2.1
DMA Setup
13.6.4.4.2.2
CRC Setup
13.6.4.4.3
Example: Semi-CPU Mode
13.6.4.4.3.1
DMA Setup
13.6.4.4.3.2
Timer Setup
13.6.4.4.3.3
CRC Setup
13.6.4.4.4
Example: Full-CPU Mode
13.6.4.4.4.1
CRC Setup
13.6.5
Self-Test Controller (STC)
13.6.5.1
STC Overview
13.6.5.1.1
Unsupported Features
13.6.5.1.2
STC Memory Map
13.6.5.1.3
OPMISR Concept
13.6.5.2
Block Diagram
13.6.5.3
Module Description
13.6.5.3.1
ROM Interface
13.6.5.3.2
FSM and Sequence Control
13.6.5.3.2.1
Clock Control
13.6.5.3.2.2
MISR Compare Block
13.6.5.3.3
Register Block
13.6.5.3.4
VBUSP Interface
13.6.5.3.5
STC Flow
13.6.5.3.6
Programming Sequence
13.6.5.3.7
ROM Organization
13.6.5.3.7.1
TR_T: Transition Delay Methodology Type
13.6.5.3.7.2
FT: Fault Model for the BIST Run
13.6.5.3.7.3
SEG_ID[1:0]
13.6.5.3.7.4
Pattern Count ( patt_count[9:0] )
13.6.5.3.7.5
MISR_GOLDEN[895:0]: Golden Signature Data Bits
13.6.5.3.7.6
LP_MISR_GOLDEN[895:0]: Low Power Mode Golden Signature Data Bits
13.6.5.3.7.7
INV_MISR_GOLDEN[895:0]: Inverse Mode Golden Signature Data Bits
13.6.5.3.7.8
LP_INV_MISR_GOLDEN[895:0]: Low Power Inverse Mode Golden Signature Data Bits
13.6.5.3.7.9
Pn_SDm[7:0] (n - no. of patterns, m - scan chain length): OP-MISR Scan Data
13.6.6
Programmable Built-In Self-Test (PBIST) Module
13.6.6.1
Overview
13.6.6.1.1
Features of PBIST
13.6.6.1.2
PBIST vs. Application Software-Based Testing
13.6.6.1.3
PBIST Block Diagram
13.6.6.1.3.1
On-chip ROM
13.6.6.1.3.2
Host Processor Interface to the PBIST Controller Registers
13.6.6.1.3.3
Memory Data Path
13.6.6.2
PBIST Flow
13.6.6.3
PBIST RAM-ROM Memory and Algorithm Group Configuration
13.6.6.4
Memory Test Algorithms on the On-chip ROM
14
On-Chip Debug
14.1
On-Chip Debug
14.1.1
On-Chip Debug Overview
14.1.2
On-Chip Debug Features
14.1.3
On-Chip Debug Functional Description
14.1.3.1
On-Chip Debug Block Diagram
14.1.3.2
Device Interfaces
14.1.3.2.1
JTAG Interface
14.1.3.2.2
Trace Port Interface
14.1.3.3
Debug and Boundary Scan Access and Control
14.1.3.3.1
DAP
14.1.3.3.1.1
Debug Subsystem Address Map
14.1.3.3.2
Boundary Scan
14.1.3.4
Reset Management
14.1.3.5
Debug Cross Triggering
14.1.3.5.1
R5F CTI Trigger Connections
14.1.3.5.2
Cortex M4 CTI Trigger Connections
14.1.3.5.3
STM CTI Trigger Connections
14.1.3.5.4
DEBUGSS CS-CTI Trigger Connections
14.1.3.6
SOC Debug and Trace
14.1.3.6.1
Software Messaging Trace
14.1.3.6.2
Debug Aware Peripherals
14.1.3.7
Trace Infrastructure
14.1.3.7.1
Trace Sources
14.1.3.7.2
Trace Distribution
14.1.3.7.3
Trace Sinks
14.1.4
Arm Debug Links
Revision History
13.4.1.1.2
MCAN Not Supported Features
Host Bus Firewall
GPIO Mode
Clock Calibration
External (IO) Loopback Mode
Debug DMA (see
Section 13.4.1.4.7.4
)
TX DMA Channels
[31:4]