Electronic Components Datasheet Search
  English  ▼

X  

SAMD21J Datasheet(PDF) 28 Page - Microchip Technology

Part # SAMD21J
Description  32-bit ARM-Based Microcontrollers
PDF  59 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  MICROCHIP [Microchip Technology]
Direct Link  http://www.microchip.com
Logo MICROCHIP - Microchip Technology

SAMD21J Datasheet(HTML) 28 Page - Microchip Technology

Back Button SAMD21J Datasheet HTML 24Page - Microchip Technology SAMD21J Datasheet HTML 25Page - Microchip Technology SAMD21J Datasheet HTML 26Page - Microchip Technology SAMD21J Datasheet HTML 27Page - Microchip Technology SAMD21J Datasheet HTML 28Page - Microchip Technology SAMD21J Datasheet HTML 29Page - Microchip Technology SAMD21J Datasheet HTML 30Page - Microchip Technology SAMD21J Datasheet HTML 31Page - Microchip Technology SAMD21J Datasheet HTML 32Page - Microchip Technology Next Button
Zoom Inzoom in Zoom Outzoom out
 28 / 59 page
background image
Peripheral Source
NVIC Line
AC – Analog Comparator
24
DAC – Digital-to-Analog Converter
25
PTC – Peripheral Touch Controller
26
I2S - Inter IC Sound
27
7.3
Micro Trace Buffer
7.3.1
Features
•
Program flow tracing for the Cortex-M0+ processor
•
MTB SRAM can be used for both trace and general purpose storage by the processor
•
The position and size of the trace buffer in SRAM is configurable by software
•
CoreSight compliant
7.3.2
Overview
When enabled, the MTB records changes in program flow, reported by the Cortex-M0+ processor over
the execution trace interface shared between the Cortex-M0+ processor and the CoreSight MTB-M0+.
This information is stored as trace packets in the SRAM by the MTB. An off-chip debugger can extract the
trace information using the Debug Access Port to read the trace information from the SRAM. The
debugger can then reconstruct the program flow from this information.
The MTB simultaneously stores trace information into the SRAM, and gives the processor access to the
SRAM. The MTB ensures that trace write accesses have priority over processor accesses.
The execution trace packet consists of a pair of 32-bit words that the MTB generates when it detects the
processor PC value changes non-sequentially. A non-sequential PC change can occur during branch
instructions or during exception entry. See the CoreSight MTB-M0+ Technical Reference Manual for more
details on the MTB execution trace packet format.
Tracing is enabled when the MASTER.EN bit in the Master Trace Control Register is 1. There are various
ways to set the bit to 1 to start tracing, or to 0 to stop tracing. See the CoreSight Cortex-M0+ Technical
Reference Manual for more details on the Trace start and stop and for a detailed description of the MTB’s
MASTER register. The MTB can be programmed to stop tracing automatically when the memory fills to a
specified watermark level or to start or stop tracing by writing directly to the MASTER.EN bit. If the
watermark mechanism is not being used and the trace buffer overflows, then the buffer wraps around
overwriting previous trace packets.
The base address of the MTB registers is 0x41006000; this address is also written in the CoreSight ROM
Table. The offset of each register from the base address is fixed and as defined by the CoreSight MTB-
M0+ Technical Reference Manual. The MTB has 4 programmable registers to control the behavior of the
trace features:
•
POSITION: Contains the trace write pointer and the wrap bit,
•
MASTER: Contains the main trace enable bit and other trace control fields,
•
FLOW: Contains the WATERMARK address and the AUTOSTOP and AUTOHALT control bits,
•
BASE: Indicates where the SRAM is located in the processor memory map. This register is
provided to enable auto discovery of the MTB SRAM location, by a debug agent.
See the CoreSight MTB-M0+ Technical Reference Manual for a detailed description of these registers.
32-bit ARM-Based Microcontrollers
© 2017 Microchip Technology Inc.
Datasheet Summary
40001884A-page 28



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


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