Technical Reference Manual
002-29852 Rev. *B
3.8.7.3 CM0P_MTB_FLOW
Description:
FLOW register
Address:
0xF0003008
Offset:
0x8
Retention:
Retained
IsDeepSleep:
No
Comment:
Contains:
- The WATERMARK address.
- The AUTOSTOP and AUTOHALT control bits.
Usage constraints: There are no additional usage constraints.
Configurations: Available in all MTB configurations.
Attributes: You can modify all fields by software.
Note
- If you stop tracing, using the watermark auto stop feature, you cannot restart tracing until
software clears the watermark auto stop. You can achieve this in one of the following ways:
- Changing the POSITION.POINTER field value to point to the beginning of the trace buffer.
- Setting the FLOW.AUTOSTOP bit to 0.
- A debug agent can use the AUTOSTOP bit to fill the trace buffer once only without halting
the processor.
- A debug agent can use the AUTOHALT bit to fill the trace buffer once before causing the
Cortex-M0+ processor to enter the Debug state. To enter Debug state, the Cortex-M0+
processor might have to perform additional branch type operations. Therefore you must set
the WATERMARK field below the final entry in the trace buffer region.
Default:
0x0
Bit-field Table
Bits
7
6
5
4
3
2
1
0
Name
None [2:2]
AUTOHALT
[1:1]
AUTOSTOP
[0:0]
Bits
15
14
13
12
11
10
9
8
Name
WATERMARK [15:8]
Bits
23
22
21
20
19
18
17
16
Name
WATERMARK [23:16]
Bits
31
30
29
28
27
26
25
24
Name
WATERMARK [31:24]
Bit-fields
Bits Name
SW
HW
Default or
Enum
Description
0
AUTOSTOP
RW
R
0
If this bit is 1 and WATERMARK is equal to
POSITION.POINTER, then the MASTER.EN
bit is automatically set to 0. This stops tracing.
1
AUTOHALT
RW
R
0
If this bit is 1 and WATERMARK is equal to
POSITION.POINTER, then the
MASTER.HALTREQ bit is automatically set to 1. If the
DBGEN signal is HIGH, the MTB
asserts this halt request to the Cortex-M0+ processor
by asserting the EDBGRQ signal.
3:31
WATERMARK
RW
R
X
WATERMARK value. This field contains an address in
the same format as the
POSITION.POINTER field. When the
POSITION.POINTER matches the WATERMARK
field value, actions defined by the AUTOHALT and
AUTOSTOP bits are performed.
276
2022-04-18
TRAVEO™ T2G Automotive MCU: TVII-B-E-4M body controller entry registers