{"id":22871,"date":"2017-11-14T08:20:27","date_gmt":"2017-11-14T16:20:27","guid":{"rendered":"https:\/\/blog.digilentinc.com\/?p=22871"},"modified":"2021-06-10T16:14:49","modified_gmt":"2021-06-10T23:14:49","slug":"using-the-protocol-analyzer","status":"publish","type":"post","link":"https:\/\/digilent.com\/blog\/using-the-protocol-analyzer\/","title":{"rendered":"Using the Protocol Analyzer"},"content":{"rendered":"<p>Recently we updated some wiki materials regarding the use of the <a href=\"https:\/\/digilent.com\/reference\/learn\/instrumentation\/tutorials\/ad2-protocol-analyzer\/start\">Protocol Analyzer<\/a> and the <a href=\"https:\/\/digilent.com\/shop\/analog-discovery-2-100msps-usb-oscilloscope-logic-analyzer-and-variable-power-supply\/\">Analog Discovery 2.\u00a0<\/a>This tool allows you to connect to a piece of hardware, power and read or write to it.<\/p>\n<blockquote><p>\u00a0For example, if I have a SPI light sensor and I&#8217;m not receiving data, I can quickly check to see if the hardware is malfunctioning by connecting it and getting data. I can also quickly adjust settings to see if maybe the clock frequency or something else specified is incorrect.<\/p><\/blockquote>\n<p>You can use this with the Analog Discovery 2&#8217;s pattern generator to test communication protocols, as well as the <a href=\"https:\/\/digilent.com\/shop\/digital-discovery-portable-logic-analyzer-and-digital-pattern-generator\/\">Digital Discovery<\/a> and\u00a0<a href=\"https:\/\/digilent.com\/shop\/electronics-explorer-all-in-one-usb-oscilloscope-multimeter-workstation\/\">Electronics Explorer board.<\/a><\/p>\n<p>If you are interested in learning how to get started with this tool, the<a href=\"https:\/\/digilent.com\/reference\/learn\/instrumentation\/tutorials\/ad2-protocol-analyzer\/start\"> new documentation page<\/a> provides a step-by-step tutorial on how to setup and test out the tool using the <a href=\"https:\/\/digilent.com\/shop\/pmod-als-ambient-light-sensor\/\">Pmod ALS.<\/a> Since the demonstration allows you to obtain light level data, it opens up a world of possibilities when it comes to applications.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-medium wp-image-22872\" src=\"https:\/\/digilent.com\/blog\/wp-content\/uploads\/2017\/11\/fig1-buttons-600x393.jpg\" alt=\"\" width=\"600\" height=\"393\" data-wp-pid=\"22872\" srcset=\"https:\/\/digilent.com\/blog\/wp-content\/uploads\/2017\/11\/fig1-buttons-600x393.jpg 600w, https:\/\/digilent.com\/blog\/wp-content\/uploads\/2017\/11\/fig1-buttons-214x140.jpg 214w, https:\/\/digilent.com\/blog\/wp-content\/uploads\/2017\/11\/fig1-buttons.jpg 700w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/p>\n<p>While Halloween might be over, you can always utilize this feature in many holiday-decoration ideas&#8230;such as DIY Christmas light setups! Additionally if you are the type for homemade gifts, having the ability to read light levels (or other types of hardware) can be invaluable when it comes to making that dream gift idea come to life.<\/p>\n<figure id=\"attachment_22873\" aria-describedby=\"caption-attachment-22873\" style=\"width: 600px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-22873\" src=\"https:\/\/digilent.com\/blog\/wp-content\/uploads\/2017\/11\/Light-Painting-4-600x399-600x399.jpg\" alt=\"\" width=\"600\" height=\"399\" data-wp-pid=\"22873\" \/><figcaption id=\"caption-attachment-22873\" class=\"wp-caption-text\">An example of a<a href=\"https:\/\/digilent.com\/blog\/light-painting-with-ws2812-leds\/\"> light-themed project <\/a>done a few years ago by a Digilent employee.<\/figcaption><\/figure>\n<p>As always, let us know what you plan to do with the Protocol Analyzer!<\/p>\n<div class='watch-action'><div class='watch-position align-left'><div class='action-like'><a class='lbg-style6 like-22871 jlk' data-task='like' data-post_id='22871' data-nonce='8896bc70a6' rel='nofollow'><img src='https:\/\/digilent.com\/blog\/wp-content\/plugins\/wti-like-post-pro\/images\/pixel.gif' title='Like' \/><span class='lc-22871 lc'>0<\/span><\/a><\/div><div class='action-unlike'><a class='unlbg-style6 unlike-22871 jlk' data-task='unlike' data-post_id='22871' data-nonce='8896bc70a6' rel='nofollow'><img src='https:\/\/digilent.com\/blog\/wp-content\/plugins\/wti-like-post-pro\/images\/pixel.gif' title='Unlike' \/><span class='unlc-22871 unlc'>0<\/span><\/a><\/div><\/div> <div class='status-22871 status align-left'>Be the 1st to vote.<\/div><\/div><div class='wti-clear'><\/div>","protected":false},"excerpt":{"rendered":"<p>Check out some new documentation on the Digilent wiki!<\/p>\n","protected":false},"author":36,"featured_media":22873,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[4322,4312,1563],"tags":[111,1736],"ppma_author":[4485],"class_list":["post-22871","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-accessories","category-usb-scopes-analyzers-generators","category-guide","tag-analog-discovery","tag-analog-discovery-2"],"jetpack_featured_media_url":"https:\/\/digilent.com\/blog\/wp-content\/uploads\/2017\/11\/Light-Painting-4-600x399.jpg","jetpack_sharing_enabled":true,"authors":[{"term_id":4485,"user_id":36,"is_guest":0,"slug":"mirandamay7","display_name":"Miranda Hansen","avatar_url":"https:\/\/secure.gravatar.com\/avatar\/bcab037c32924b9f9b3ca4898e179f2764cb7d9a82aa2bd475170c8aaa884e1c?s=96&d=mm&r=g","1":"","2":"","3":"","4":"","5":"","6":"","7":"","8":"","9":"","10":""}],"post_mailing_queue_ids":[],"_links":{"self":[{"href":"https:\/\/digilent.com\/blog\/wp-json\/wp\/v2\/posts\/22871","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/digilent.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/digilent.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/digilent.com\/blog\/wp-json\/wp\/v2\/users\/36"}],"replies":[{"embeddable":true,"href":"https:\/\/digilent.com\/blog\/wp-json\/wp\/v2\/comments?post=22871"}],"version-history":[{"count":0,"href":"https:\/\/digilent.com\/blog\/wp-json\/wp\/v2\/posts\/22871\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/digilent.com\/blog\/wp-json\/wp\/v2\/media\/22873"}],"wp:attachment":[{"href":"https:\/\/digilent.com\/blog\/wp-json\/wp\/v2\/media?parent=22871"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/digilent.com\/blog\/wp-json\/wp\/v2\/categories?post=22871"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/digilent.com\/blog\/wp-json\/wp\/v2\/tags?post=22871"},{"taxonomy":"author","embeddable":true,"href":"https:\/\/digilent.com\/blog\/wp-json\/wp\/v2\/ppma_author?post=22871"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}