~~TOC:3-4~~ ===== Devo 12/12S Hardware Connections ===== The following documents the hardware inside the Devo-12/S transmitter * MCU: [[http://www.st.com/internet/mcu/product/164495.jsp|STM32F103ZET6]] 512kB Flash, 64kB RAM 144pin package * SPI Flash: [[http://www.sst.com/dotAsset/40373.pdf|SST25VF016B]] 2MB SPI NOR Flash * Parallel Flash: [[http://www.spansion.com/Support/Datasheets/S29GL-P_00.pdf|S29GL128P10TFI01]] 16MB FSMC accessible NOR Flash * LCD Display: [[http://vdc.epson.com/index.php?option=com_docman&task=cat_view&gid=329&Itemid=99|EPSON S1D13517F00A1]] 480x272 \\ [[http://www.displayfuture.com/Display/datasheet/controller/HX8257.pdf|HX8257]] 480x272 SPI driver for Brightness/Contrast control * SDRAM (For use with LCD controller): [[http://www.issi.com/pdf/42-45S16100E.pdf|ISSI IS42S16100E-7TL]] 2MB SDRAM * Radio: [[http://www.cypress.com/?docID=28606|CYRF6936]] 2.4GHz ==== STM32 Connections ==== ^Pin ^Desription ^ |BOOT0 |CON2 | |NRST |Debugger (NRESET) | === GPIOA === ^Pin ^Desription ^ |0 |Backlight Enable | |1 | | |2 (ADC3_IN_2) |Right Vertical Stick | |3 (ADC3_IN_3) |Battery Voltage | |4 |Power-Switch Sense | |5 (SPI1_SCK) |SPI Flash, TSC2008 | |6 (SPI1_MISO) |SPI Flash, TSC2008 | |7 (SPI1_MOSI) |SPI Flash, TSC2008 | |8 |Trainer Out | |9 (USART1_TX) | | |10 (USART1_RX) | | |11 (USBDM) |USB+ | |12 (USBDP) |USB- | |13 (SWDIO) |Debugger SWDIO (TMS) | |14 (SWCLK) |Debugger SWCLK (TCK) | |15 === GPIOB === ^Pin ^Desription ^ |0 |Speaker | |1 |HX8257 SPI LCD Chip-Select | |2 (BOOT1) |SPI Flash Chip-Select | |3 | | |4 |Powered by Outlet (Active Low) | |5 |Button Matrix Row 1 | |6 |Button Matrix Row 2 | |7 |Button Matrix Row 3 | |8 |Button Matrix Row 4 | |9 |Button Matrix Row 5 | |10 |USB Enable (enable Low) | |11 |TxModule pin 10 - CYRF6936 Reset? | |12 (SPI2_NSS?) |TxModule pin 1? | |13 (SPI2_SCK) |TxModule pin 3 | |14 (SPI2_MISO) |TxModule pin 9 | |15 (SPI2_MOSI) |TxModule pin 7 | === GPIOC === ^Pin ^Desription ^ |0 (ADC3_IN_10) |Left Vertical Stick | |1 (ADC3_IN_11) |Left Horizontal Stick | |2 (ADC3_IN_12) |AUX 7 | |3 (ADC3_IN_13) |AUX 5 | |4 |TSC Chip-Select | |5 |TSC Pen/IRQ(?) | |6 |Button Matrix Column 1 | |7 |Button Matrix Column 2 | |8 |Button Matrix Column 3 | |9 |Button Matrix Column 4 | |10 |MIX0 Switch | |11 |GEAR Switch | |12 |MIX2 Switch | |13 | | |14 | | |15 | | === GPIOD === ^Pin ^Desription ^ |0 |FSMC Data | |1 |FSMC Data | |2 |AIL DR2 Switch | |3 |AIL DR0 Switch | |4 |FSMC_NOE | |5 |FSMC_NWE | |6 | | |7 |ELE DR2 Switch | |8 |FSMC Data | |9 |FSMC Data | |10 |FSMC Data | |11 |FSMC Address | |12 |FSMC Address | |13 |FSMC Address | |14 |FSMC Data | |15 |FSMC Data | === GPIOE === ^Pin ^Desription ^ |0 |Power OFF | |1 |Charging (Active Low) | |2 | | |3 |FSMC Address | |4 |FSMC Address | |5 |FSMC Address | |6 |FSMC Address | |7 |FSMC Data | |8 |FSMC Data | |9 |FSMC Data | |10 |FSMC Data | |11 |FSMC Data | |12 |FSMC Data | |13 |FSMC Data | |14 |FSMC Data | |15 |FSMC Data | === GPIOF === ^Pin ^Desription ^ |0 |FSMC Address | |1 |FSMC Address | |2 |FSMC Address | |3 |FSMC Address | |4 |FSMC Address | |5 |FSMC Address | |6 (ADC3_IN_4) |AUX 2 | |7 (ADC3_IN_5) |AUX 6 | |8 (ADC3_IN_6) |AUX 4 | |9 (ADC3_IN_7) |AUX 3 | |10 (ADC3_IN_8) |Right Horizontal Stick | |11 |FSMC Address | |12 |FSMC Address | |13 |FSMC Address | |14 |FSMC Address | |15 |FSMC Address | === GPIOG === ^Pin ^Desription ^ |0 |FSMC Address | |1 |FSMC Address | |2 |FSMC Address | |3 |FSMC Address | |4 |FSMC Address | |5 |FSMC Address | |6 |FMOD0 Switch | |7 |FMOD2 Switch | |8 |Trainer Switch | |9 |FSMC_NE2 | |11 |RUD DR2 Switch | |12 |FSMC_NE4 | |13 |RUD DR0 Switch | |14 |Hold Switch | |15 |ELE DR0 Switch | **The battery voltage (ADC3_3) is calculated by the formula:** \\ V = 0.0021x + 0.3026 === Button Matrix === | ^C.6 ^C.7 ^C.8 ^C.9 ^ ^B.5 |NC |R+ |Top Left TU |Right Horiz TL | ^B.6 |UP+ |L- |Top Left TD |Right Vert TU | ^B.7 |DN- |Ent |Top Right TU |Right Horiz TR | ^B.8 |Ext |NC |Top Right TD |Right Vert TD | ^B.9 |Left Horiz TL |Left Horiz TR |Left Vert TD |Left Vert TU | **TL:** Trim Left **TR:** Trim Right **TU:** Trim Up **TD:** Trim down === FCC Report === FCCID: [[https://www.fcc.gov/general/fcc-id-search-page|S29 DEVO-12]]