{"id":1546,"date":"2014-07-17T15:26:16","date_gmt":"2014-07-17T22:26:16","guid":{"rendered":"https:\/\/blog.digilentinc.com\/?p=1546"},"modified":"2024-12-28T16:11:19","modified_gmt":"2024-12-29T00:11:19","slug":"wf32-pin-diagram","status":"publish","type":"post","link":"https:\/\/digilent.com\/blog\/wf32-pin-diagram\/","title":{"rendered":"WF32 Pin Diagram"},"content":{"rendered":"<p>I&#8217;m a big fan of the <a href=\"https:\/\/digilent.com\/blog\/Products\/Detail.cfm?NavPath=2,892,1193&amp;Prod=CHIPKIT-WF32\">chipKIT WF32<\/a>.\u00a0It&#8217;s a powerful little board with a WiFi card and SD card reader built in, but there&#8217;s a lot more to this board than meets the eye. There are a ton of communication lines, external interrupts, output compare pins, and more hidden in all those GPIO pins, but how do you\u00a0tell what is what? \u00a0 That&#8217;s where the WF32 pin diagram comes in. I&#8217;ve compiled, color coded, and listed what each pin is capable of.<\/p>\n<figure id=\"attachment_1553\" aria-describedby=\"caption-attachment-1553\" style=\"width: 600px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/digilent.com\/blog\/wp-content\/uploads\/2014\/07\/Pin-Diagram-cropped.png\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-1553\" src=\"https:\/\/digilent.com\/blog\/wp-content\/uploads\/2014\/07\/Pin-Diagram-cropped-1024x640.png\" alt=\"This is a png of the WF32 pin diagram. It is lower quality than the PDF\" width=\"600\" height=\"375\" srcset=\"https:\/\/digilent.com\/blog\/wp-content\/uploads\/2014\/07\/Pin-Diagram-cropped-1024x640.png 1024w, https:\/\/digilent.com\/blog\/wp-content\/uploads\/2014\/07\/Pin-Diagram-cropped-300x187.png 300w, https:\/\/digilent.com\/blog\/wp-content\/uploads\/2014\/07\/Pin-Diagram-cropped-600x375.png 600w, https:\/\/digilent.com\/blog\/wp-content\/uploads\/2014\/07\/Pin-Diagram-cropped-800x500.png 800w, https:\/\/digilent.com\/blog\/wp-content\/uploads\/2014\/07\/Pin-Diagram-cropped.png 1585w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/a><figcaption id=\"caption-attachment-1553\" class=\"wp-caption-text\">This is a png of the WF32 pin diagram. It is lower quality than the PDF.<\/figcaption><\/figure>\n<p>You can find all sorts of useful information on here about what each pin can do. For example, there are five PWM capable pins on board, four external interrupts, and <em>twenty<\/em> change notice pins! This will also tell you which pins are connected to the on-board hardware, like the potentiometer and buttons. \u00a0 This diagram is crazy useful, but it&#8217;s not quite complete without the <a href=\"https:\/\/digilent.com\/reference\/_media\/chipkit_max32:chipkit_wf32_rm.pdf\" target=\"_blank\" rel=\"noopener\">WF32&#8217;s reference manual<\/a>.<\/p>\n<figure id=\"attachment_1557\" aria-describedby=\"caption-attachment-1557\" style=\"width: 600px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/digilent.com\/blog\/wp-content\/uploads\/2014\/07\/Reference-Manual-Picture.png\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-1557\" src=\"https:\/\/digilent.com\/blog\/wp-content\/uploads\/2014\/07\/Reference-Manual-Picture-1024x661.png\" alt=\"The reference manual is your friend!\" width=\"600\" height=\"388\" srcset=\"https:\/\/digilent.com\/blog\/wp-content\/uploads\/2014\/07\/Reference-Manual-Picture-1024x661.png 1024w, https:\/\/digilent.com\/blog\/wp-content\/uploads\/2014\/07\/Reference-Manual-Picture-300x193.png 300w, https:\/\/digilent.com\/blog\/wp-content\/uploads\/2014\/07\/Reference-Manual-Picture.png 1531w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/a><figcaption id=\"caption-attachment-1557\" class=\"wp-caption-text\">The reference manual is your friend!<\/figcaption><\/figure>\n<p>Check that out for information about how to connect jumpers to access certain signals and which pin numbers to address when you do.\u00a0Whenever you use SPI, I2C, or UART, you&#8217;ll want to read the reference manual&#8217;s sections on those first. The reference manual can tell you a great deal more than the pin diagram ever could, such as which communication ports are dedicated to the WiFi card and SD card, information about the power supplies and voltage compatibility, and how much power can be out-put to the pins all at once. \u00a0 The pinout tables for the WF32 are also in the reference manual, organized by chipKIT pin number, port bit, or PIC32 pin number.<\/p>\n<figure id=\"attachment_1559\" aria-describedby=\"caption-attachment-1559\" style=\"width: 600px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/digilent.com\/blog\/wp-content\/uploads\/2014\/07\/Pinout-Table-Picture.png\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-1559\" src=\"https:\/\/digilent.com\/blog\/wp-content\/uploads\/2014\/07\/Pinout-Table-Picture.png\" alt=\"Pinout tables contain even more information about pin capabilities than the pin diagram!\" width=\"600\" height=\"705\" srcset=\"https:\/\/digilent.com\/blog\/wp-content\/uploads\/2014\/07\/Pinout-Table-Picture.png 638w, https:\/\/digilent.com\/blog\/wp-content\/uploads\/2014\/07\/Pinout-Table-Picture-255x300.png 255w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/a><figcaption id=\"caption-attachment-1559\" class=\"wp-caption-text\">Pinout tables contain even more information about pin capabilities than the pin diagram!<\/figcaption><\/figure>\n<p>These are functionally very similar to the pin diagram, but contain far, far more information about what signals and functions are connected to each pin. That&#8217;s too\u00a0much information for most new users to handle all at once, and they&#8217;re not as user-friendly as the pin diagrams, but once you get used to them they can be a very\u00a0useful\u00a0reference. \u00a0 The final part of this reference tri-fecta is\u00a0the\u00a0WF32&#8217;s board-defs.<\/p>\n<figure id=\"attachment_1561\" aria-describedby=\"caption-attachment-1561\" style=\"width: 480px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/digilent.com\/blog\/wp-content\/uploads\/2014\/07\/Untitled4.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-1561\" src=\"https:\/\/digilent.com\/blog\/wp-content\/uploads\/2014\/07\/Untitled4.png\" alt=\"Board-defs tell you how to refer to the signals on each pin\" width=\"480\" height=\"847\" srcset=\"https:\/\/digilent.com\/blog\/wp-content\/uploads\/2014\/07\/Untitled4.png 480w, https:\/\/digilent.com\/blog\/wp-content\/uploads\/2014\/07\/Untitled4-170x300.png 170w\" sizes=\"auto, (max-width: 480px) 100vw, 480px\" \/><\/a><figcaption id=\"caption-attachment-1561\" class=\"wp-caption-text\">Board-defs tell you how to refer to the signals on each pin<\/figcaption><\/figure>\n<p>I wrote an <a href=\"http:\/\/www.instructables.com\/id\/Finding-MPIDE-Board-Defs\/\">Instructable<\/a> earlier this week about how to access these (on Mac and Windows), and how to use them. MPIDE uses these to tell what signals are on what pins, but they&#8217;re readable enough that you can use them too! Not only could\u00a0they tell you things like, say&#8230; which pin LED1 is connected to, they could also tell you how to refer to LED1 directly in your code and not just its pin number! That way\u00a0<em>everybody<\/em> knows what you&#8217;re talking about. \u00a0 Lastly, if you&#8217;re feeling up to it, I&#8217;ll point you to the schematic for the WF32.<\/p>\n<figure id=\"attachment_1560\" aria-describedby=\"caption-attachment-1560\" style=\"width: 600px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/digilent.com\/blog\/wp-content\/uploads\/2014\/07\/Schematic-Picture.png\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-1560\" src=\"https:\/\/digilent.com\/blog\/wp-content\/uploads\/2014\/07\/Schematic-Picture-1024x794.png\" alt=\"Schematics can be very confusing for new users, but for more experienced folk they can be very helpful\" width=\"600\" height=\"466\" srcset=\"https:\/\/digilent.com\/blog\/wp-content\/uploads\/2014\/07\/Schematic-Picture-1024x794.png 1024w, https:\/\/digilent.com\/blog\/wp-content\/uploads\/2014\/07\/Schematic-Picture-300x232.png 300w, https:\/\/digilent.com\/blog\/wp-content\/uploads\/2014\/07\/Schematic-Picture.png 1243w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/a><figcaption id=\"caption-attachment-1560\" class=\"wp-caption-text\">Schematics can be very confusing for new users, but for more experienced folk they can be very helpful.<\/figcaption><\/figure>\n<p>These are a little too in-depth to appeal to\u00a0most users, but I&#8217;ll give you a little hint that can help out a great deal. If you look on your board, each jumper, pin header, even the LEDs and buttons all have a label. You can find these labels in the schematics, and from there it&#8217;s not too difficult to figure out which pin is which. From here, the schematic tells you not only which pins are connected to what signal, they also show you which jumpers connect what, and which signals go through resistors or diodes before reaching the pin. Whenever I have an issue figuring out what&#8217;s going on with the pinout tables, I go straight to the schematics for a clear, no-nonsense, illustration of what connects to where. \u00a0 With those documents, you should be able to find out everything you need to know about the WF32 hardware. Before I go, however, I want to point out that while there isn&#8217;t a pin diagram for the other chipKIT boards yet,\u00a0all the other documents (the reference manual with pinout tables, board-defs, and board schematics) are available for every chipKIT board through <a href=\"https:\/\/digilent.com\/blog\/\">DigilentInc.com<\/a>. Just scroll to the very bottom of the product page and you&#8217;ll find links for all these docs, as well as libraries and helpful example projects. \u00a0 Now you should be well prepared for your own projects! Good luck!<\/p>\n<div class='watch-action'><div class='watch-position align-left'><div class='action-like'><a class='lbg-style6 like-1546 jlk' data-task='like' data-post_id='1546' data-nonce='af2c406aff' rel='nofollow'><img src='https:\/\/digilent.com\/blog\/wp-content\/plugins\/wti-like-post-pro\/images\/pixel.gif' title='Like' \/><span class='lc-1546 lc'>0<\/span><\/a><\/div><div class='action-unlike'><a class='unlbg-style6 unlike-1546 jlk' data-task='unlike' data-post_id='1546' data-nonce='af2c406aff' rel='nofollow'><img src='https:\/\/digilent.com\/blog\/wp-content\/plugins\/wti-like-post-pro\/images\/pixel.gif' title='Unlike' \/><span class='unlc-1546 unlc'>0<\/span><\/a><\/div><\/div> <div class='status-1546 status align-left'>Be the 1st to vote.<\/div><\/div><div class='wti-clear'><\/div>","protected":false},"excerpt":{"rendered":"<p>I&#8217;m a big fan of the chipKIT WF32. It&#8217;s a powerful little board with a WiFi card and SD card reader built in, but there&#8217;s a lot more to this board than meets the eye. There are a ton of communication lines, external interrupts, output compare pins, and more hidden in all those GPIO pins, but how do you tell what is what?   That&#8217;s where the WF32 pin diagram comes in. I&#8217;ve compiled, color coded, and listed what each pin is capable of.<\/p>\n","protected":false},"author":21,"featured_media":1553,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1563],"tags":[],"ppma_author":[4472],"class_list":["post-1546","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-guide"],"jetpack_featured_media_url":"https:\/\/digilent.com\/blog\/wp-content\/uploads\/2014\/07\/Pin-Diagram-cropped.png","authors":[{"term_id":4472,"user_id":21,"is_guest":0,"slug":"jayweeks","display_name":"Jay Weeks","avatar_url":"https:\/\/secure.gravatar.com\/avatar\/f93235e3a3503ecf6117ac4c465b2384?s=96&d=mm&r=g","author_category":"","user_url":"","last_name":"Weeks","last_name_2":"","first_name":"Jay","first_name_2":"","job_title":"","description":""}],"post_mailing_queue_ids":[],"_links":{"self":[{"href":"https:\/\/digilent.com\/blog\/wp-json\/wp\/v2\/posts\/1546","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\/21"}],"replies":[{"embeddable":true,"href":"https:\/\/digilent.com\/blog\/wp-json\/wp\/v2\/comments?post=1546"}],"version-history":[{"count":1,"href":"https:\/\/digilent.com\/blog\/wp-json\/wp\/v2\/posts\/1546\/revisions"}],"predecessor-version":[{"id":31204,"href":"https:\/\/digilent.com\/blog\/wp-json\/wp\/v2\/posts\/1546\/revisions\/31204"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/digilent.com\/blog\/wp-json\/wp\/v2\/media\/1553"}],"wp:attachment":[{"href":"https:\/\/digilent.com\/blog\/wp-json\/wp\/v2\/media?parent=1546"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/digilent.com\/blog\/wp-json\/wp\/v2\/categories?post=1546"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/digilent.com\/blog\/wp-json\/wp\/v2\/tags?post=1546"},{"taxonomy":"author","embeddable":true,"href":"https:\/\/digilent.com\/blog\/wp-json\/wp\/v2\/ppma_author?post=1546"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}