{"id":1670,"date":"2014-09-04T07:22:06","date_gmt":"2014-09-04T07:22:06","guid":{"rendered":"https:\/\/raspberry-projects.com\/pi\/?p=1670"},"modified":"2014-09-26T15:05:12","modified_gmt":"2014-09-26T15:05:12","slug":"compute-module-io-pins","status":"publish","type":"post","link":"https:\/\/raspberry-projects.com\/pi\/pi-hardware\/raspberry-pi-compute-module\/compute-module-io-pins","title":{"rendered":"Compute Module IO Pins"},"content":{"rendered":"<h4>\n<span style=\"color: rgb(230, 137, 27); font-size: 16px;\">Bank 0 <\/span>GPIO<br \/>\n<\/h4>\n<p>\nGPIO0-27_VREF is the power supply for bank 0 and can be powered in the range 1.8V &#8211; 3.3V.&nbsp; (Must be powered even if GPIO is not used).\n<\/p>\n<p>\nGPIO0&nbsp;\/&nbsp;I2C0&nbsp;SDA<br \/>\nGPIO1&nbsp;\/&nbsp;I2C0&nbsp;SCL<br \/>\nGPIO2&nbsp;\/&nbsp;I2C1 SDA<br \/>\n\u200bGPIO3&nbsp;\/&nbsp;I2C1 SCL<br \/>\nGPIO4&nbsp;\/&nbsp;GPCLK0<br \/>\nGPIO5&nbsp;\/&nbsp;GPCLK1<br \/>\nGPIO6&nbsp;\/&nbsp;GPCLK2<br \/>\n\u200bGPIO\u200b7 \/&nbsp;SPI0 CE1<br \/>\n\u200bGPIO\u200b8 \/&nbsp;SPI0 CE0<br \/>\n\u200bGPIO\u200b9 \/&nbsp;SPI0 MISO<br \/>\n\u200bGPIO\u200b10 \/ SPI0 MOSI<br \/>\n\u200bGPIO\u200b11 \/&nbsp;SPI0 SCLK<br \/>\n\u200bGPIO\u200b12 \/&nbsp;PWM0<br \/>\n\u200bGPIO\u200b13 \/&nbsp;PWM1<br \/>\n\u200bGPIO\u200b14 \/&nbsp;UART0 TX \/ UART1 TX<br \/>\n\u200bGPIO\u200b15 \/&nbsp;UART0 RX \/ UART1 RX<br \/>\n\u200bGPIO\u200b16 \/ UART0 CTS \/ UART1 CTS \/ SPI1 CE2<br \/>\n\u200bGPIO\u200b17 \/ UART0 RTS \/ UART1 RTS \/ SPI1 CE1<br \/>\n\u200bGPIO\u200b18 \/&nbsp;PCM CLK \/ SPI1 CE0 \/ PWM0<br \/>\n\u200bGPIO\u200b19 \/&nbsp;PCM FS \/ SPI1 MISO \/ PWM1<br \/>\n\u200bGPIO\u200b20 \/ PCM DIN \/ SPI1 MOSI \/ GPCLK0<br \/>\n\u200bGPIO\u200b21 \/ PCM DOUT \/ SPI1 SCLK \/ GPCLK1<br \/>\n\u200bGPIO\u200b22 \/ SD1 CLK<br \/>\n\u200bGPIO\u200b23 \/ SD1 CMD<br \/>\n\u200bGPIO\u200b24 \/ SD1 DAT0<br \/>\n\u200bGPIO\u200b25 \/ SD1 DAT1<br \/>\n\u200bGPIO\u200b26 \/ SD1 DAT2<br \/>\nGPIO27 \/ SD1 DAT3\n<\/p>\n<h4>\nBank 1 GPIO<br \/>\n<\/h4>\n<p>\nGPIO28-45_VREF is the power supply for bank 1&nbsp;and can be powered in the range 1.8V &#8211; 3.3V. &nbsp;(Must be powered even if GPIO is not used).\n<\/p>\n<p>\nGPIO28&nbsp;\/&nbsp;I2C0 SDA \/ PCMCLK<br \/>\n\u200bGPIO\u200b29 \/ I2C0 SCL \/ PCM FS<br \/>\n\u200bGPIO\u200b30 \/ PCM DIN \/ UART0 CTS \/ UART1 CTS<br \/>\n\u200bGPIO\u200b31 \/ PCM DOUT \/ UART0 RTS \/ UART1 RTS<br \/>\n\u200bGPIO\u200b32 \/ GPCLK0 \/ UART0 TX \/ UART1&nbsp;TX<br \/>\n\u200bGPIO\u200b33 \/ UART0 RX \/ UART1 RX<br \/>\n\u200bGPIO\u200b34 \/ GPCLK0<br \/>\n\u200bGPIO\u200b35 \/ SPI0 CE1<br \/>\n\u200bGPIO\u200b36 \/ SPI0 CE0 \/ UART0 TX<br \/>\n\u200bGPIO\u200b37 \/ SPI0 MISO \/ UART0 RX<br \/>\n\u200bGPIO\u200b38 \/ SPI0 MOSI \/ UART0 RTS<br \/>\n\u200bGPIO\u200b39 \/ SPI0 SCLK \/ UART0 CTS<br \/>\n\u200bGPIO\u200b40 \/ PWM0 \/ SPI2 MISO \/ UART1 TX<br \/>\n\u200bGPIO\u200b41 \/ PWM1 \/ SPI2 MOSI \/ UART1 RX<br \/>\n\u200bGPIO\u200b42 \/ GPCLK1 \/ SPI2 SCLK \/ UART1 RTS<br \/>\n\u200bGPIO\u200b43 \/ GPCLK2 \/ SPI2 CE0 \/ UART1 CTS<br \/>\n\u200bGPIO\u200b44 \/ GPCLK1&nbsp;\/ I2C0 SDA&nbsp;\/ I2C1 SDA \/ SPI2 CE1<br \/>\nGPIO45 \/ PWM1&nbsp;\/ I2C0 SCL&nbsp;\/ I2C1 SCL \/ SPI2 CE2\n<\/p>\n<p>\nMany of the peripheral pin functions are duplicated, sometimes several times with the function assignable to different pins.\n<\/p>\n<h4>\nPeripheral Ports Available<br \/>\n<\/h4>\n<h5>\nUARTS&#39;s<br \/>\n<\/h5>\n<p>\n\u200bUART0<br \/>\nUART1\n<\/p>\n<h5>\n\u200bI2C&nbsp;Ports<br \/>\n<\/h5>\n<p>\n\u200bI2C0<br \/>\nI2C1\n<\/p>\n<h5>\nSPI Ports<br \/>\n<\/h5>\n<p>\n\u200bSPI0<br \/>\nSPI1<br \/>\nSPI2\n<\/p>\n<h5>\n\u200bPWM Outputs<br \/>\n<\/h5>\n<p>\nPWM0<br \/>\nPWM1\n<\/p>\n<h5>\n\u200bPCM Port<br \/>\n<\/h5>\n<p>\nPCM\n<\/p>\n<h5>\n\u200bClock Outputs<br \/>\n<\/h5>\n<p>\n\u200bGPCLK0<br \/>\n\u200bGPCLK1<br \/>\nGPCLK2\n<\/p>\n<h5>\n\u200bSD Card Interface<br \/>\n<\/h5>\n<p>\nSD1\n<\/p>\n<h4>\nPull Up&nbsp;&amp; Pull Down Resistors<br \/>\n<\/h4>\n<p>\nAll GPIOs except GPIO28, 29, 44 and 45 have weak internal pull-ups or pull-downs enabled when the device is powered on (documented in the BCM2835 peripherals document section 6.2).\n<\/p>\n<p>\nIt is recommended to add off-chip pulls to GPIO28, 29, 44 and 45 to make sure they do not float during power on and initial boot.\n<\/p>\n<h4>\nGPIO46 &amp; GPIO47<br \/>\n<\/h4>\n<p>\nThe GPIO46_1V8 and GPIO47_1V8 pins are 1.8V IO only and are reserved for special functions (HDMI hot plug detect and boot control respectively). Don&rsquo;t use these pins for any other purpose, as the software for the Compute Module will always expect these pins to have these special functions. If they are unused leave them unconnected.\n<\/p>\n<p>\n&nbsp;\n<\/p>\n<p>\n&nbsp;\n<\/p>\n<p>\n&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Bank 0 GPIO GPIO0-27_VREF is the power supply for bank 0 and can be powered in the range 1.8V &#8211; 3.3V.&nbsp; (Must be powered even if GPIO is not used). GPIO0&nbsp;\/&nbsp;I2C0&nbsp;SDA GPIO1&nbsp;\/&nbsp;I2C0&nbsp;SCL GPIO2&nbsp;\/&nbsp;I2C1 SDA \u200bGPIO3&nbsp;\/&nbsp;I2C1 SCL GPIO4&nbsp;\/&nbsp;GPCLK0 GPIO5&nbsp;\/&nbsp;GPCLK1 GPIO6&nbsp;\/&nbsp;GPCLK2 \u200bGPIO\u200b7 \/&nbsp;SPI0 CE1 \u200bGPIO\u200b8 \/&nbsp;SPI0 CE0 \u200bGPIO\u200b9 \/&nbsp;SPI0 MISO \u200bGPIO\u200b10 \/ SPI0 MOSI \u200bGPIO\u200b11 \/&nbsp;SPI0 SCLK [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[87],"tags":[],"class_list":["post-1670","post","type-post","status-publish","format-standard","hentry","category-raspberry-pi-compute-module"],"_links":{"self":[{"href":"https:\/\/raspberry-projects.com\/pi\/wp-json\/wp\/v2\/posts\/1670","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/raspberry-projects.com\/pi\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/raspberry-projects.com\/pi\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/raspberry-projects.com\/pi\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/raspberry-projects.com\/pi\/wp-json\/wp\/v2\/comments?post=1670"}],"version-history":[{"count":8,"href":"https:\/\/raspberry-projects.com\/pi\/wp-json\/wp\/v2\/posts\/1670\/revisions"}],"predecessor-version":[{"id":1683,"href":"https:\/\/raspberry-projects.com\/pi\/wp-json\/wp\/v2\/posts\/1670\/revisions\/1683"}],"wp:attachment":[{"href":"https:\/\/raspberry-projects.com\/pi\/wp-json\/wp\/v2\/media?parent=1670"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/raspberry-projects.com\/pi\/wp-json\/wp\/v2\/categories?post=1670"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/raspberry-projects.com\/pi\/wp-json\/wp\/v2\/tags?post=1670"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}