{"id":11172,"date":"2016-03-03T09:47:40","date_gmt":"2016-03-03T14:47:40","guid":{"rendered":"http:\/\/embedded-lab.com\/blog\/?p=11172"},"modified":"2016-03-03T09:47:40","modified_gmt":"2016-03-03T14:47:40","slug":"dual-usb-to-uarti2c-serial-interface-board","status":"publish","type":"post","link":"https:\/\/embedded-lab.com\/blog\/dual-usb-to-uarti2c-serial-interface-board\/","title":{"rendered":"Dual USB-to-UART\/I2C interface board"},"content":{"rendered":"<p><em>Jesus Echavarria<\/em>&#8216;s new project is a <strong><a href=\"http:\/\/www.jechavarria.com\/2016\/03\/03\/dual-usb-serial-i2c-converter\/\" target=\"_blank\">dual USB-to-UART\/I2C serial interface board<\/a><\/strong>\u00a0using two MCP2221 chips. This board can be used for debugging UART TX and RX lines as well as providing an USB connectivity in applications that have UART and I2C interfaces. With the help of <a href=\"http:\/\/ww1.microchip.com\/downloads\/en\/DeviceDoc\/MCP2221Utility.zip\" target=\"_blank\">Microchip&#8217;s free PC utilities<\/a>, you can customize the MCP2221 identifiers and GPIO pins as well as directly communicate with any UART and I2C devices\u00a0from its GUI interface for rapid prototyping with those devices.<\/p>\n<div id=\"attachment_11173\" style=\"width: 600px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/embedded-lab.com\/blog\/wp-content\/uploads\/2016\/03\/IMG_20160229_135219231-1200x950.jpg\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-11173\" class=\"size-full wp-image-11173\" src=\"http:\/\/embedded-lab.com\/blog\/wp-content\/uploads\/2016\/03\/IMG_20160229_135219231-1200x950.jpg\" alt=\"MCP\" width=\"590\" height=\"478\" srcset=\"https:\/\/embedded-lab.com\/blog\/wp-content\/uploads\/2016\/03\/IMG_20160229_135219231-1200x950.jpg 590w, https:\/\/embedded-lab.com\/blog\/wp-content\/uploads\/2016\/03\/IMG_20160229_135219231-1200x950-580x470.jpg 580w\" sizes=\"auto, (max-width: 590px) 100vw, 590px\" \/><\/a><p id=\"caption-attachment-11173\" class=\"wp-caption-text\">MCP2221 USB-to-UART\/I2C converter<\/p><\/div>\n<blockquote><p>MCP221 USB\/Serial bridge (A): the basic connection for the MCP2221 converter. It has a small R-C filter on USB lines\u00a0and a\u00a0Reset pushbutton. In addition to USB\/Serial converter, MCP2221 also has the feature to convert from USB to I2C master device. So, you can connect I2C slaves to this device and communicate with they (check the SW point). For the I2C communications, I let two jumpers to enable\/disable the I2C pull-up resistors. Finally, I use GP0,GP1 and GP3 signals as a led\u2019s indicators (low level active, default configuration). So GP0 lights when it receives a data over the serial port (red led). GP1 lights when transmit a data over the serial port (yellow led). And GP3 lights when there\u2019s communication on the I2C port (green led).<\/p><\/blockquote>\n","protected":false},"excerpt":{"rendered":"<p>Jesus Echavarria&#8216;s new project is a dual USB-to-UART\/I2C serial interface board\u00a0using two MCP2221 chips. This board can be used for debugging UART TX and RX lines as well as providing an USB connectivity in applications that have UART and I2C interfaces. With the help of Microchip&#8217;s free PC utilities, you can customize the MCP2221 identifiers and GPIO pins as well as directly communicate with any UART and I2C devices\u00a0from its GUI interface for rapid prototyping with those devices. MCP221 USB\/Serial bridge (A): the basic connection for the MCP2221 converter. It has a small R-C filter on USB lines\u00a0and a\u00a0Reset pushbutton.<\/p>\n","protected":false},"author":1,"featured_media":11173,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[367],"tags":[1385,1386,1384],"class_list":["post-11172","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-mcu-develeopment-tools","tag-mcp2221","tag-microchip-usb-serial-bridge","tag-usb-to-uarti2c"],"_links":{"self":[{"href":"https:\/\/embedded-lab.com\/blog\/wp-json\/wp\/v2\/posts\/11172","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/embedded-lab.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/embedded-lab.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/embedded-lab.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/embedded-lab.com\/blog\/wp-json\/wp\/v2\/comments?post=11172"}],"version-history":[{"count":1,"href":"https:\/\/embedded-lab.com\/blog\/wp-json\/wp\/v2\/posts\/11172\/revisions"}],"predecessor-version":[{"id":11174,"href":"https:\/\/embedded-lab.com\/blog\/wp-json\/wp\/v2\/posts\/11172\/revisions\/11174"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/embedded-lab.com\/blog\/wp-json\/wp\/v2\/media\/11173"}],"wp:attachment":[{"href":"https:\/\/embedded-lab.com\/blog\/wp-json\/wp\/v2\/media?parent=11172"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/embedded-lab.com\/blog\/wp-json\/wp\/v2\/categories?post=11172"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/embedded-lab.com\/blog\/wp-json\/wp\/v2\/tags?post=11172"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}