{"id":459,"date":"2014-02-04T12:48:29","date_gmt":"2014-02-04T12:48:29","guid":{"rendered":"https:\/\/ibex.tech\/open-source\/?p=459"},"modified":"2022-02-18T15:15:03","modified_gmt":"2022-02-18T15:15:03","slug":"pic32-uart-half-duplex","status":"publish","type":"post","link":"https:\/\/ibex.tech\/open-source\/communications\/uart\/pic32-uart-half-duplex","title":{"rendered":"PIC32 UART Half Duplex"},"content":{"rendered":"<p>\n<br \/>\nThis is a general use PIC32 comms UART handler.\n<\/p>\n<p>\nA half duplex bus is assumed (receive something then transmit a response, so RS485 bus friendly, but its easy to adapt the code to make full duplex instead (tx and rx independently).\n<\/p>\n<p>\nIt automatically deals with variable packet length by including a length value in the packet. &nbsp;It also automatically adds simple check summing of the packet.\n<\/p>\n<p>\nGet the files from our GitHub repository <a href=\"https:\/\/github.com\/ibexuk\/C_Communications_UART_PIC32_Half_Duplex\">here<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This is a general use PIC32 comms UART handler. A half duplex bus is assumed (receive something then transmit a response, so RS485 bus friendly, but its easy to adapt the code to make full duplex instead (tx and rx independently). It automatically deals with variable packet length by including a length value in the [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[25],"tags":[],"class_list":["post-459","post","type-post","status-publish","format-standard","hentry","category-uart"],"_links":{"self":[{"href":"https:\/\/ibex.tech\/open-source\/wp-json\/wp\/v2\/posts\/459","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ibex.tech\/open-source\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ibex.tech\/open-source\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ibex.tech\/open-source\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ibex.tech\/open-source\/wp-json\/wp\/v2\/comments?post=459"}],"version-history":[{"count":2,"href":"https:\/\/ibex.tech\/open-source\/wp-json\/wp\/v2\/posts\/459\/revisions"}],"predecessor-version":[{"id":461,"href":"https:\/\/ibex.tech\/open-source\/wp-json\/wp\/v2\/posts\/459\/revisions\/461"}],"wp:attachment":[{"href":"https:\/\/ibex.tech\/open-source\/wp-json\/wp\/v2\/media?parent=459"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ibex.tech\/open-source\/wp-json\/wp\/v2\/categories?post=459"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ibex.tech\/open-source\/wp-json\/wp\/v2\/tags?post=459"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}