Contents
Description
1. Overview
2. External Connection
2.1. Data Gateway Interface (DGI)
2.1.1. SPI Interface
2.1.2. USART Interface
2.1.3. TWI Interface
2.1.4. GPIO Interface
2.1.5. Power Interface
2.1.6. Code Profiling
2.1.6.1. Code Profiling Interface
2.1.6.2. Code Location
2.1.6.3. Stack Monitor
2.1.6.4. AVR MCU OCD Messaging
2.1.6.4.1. AVR MCU OCD Messaging Without Handshaking
2.1.6.4.2. OCD Messaging with Handshaking and Blocking
2.1.6.4.3. Interrupt-Driven Bufferred OCD Messaging
2.1.6.5. AVR MCU Sleep Monitor
2.1.6.6. Data Polling and Control
2.1.6.6.1. Data Polling Example
2.1.7. Sink Data Conversion
2.1.8. DGI Data Polling
2.2. Serial Port
3. Visualization
3.1. Terminal
3.1.1. Terminal Module
3.1.2. Terminal Configuration Example
3.2. Graph
3.2.1. Graph Module
3.2.1.1. Graph Configuration Panel
3.2.1.2. Plot
3.2.1.3. Band
3.2.1.4. String Markers
3.2.1.5. Horizontal Cursor
3.2.1.6. Zooming and Panning
3.2.2. Graph Configuration Example
3.3. Oscilloscope
3.3.1. Oscilloscope Module
3.3.1.1. Oscilloscope Control Panel
3.3.1.1.1. Vertical Controls
3.3.1.1.2. Run Control
3.3.1.1.3. Trigger Controls
3.3.1.1.4. Horizontal Control
3.3.1.2. Cursors
3.3.2. Oscilloscope Configuration Example
3.4. Power Debugging
3.4.1. Power Debugging Module
3.4.1.1. Scaling and Scrolling a Graph
3.4.1.2. Power Debugging Module Control Panel
3.4.2. Basic Current Measurement
3.4.2.1. Two Channel Measurement
3.4.2.2. Scaling and Scrolling a Graph
3.4.2.3. Current Averaging
3.4.2.4. Power Measurement Calibration
3.4.3. Power Analysis using Cursors
3.4.4. Code Correlation
3.4.4.1. GPIO Instrumentation
3.4.4.2. Program Counter Polling
3.5. Custom Dashboard
3.5.1. Dashboard Module
3.5.1.1. Edit Panel
3.5.1.2. Element Types
3.5.1.2.1. Label
3.5.1.2.1.1. Endpoints
3.5.1.2.1.2. Configuration
3.5.1.2.2. Numeric Input
3.5.1.2.2.1. Endpoints
3.5.1.2.2.2. Configuration
3.5.1.2.3. Button
3.5.1.2.3.1. Endpoints
3.5.1.2.3.2. Configuration
3.5.1.2.4. Radio Group
3.5.1.2.4.1. Endpoints
3.5.1.2.4.2. Configuration
3.5.1.2.5. Check Box
3.5.1.2.5.1. Endpoints
3.5.1.2.5.2. Configuration
3.5.1.2.6. Slider
3.5.1.2.6.1. Endpoints
3.5.1.2.6.2. Configuration
3.5.1.2.7. Signal
3.5.1.2.7.1. Endpoints
3.5.1.2.7.2. Configuration
3.5.1.2.8. Progress Bar
3.5.1.2.8.1. Endpoints
3.5.1.2.8.2. Configuration
3.5.1.2.9. Segment Display
3.5.1.2.9.1. Endpoints
3.5.1.2.9.2. Configuration
3.5.1.2.10. Graph
3.5.1.2.10.1. Endpoints
3.5.1.2.10.2. Configuration
3.5.1.2.11. Pie Chart
3.5.1.2.11.1. Endpoints
3.5.1.2.11.2. Configuration
3.5.1.2.12. Rectangle
3.5.1.2.12.1. Endpoints
3.5.1.2.12.2. Configuration
3.5.1.2.13. Surface
3.5.1.2.13.1. Endpoints
3.5.1.2.13.2. Configuration
3.5.1.2.14. Table
3.5.1.2.14.1. Auto Labels
3.5.1.2.14.2. Manual Labels
3.5.1.2.14.3. Configuration
3.5.2. Dashboard Configuration Example
4. Utilities
4.1. Samplerate Counter
4.2. File Logger
4.2.1. Logging to a Binary File
5. Protocols
5.1. Data Stream Protocol
5.1.1. Auto-Configuration
5.1.2. Auto-Configuration Example
5.1.3. Auto-Configuration Format
5.1.4. Signal Connections File Format
5.2. Atmel Data Protocol
5.2.1. ADP Example
5.2.1.1. Requirements
5.2.1.2. Hardware Setup
5.2.1.3. Run Example
5.2.1.4. How it Works
5.2.1.4.1. Serial Interface
5.2.1.4.2. Initialization
5.2.1.4.3. ADP Control Panel
5.2.1.4.4. Light Sensor Dashboard
5.2.1.4.5. Control Dashboard
5.2.1.4.6. Terminal
5.2.1.4.7. Data Transmission
5.2.2. Message Flow
5.2.3. Message Format
5.2.4. Message Types
5.2.4.1. Request Message Details
5.2.4.1.1. MSG_REQ_HANDSHAKE
5.2.4.1.2. MSG_RES_HANDSHAKE
5.2.4.1.3. MSG_REQ_STATUS
5.2.4.1.4. MSG_RES_STATUS
5.2.4.1.5. MSG_RES_DATA
5.2.4.2. Configuration Message Details
5.2.4.2.1. MSG_CONF_STREAM
5.2.4.2.2. MSG_CONF_GRAPH
5.2.4.2.3. MSG_CONF_ADD_STREAM_TO_AXIS
5.2.4.2.4. MSG_CONF_CURSOR_TO_GRAPH
5.2.4.2.5. MSG_CONF_TERMINAL
5.2.4.2.6. MSG_CONF_ADD_TO_TERMINAL
5.2.4.2.7. MSG_CONF_INFO
5.2.4.2.8. MSG_CONF_AXIS
5.2.4.2.9. MSG_CONF_DASHBOARD
5.2.4.2.10. MSG_CONF_DASHBOARD_ELEMENT
5.2.4.2.10.1. ELEMENT_TYPE_LABEL
5.2.4.2.10.2. ELEMENT_TYPE_BUTTON
5.2.4.2.10.3. ELEMENT_TYPE_SLIDER
5.2.4.2.10.4. ELEMENT_TYPE_PROGRESS
5.2.4.2.10.5. ELEMENT_TYPE_SIGNAL
5.2.4.2.10.6. ELEMENT_TYPE_SEGMENT
5.2.4.2.10.7. ELEMENT_TYPE_GRAPH
5.2.4.2.10.8. ELEMENT_TYPE_NUMERICAL_INPUT
5.2.4.2.10.9. ELEMENT_TYPE_RADIO
5.2.4.2.10.10. ELEMENT_TYPE_PIE
5.2.4.2.10.11. ELEMENT_TYPE_SURFACE
5.2.4.2.11. MSG_CONF_ADD_STREAM_TO_ELEMENT
5.2.4.2.12. MSG_CONF_ACK
5.2.4.3. Data Message Details
5.2.4.3.1. MSG_DATA_STREAM
5.2.4.3.2. MSG_DATA_STREAM_SINGLE
6. Example Code Snippets
6.1. Data Polling Example Code
6.1.1. Application Interaction using Dashboard Controls
6.2. Terminal Example Code
6.3. Graph Example Code
6.3.1. Basic Graph
6.3.2. Adding String Markers
6.3.3. Using Horizontal Cursor Code
6.4. Oscilloscope Example Code
6.5. Dashboard Example Code
6.6. Auto-Configuration Example Code
7. Known Issues
8. Document Revision History
9. Legal Disclaimer
The Microchip Web Site
Customer Change Notification Service
Customer Support
Microchip Devices Code Protection Feature
Legal Notice
Trademarks
Quality Management System Certified by DNV
Worldwide Sales and Service