Electronic Components Datasheet Search
  English  ▼

X  

UM0434 Datasheet(PDF) 77 Page - STMicroelectronics

Part # UM0434
Description  The primary objective of this user?셲 manual is to describe
PDF  390 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  STMICROELECTRONICS [STMicroelectronics]
Direct Link  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

UM0434 Datasheet(HTML) 77 Page - STMicroelectronics

Back Button UM0434 Datasheet HTML 73Page - STMicroelectronics UM0434 Datasheet HTML 74Page - STMicroelectronics UM0434 Datasheet HTML 75Page - STMicroelectronics UM0434 Datasheet HTML 76Page - STMicroelectronics UM0434 Datasheet HTML 77Page - STMicroelectronics UM0434 Datasheet HTML 78Page - STMicroelectronics UM0434 Datasheet HTML 79Page - STMicroelectronics UM0434 Datasheet HTML 80Page - STMicroelectronics UM0434 Datasheet HTML 81Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 77 / 390 page
background image
Register model
UM0434
78/391
Note:
If the counters operate independently, both may count for the same instruction.
The debug counter register (DBCNT) is configured by DBCR3[CONFIG] to operate either as
separate 16-bit counter 1 and counter 2 or as a combined 32-bit counter (using control bits
in DBCR3 for counter 1). Counters are enabled when any of their respective count enable
event control bits are set and either DBCR0 or DBCR0[EDM] is set. Counter 1 can be
configured to count down on a number of different debug events. Counter 2 is also
configurable to count down on instruction complete, instruction or data address compare
events, and external events.
Special capability is provided for counter 1 to be triggered to begin counting down by a
subset of events (IAC1, IAC3, DAC1R, DAC1W, DEVT1, DEVT2, and counter 2). When one
or more of the counter 1 trigger bits is set (IAC1T1, IAC3T1, DAC1RT1, DAC1WT1,
DEVT1T1, DEVT2T1, CNT2T1), counter 1 is frozen until at least one of the triggering events
occurs and is then enabled to begin operation. Triggering status for counter 1 is provided in
the debug status register. Triggering mode is enabled by an mtspr DBCR3 which sets one
or more of the trigger enable bits and also enables counter 1. The trigger can be re-armed
by clearing the DBSR[CNT1TRG] status bit.
Most combinations of enables do not make sense and should be avoided. For example, if
DBCR3[ICMP] is set for counter 1, no other count enable should be set for counter 1.
Conversely, multiple instruction address compare count enables are allowed to be set and
can be useful.
Due to instruction pipelining issues and other constraints, most combinations of events are
not supported for event counting. Only the following combinations are for use; other
combinations are not supported:
●
Any combination of IAC[1–4]
●
Any combination of DAC[1–2] including linking
●
Any combination of DEVT[1–2]
●
Any combination of IRPT and RET
Limited support is provided for any combination of IAC[1–4] with DAC[1–2] (linked or
unlinked).
Due to pipelining and detection of IAC events early in the pipeline and DAC events late in the
pipeline, no guarantee is made on the exact instruction boundary that a debug exception is
generated when IAC and DAC events are combined for counting. This also applies when
counter 1 is triggered by counter 2, and a combination of IAC and DAC events is enabled for
the counters, even if only one of these types is enabled for a particular counter. In general,
when an IAC event logically follows a DAC event within several instructions, it cannot be
recognized immediately because the DAC event may not be generated in the pipeline at the
time the IAC appears. Thus, the counter may not decrement to zero for the IAC event until
after the instruction with the IAC (and perhaps several additional instructions) proceeds
down the execution pipeline. The instruction boundary where the debug exception is
actually generated typically follows the IAC by up to several instructions.
Note that the counters operate regardless of whether counters are enabled to generate
debug exceptions.
If counter 2 is used to trigger counter 1, counter 2 events should not normally be enabled in
DBCR0 and are not blocked.
Note:
Multiple IAC or DAC events are not counted during an lmw or stmw instruction, and no
count occurs if either is interrupted by a critical input or external input interrupt before
completion.



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100  ...More


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com