{"id":27903,"date":"2020-06-25T08:31:03","date_gmt":"2020-06-25T15:31:03","guid":{"rendered":"https:\/\/blog.digilentinc.com\/?p=27903"},"modified":"2020-06-25T08:31:03","modified_gmt":"2020-06-25T15:31:03","slug":"bridging-a-usb-to-a-microcontroller-as-shown-by-the-analog-discovery-2","status":"publish","type":"post","link":"https:\/\/digilent.com\/blog\/bridging-a-usb-to-a-microcontroller-as-shown-by-the-analog-discovery-2\/","title":{"rendered":"Bridging a USB to a Microcontroller, as Shown by the Analog Discovery 2"},"content":{"rendered":"<p>Our friend Yahya, Editor at<a href=\"http:\/\/www.atadiat.com\"> Atadiat<\/a> (the Arabic word for\u00a0<em>hardware<\/em>), has put together a fine tutorial on serial engine programming. Using the MPSSE (Multi-Protocol Synchronous Serial Engine) from <a href=\"http:\/\/www.ftdichip.com\">FTDI Chip<\/a> as a bridge, you&#8217;re able to execute different types of USB to serial conversion. This article explains a little about the MPSSE, how to configure it, and then finally shows how to write a QT C++ program and run a test of it using <a href=\"https:\/\/bit.ly\/3i14nbl\">WaveForms<\/a> and the <a href=\"https:\/\/bit.ly\/2VfW7u8\">Analog Discovery 2<\/a>.<\/p>\n<figure id=\"attachment_27904\" aria-describedby=\"caption-attachment-27904\" style=\"width: 735px\" class=\"wp-caption alignnone\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-27904 size-full\" src=\"https:\/\/digilent.com\/blog\/wp-content\/uploads\/2020\/06\/mpsse-ftdi-block.png\" alt=\"\" width=\"735\" height=\"491\" data-wp-pid=\"27904\" srcset=\"https:\/\/digilent.com\/blog\/wp-content\/uploads\/2020\/06\/mpsse-ftdi-block.png 735w, https:\/\/digilent.com\/blog\/wp-content\/uploads\/2020\/06\/mpsse-ftdi-block-600x401.png 600w\" sizes=\"auto, (max-width: 735px) 100vw, 735px\" \/><figcaption id=\"caption-attachment-27904\" class=\"wp-caption-text\">A diagram of the MPSSE<\/figcaption><\/figure>\n<p><a href=\"https:\/\/atadiat.com\/en\/e-ftdi-mpsse-engine-programming-basics-a-gui-example\/\">CLICK HERE<\/a> to read the tutorial in it&#8217;s entirety on Atadiat.com.<\/p>\n<div class='watch-action'><div class='watch-position align-left'><div class='action-like'><a class='lbg-style6 like-27903 jlk' data-task='like' data-post_id='27903' data-nonce='1c819b3974' rel='nofollow'><img src='https:\/\/digilent.com\/blog\/wp-content\/plugins\/wti-like-post-pro\/images\/pixel.gif' title='Like' \/><span class='lc-27903 lc'>+2<\/span><\/a><\/div><div class='action-unlike'><a class='unlbg-style6 unlike-27903 jlk' data-task='unlike' data-post_id='27903' data-nonce='1c819b3974' rel='nofollow'><img src='https:\/\/digilent.com\/blog\/wp-content\/plugins\/wti-like-post-pro\/images\/pixel.gif' title='Unlike' \/><span class='unlc-27903 unlc'>0<\/span><\/a><\/div><\/div> <div class='status-27903 status align-left'><\/div><\/div><div class='wti-clear'><\/div>","protected":false},"excerpt":{"rendered":"<p>Our friend Yahya, Editor at Atadiat (the Arabic word for\u00a0hardware), has put together a fine tutorial on serial engine programming. Using the MPSSE (Multi-Protocol Synchronous Serial Engine) from FTDI Chip &hellip; <\/p>\n","protected":false},"author":50,"featured_media":0,"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,"footnotes":""},"categories":[4312],"tags":[],"ppma_author":[4502],"class_list":["post-27903","post","type-post","status-publish","format-standard","hentry","category-usb-scopes-analyzers-generators"],"jetpack_featured_media_url":"","authors":[{"term_id":4502,"user_id":50,"is_guest":0,"slug":"davidh","display_name":"David Horn","avatar_url":"https:\/\/secure.gravatar.com\/avatar\/917c337136844f075c76fcf4a0c3b94aa8c225366009ebf63c08fcb9ce6d0e52?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\/27903","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\/50"}],"replies":[{"embeddable":true,"href":"https:\/\/digilent.com\/blog\/wp-json\/wp\/v2\/comments?post=27903"}],"version-history":[{"count":0,"href":"https:\/\/digilent.com\/blog\/wp-json\/wp\/v2\/posts\/27903\/revisions"}],"wp:attachment":[{"href":"https:\/\/digilent.com\/blog\/wp-json\/wp\/v2\/media?parent=27903"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/digilent.com\/blog\/wp-json\/wp\/v2\/categories?post=27903"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/digilent.com\/blog\/wp-json\/wp\/v2\/tags?post=27903"},{"taxonomy":"author","embeddable":true,"href":"https:\/\/digilent.com\/blog\/wp-json\/wp\/v2\/ppma_author?post=27903"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}