SPRUI30H November 2015 – May 2024 DRA745 , DRA746 , DRA750 , DRA756
Address Offset | 0x0000 0000 | ||
Physical Address | 0x5508 0400 0x5888 0400 0x5508 0400 0x5508 0400 | Instance | IPU1_WUGEN_IPU IPU1_WUGEN_MAIN_L3 IPU2_WUGEN_IPU IPU2_WUGEN_MAIN_L3 |
Description | |||
Type | RW |
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
NUMSTM | NUMINPT | NUMTIMR | NUMCNTR | REVISION | IDLEMODE | ENBL |
Bits | Field Name | Description | Type | Reset |
---|---|---|---|---|
31:26 | NUMSTM | Number of timers that can export via STM | R | 0x00 |
25:18 | NUMINPT | Number of event input signals | R | 0x1F |
17:13 | NUMTIMR | Number of timers in the module | R | 0x02 |
12:7 | NUMCNTR | Number of counters in the module | R | 0x08 |
6:3 | REVISION | Revision ID of SCTM | R | 0x- TI internal data |
2:1 | IDLEMODE | Idle mode control | RW | 0x2 |
0x0: Force Idle mode | ||||
0x1: Ths SCTM will acknoledge the idle request, but never transition to the idle state | ||||
0x2: Ths SCTM uses the smart idle protocol. This is the default mode | ||||
0x3: Since the SCTM does not support internal wakeup, this mode is identical to smart_idle | ||||
0 | ENBL | SCTM global enable | RW | 0 |
0x0: This module is disabled. Only the configuration interface is functional. All other logic is reset | ||||
0x1: The module is enabled and individual counter/timers can be configured |
Address Offset | 0x0000 0040 + (0x4 * i) | ||
Physical Address | 0x5508 0440 + (0x4 * i) 0x5888 0440 + (0x4 * i) 0x5508 0440 + (0x4 * i) 0x5508 0440 + (0x4 * i) | Instance | IPU1_WUGEN_IPU IPU1_WUGEN_MAIN_L3 IPU2_WUGEN_IPU IPU2_WUGEN_MAIN_L3 |
Description | These registers contain the interval match value for the corresponding timers in the SCTM | ||
Type | RW |
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
INTERVAL |
Bits | Field Name | Description | Type | Reset |
---|---|---|---|---|
31:0 | INTERVAL | Interval match value for the timers in the SCTM | RW | 0x0000 0000 |
Address Offset | 0x0000 007C | ||
Physical Address | 0x5508 047C 0x5888 047C 0x5508 047C 0x5508 047C | Instance | IPU1_WUGEN_IPU IPU1_WUGEN_MAIN_L3 IPU2_WUGEN_IPU IPU2_WUGEN_MAIN_L3 |
Description | Counter Timer Number Debug Event Register | ||
Type | R |
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
RESERVED | NUMEVT |
Bits | Field Name | Description | Type | Reset |
---|---|---|---|---|
31:3 | RESERVED | Reserved. | R | 0x0000 0000 |
2:0 | NUMEVT | Number of input selectors for debug events | R | 0x0 |
Address Offset | 0x0000 00F0 | ||
Physical Address | 0x5508 04F0 0x5888 04F0 0x5508 04F0 0x5508 04F0 | Instance | IPU1_WUGEN_IPU IPU1_WUGEN_MAIN_L3 IPU2_WUGEN_IPU IPU2_WUGEN_MAIN_L3 |
Description | These registers provide for simultaneous enable/disable of 32 counters | ||
Type | RW |
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
RESERVED | ENABLE |
Bits | Field Name | Description | Type | Reset |
---|---|---|---|---|
31:8 | RESERVED | Reserved. | R | 0x000000 |
7:0 | ENABLE | The counter enable bit field | RW | 0x00 |
Address Offset | 0x0000 00F8 | ||
Physical Address | 0x5508 04F8 0x5888 04F8 0x5508 04F8 0x5508 04F8 | Instance | IPU1_WUGEN_IPU IPU1_WUGEN_MAIN_L3 IPU2_WUGEN_IPU IPU2_WUGEN_MAIN_L3 |
Description | These registers provide for simultaneous reset of 32 counters | ||
Type | RW |
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
RESERVED | RESET |
Bits | Field Name | Description | Type | Reset |
---|---|---|---|---|
31:8 | RESERVED | Reserved. | R | 0x000000 |
7:0 | RESET | The counter reset bit field | RW | 0x00 |
Address Offset | 0x0000 0100 + (0x4 * i) | ||
Physical Address | 0x5508 0500 + (0x4 * i) 0x5888 0500 + (0x4 * i) 0x5508 0500 + (0x4 * i) 0x5508 0500 + (0x4 * i) | Instance | IPU1_WUGEN_IPU IPU1_WUGEN_MAIN_L3 IPU2_WUGEN_IPU IPU2_WUGEN_MAIN_L3 |
Description | These registers contain the control and status settings for a single counter in the module. There will be a CTCR for every counter in the module (WT: with timer) | ||
Type | RW |
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
RESERVED | INPSEL | RESERVED | RESTART | DBG | INT | CHNSDW | OVRFLW | IDLE | FREE | DURMODE | CHAIN | RESET | ENBL |
Bits | Field Name | Description | Type | Reset |
---|---|---|---|---|
31:21 | RESERVED | Reserved. | R | 0x000 |
20:16 | INPSEL | Counter Timer input selection | RW | 0x00 |
0: Constantly asserted input that results in a free-running counter/timer | ||||
1-31: Index of event input signal selected | ||||
15:11 | RESERVED | Reserved. | R | 0x00 |
10 | RESTART | Restart the timer after an interval match | RW | 0 |
0: The timer stops after the first interval match. It must be manually reset by software before it starts counting again (run-once timer mode). | ||||
1: The timer immediately resets to 0 and begins incrementing again based on the current input configuration (restart timer mode). | ||||
9 | DBG | Signal debug logic on interval match | RW | 0 |
0: No debug event is generated. | ||||
1: Upon interval match, generates a debug event on the corresponding debug output event signal | ||||
8 | INT | Generate interrupt on interval match | RW | 0 |
0: No interrupt is generated. | ||||
1: Upon interval match, generates an interrupt on the corresponding interrupt output event signal | ||||
7 | CHNSDW | Counter has a shadow register for chain reads. | R | 0 |
0: The read of the corresponding counter register returns the current value. | ||||
1: Read of the high-order counter register, simultaneously loads the current value of the 32 LSBs into a shadow register. The read of the counter register that corresponds to this counter returns the value of the shadow register. This is applicable only when the counter is chained. | ||||
6 | OVRFLW | Counter has wrapped since it was last read | R | 0 |
0: The counter has not wrapped since the last read. | ||||
1: The counter has wrapped since the last read. | ||||
5 | IDLE | Counter ignores processor IDLE state | RW | 0 |
0: The counter does not increment during IDLE state. | ||||
1: The counter continues to function during IDLE state; applicable if IDLEMODE = 1. | ||||
4 | FREE | Counter ignores processor debug halt state | RW | 0 |
0: The counter does not increment (decrement) during the debug halt state. | ||||
1: The counter continues to function during debug halt state. | ||||
3 | DURMODE | Counter is in duration or occurrence mode | RW | 0 |
0: The counter operates in event mode. The counter increments by 1 each time a rising edge is seen on the designated input event signal. | ||||
1: The counter operates in duration mode. The counter increments every time a clock cycle is seen and the corresponding input event signal is asserted. | ||||
2 | CHAIN | Counter is chained to an adjacent counter | RW | 0 |
0: The counter is not chained. | ||||
1: Reserved | ||||
1 | RESET | Counter reset control | RW | 0 |
0: No effect | ||||
1: The corresponding counter is reset to the initial value and the OVERFLW bit is cleared. It continues to function if it is still enabled. | ||||
0 | ENBL | Counter enable control | RW | 0 |
0: The counter does not increment. | ||||
1: The counter increments as configured. |
Address Offset | 0x0000 0108 + (0x4 * j) | ||
Physical Address | 0x5508 0508 + (0x4 * j) 0x5888 0508 + (0x4 * j) 0x5508 0508 + (0x4 * j) 0x5508 0508 + (0x4 * j) | Instance | IPU1_WUGEN_IPU IPU1_WUGEN_MAIN_L3 IPU2_WUGEN_IPU IPU2_WUGEN_MAIN_L3 |
Description | These registers contain the control and status settings for a single counter in the module. There will be a CTCR for every counter in the module (WOT: without timer) | ||
Type | RW |
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
RESERVED | INPSEL | RESERVED | CHNSDW | OVRFLW | IDLE | FREE | DURMODE | CHAIN | RESET | ENBL |
Bits | Field Name | Description | Type | Reset |
---|---|---|---|---|
31:21 | RESERVED | Reserved. | R | 0x000 |
20:16 | INPSEL | Counter input selection | RW | 0x000 |
0: Constant low signal on the output interface | ||||
1–31: Index of event input signal selected | ||||
15:8 | RESERVED | Reserved. | R | 0x00 |
7 | CHNSDW | Counter has a shadow register for chain reads. | R | 1 |
0: The read of the corresponding counter register returns the current value. | ||||
1: Read of the high-order counter register, simultaneously loads the current value of the 32 LSBs into a shadow register. The read of the counter register that corresponds to this counter returns the value of the shadow register. This is applicable only when the counter is chained. | ||||
6 | OVRFLW | Counter has wrapped since it was last read | R | 0 |
0: The counter has not wrapped since the last read. | ||||
1: The counter has wrapped since the last read. | ||||
5 | IDLE | Counter ignores processor IDLE state | RW | 0 |
0: The counter does not increment during IDLE state. | ||||
1: The counter continues to function during IDLE state; applicable if IDLEMODE = 1. | ||||
4 | FREE | Counter ignores processor debug halt state | RW | 0 |
0: The counter does not increment (decrement) during the debug halt state. | ||||
1: The counter continues to function during debug halt state. | ||||
3 | DURMODE | Counter is in duration or occurrence mode | RW | 0 |
0: The counter operates in event mode. The counter increments by 1 each time a rising edge is seen on the designated input event signal. | ||||
1: The counter operates in duration mode. The counter increments every time a clock cycle is seen and the corresponding input event signal is asserted. | ||||
2 | CHAIN | Counter is chained to an adjacent counter | RW | 0 |
0: The counter is not chained. | ||||
1: The counter is chained to its partner. | ||||
1 | RESET | Counter reset control | RW | 0 |
0: No effect | ||||
1: The corresponding counter is reset to the initial value and the OVERFLW bit is cleared. It continues to function if it is still enabled. | ||||
0 | ENBL | Counter enable control | RW | 0 |
0: The counter does not increment. | ||||
1: The counter increments as configured. |
Address Offset | 0x0000 0180 + (0x4 * k) | ||
Physical Address | 0x5508 0580 + (0x4 * k) 0x5888 0580 + (0x4 * k) 0x5508 0580 + (0x4 * k) 0x5508 0580 + (0x4 * k) | Instance | IPU1_WUGEN_IPU IPU1_WUGEN_MAIN_L3 IPU2_WUGEN_IPU IPU2_WUGEN_MAIN_L3 |
Description | These registers contain the value of an individual counter in the module. There will be a CTCNTR for every counter in the module | ||
Type | R |
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
COUNT |
Bits | Field Name | Description | Type | Reset |
---|---|---|---|---|
31:0 | COUNT | Counter value | R | 0x0000 0000 |