Time-Base Period High-Resolution Mirror Register (Tbprdhrm); Time-Base Phase Register And Mirror Register (Tbphs / Tbphsm); Time-Base Period Mirror Register (Tbprdm) Field Descriptions; Time-Base Period High-Resolution Mirror Register (Tbprdhrm) Field Descriptions - Texas Instruments Concerto F28M36 Series Technical Reference Manual

Table of Contents

Advertisement

www.ti.com
Table 7-27. Time-Base Period Mirror Register (TBPRDM) Field Descriptions
Bit
Field
15-0
TBPRD
0000-FFFFh
Figure 7-78. Time-Base Period High-Resolution Mirror Register (TBPRDHRM)
15
7
LEGEND: R/W = Read/Write; R = Read only; -n = value after reset
Table 7-28. Time-Base Period High-Resolution Mirror Register (TBPRDHRM) Field Descriptions
Bit
Field
15-8
TBPRDHR
7-0
Reserved
Figure 7-79. Time-Base Phase Register and Mirror Register (TBPHS / TBPHSM)
15
LEGEND: R/W = Read/Write; R = Read only; -n = value after reset
SPRUHE8E – October 2012 – Revised November 2019
Submit Documentation Feedback
Value
Description
TBPRDM and TBPRD can both be used to access the time-base period.
TBPRD provides backwards compatibility with earlier ePWM modules. The mirror registers
(TBPRDM and TBPRDHRM) allow for 32-bit writes to TBPRDHR in one access. Due to the odd
address memory location of the TBPRD legacy register, a 32-bit write is not possible.
By default writes to this register are shadowed. Unlike the TBPRD register, reads of TBPRDM
always return the active register value. Shadowing is enabled and disabled by the
TBCTL[PRDLD] bit.
• If TBCTL[PRDLD] = 0, then the shadow is enabled and any write will automatically go to the
shadow register. In this case the active register will be loaded from the shadow register when
the time-base counter equals zero. Reads return the active value.
• If TBCTL[PRDLD] = 1, then the shadow is disabled and any write to this register will go
directly to the active register controlling the hardware. Likewise reads return the active value.
Value
Description
00-FFh Period High Resolution Bits
These 8-bits contain the high-resolution portion of the period value
TBPRD provides backwards compatibility with earlier ePWM modules. The mirror registers
(TBPRDM and TBPRDHRM) allow for 32-bit writes to TBPRDHR in one access. Due to the odd-
numbered memory address location of the TBPRD legacy register, a 32-bit write is not possible
with TBPRD and TBPRDHR.
The TBPRDHRM register is not affected by the TBCTL[PRDLD] bit
Writes to both the TBPRDHR and TBPRDM locations access the high-resolution (least significant 8-
bit) portion of the Time Base Period value. The only difference is that unlike TBPRDHR, reads from
the mirror register TBPRDHRM, are indeterminate (reserved for TI Test).
The TBPRDHRM register is available with ePWM modules which support high-resolution period
control and is used only when the high resolution period feature is enabled.
00-FFh Reserved for TI Test
Copyright © 2012–2019, Texas Instruments Incorporated
TBPRDHR
R/W-0
Reserved
R-0
TBPHS
R/W-0
C28 Enhanced Pulse Width Modulator (ePWM) Module
Registers
8
0
0
771

Advertisement

Table of Contents
loading

Table of Contents