Difference between revisions of "APF28Dev"

From ArmadeusWiki
Jump to: navigation, search
(Extension connectors)
(colors on J9)
 
(26 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 +
[[Category: APF28]]
 
==Description==
 
==Description==
 
This is the Armadeus System's standard development board/baseboard for the [[APF28]] module.
 
This is the Armadeus System's standard development board/baseboard for the [[APF28]] module.
  
==Errata==
+
==Resources==
 +
 
 +
* [[Datasheet | Datasheet and schema]]
 +
* [http://www.armadeus.com/english/products-development_boards-apf28_dev.html Product page on Armadeus Systems website]
 +
 
 +
==Feature list==
 +
 
 +
{| border="0" cellpadding="5" cellspacing="5" summary="Hardware Add-Ons by functionnalities"
 +
|----------------
 +
|- style="background:#f4f4f4; color:black; -moz-border-radius:18px;"
 +
|
 +
 
 +
===Audio===
 +
* [[MX28|audio]]: audio interface
 +
 
 +
===Video Out===
 +
* [[LCD]]
 +
* [[BackLight]]
 +
* [[FrameBuffer]]
 +
 
 +
||
 +
===User Input===
 +
* [[MX28|touchscreen]]
 +
* [[GPIO_keys| GPIO keys ]]
 +
 
 +
===Wired communication===
 +
* [[Uart|UART]]
 +
* [[SPI]]
 +
* [[I2C]]
 +
* [[USB Host]]
 +
* [[USB OTG]]
 +
* [[USB_Gadget]]
 +
* [[CAN_bus_Linux_driver|CAN bus]]
 +
 
 +
===Storage===
 +
* [[MultiMediaCard]]
 +
||
 +
===Realtime===
 +
* [[RTC]]
 +
 
 +
===Other===
 +
* [[PWM]]
 +
* [[GPIOlib | GPIO]]
 +
* [[JTAG]]
 +
* [[MX28|Battery / Supply handling]]
 +
* [[LED]]
 +
* [[Power_management]]
 +
 
 +
|}
 +
 
 +
== Selecting LCD ==
 +
 
 +
Two LCDs are available for the APF28Dev kit. By default, [[Tianma_TM035|TM035KBH02 (3" one)]] is selected in Linux. To use the LW700 (7" one), under ('''2013.x+''') U-Boot declare ''extrabootargs'' variable :
 +
 
 +
<pre class="apf">
 +
BIOS> setenv extrabootargs lcd_panel=LW700
 +
BIOS> saveenv
 +
</pre>
  
 
==Extension connectors==
 
==Extension connectors==
Line 13: Line 71:
 
! J9 Pin !! kernel .id !! MUX0<br> .fun= PIN_FUN1 !!MUX1<br> .fun= PIN_FUN2 !!MUX2<br> .fun= PIN_FUN3 !!  .fun= PIN_GPIO !! J9 Pin !! kernel .id !!MUX0<br> .fun= PIN_FUN1 !! MUX1<br> .fun= PIN_FUN2 !!MUX2<br> .fun= PIN_FUN3 !!  .fun= PIN_GPIO
 
! J9 Pin !! kernel .id !! MUX0<br> .fun= PIN_FUN1 !!MUX1<br> .fun= PIN_FUN2 !!MUX2<br> .fun= PIN_FUN3 !!  .fun= PIN_GPIO !! J9 Pin !! kernel .id !!MUX0<br> .fun= PIN_FUN1 !! MUX1<br> .fun= PIN_FUN2 !!MUX2<br> .fun= PIN_FUN3 !!  .fun= PIN_GPIO
 
|-
 
|-
| 1 || none (3.3V) ||  ||  ||  ||  || 2 || none (5V)  ||  ||  ||  ||  
+
| style="color:yellow;background:black;" align=center | '''1''' || none (3.3V) ||  ||  ||  ||  || style="color:yellow;background:black;" align=center | '''2''' || none (5V)  ||  ||  ||  ||  
 
|-
 
|-
| 3 || PINID_SAIF0_SDATA0 || <b>SAIF0_SDATA0</b> || PWM_6 || AUART4_TX || GPIO_3_23 || 4 || none (GND)  ||  ||  ||  ||  
+
| style="color:yellow;background:black;" align=center | '''3''' || PINID_SAIF0_SDATA0 || <b>SAIF0_SDATA0</b> || PWM_6 || AUART4_TX || GPIO_3_23 || style="color:yellow;background:black;" align=center | '''4''' || none (GND)  ||  ||  ||  ||  
 
|-
 
|-
| 5 || PINID_SAIF0_BITCLK ||  <b>SAIF0_BITCLK </b> || PWM_5 || AUART4_RX || GPIO_3_22 || 6 || PINID_SAIF1_SDATA0 || <b>SAIF1_SDATA0</b> ||  PWM_7 || SAIF0_SDATA1 || GPIO_3_26
+
| style="color:yellow;background:black;" align=center | '''5''' || PINID_SAIF0_BITCLK ||  <b>SAIF0_BITCLK </b> || PWM_5 || AUART4_RX || GPIO_3_22 || style="color:yellow;background:black;" align=center  | '''6''' || PINID_SAIF1_SDATA0 || <b>SAIF1_SDATA0</b> ||  PWM_7 || SAIF0_SDATA1 || GPIO_3_26
 
|-
 
|-
| 7 || PINID_SAIF0_LRCLK || <b>SAIF0_MCLK</b> || PWM_3 || AUART4_CTS || GPIO_3_21 || 8 || PINID_SAIF0_MCLK || <b>SAIF0_LRCLK</b> || PWM_4 || AUART4_RTS || GPIO_3_20
+
| style="color:yellow;background:black;" align=center | '''7''' || PINID_SAIF0_LRCLK || <b>SAIF0_LRCLK</b> || PWM_4 || AUART4_RTS || GPIO_3_21 || style="color:yellow;background:black;" align=center | '''8''' || PINID_SAIF0_MCLK || <b>SAIF0_MCLK</b> || PWM_3 || AUART4_CTS || GPIO_3_20
 
|-
 
|-
| 9 || none (GND) || ||  ||  ||  || 10 || none (GND) ||  ||  ||  ||  
+
| style="color:yellow;background:black;" align=center | '''9''' || none (GND) || ||  ||  ||  || style="color:yellow;background:black;" align=center | '''10''' || none (GND) ||  ||  ||  ||  
 
|-
 
|-
| 11 || PINID_AUART3_RX || <b>AUART3_RX</b> || CAN0_TX || ENET0_1588 _EVENT0_OUT* || GPIO_3_12 || 12 || PINID_AUART2_RX || <b>AUART2_RX</b> || SSP3_D1 || SSP3_D4 || GPIO_3_8
+
| style="color:yellow;background:black;" align=center | '''11''' || PINID_AUART3_RX || <b>AUART3_RX</b> || CAN0_TX || ENET0_1588 _EVENT0_OUT* || GPIO_3_12 || style="color:yellow;background:black;" align=center  | '''12''' || PINID_AUART2_RX || <b>AUART2_RX</b> || SSP3_D1 || SSP3_D4 / SSP3_SS1 || GPIO_3_8
 
|-
 
|-
| 13 || PINID_AUART3_TX || <b>AUART3_TX</b> || CAN0_RX || ENET0_1588 _EVENT0_IN* || GPIO_3_13 || 14 || PINID_AUART2_TX || <b>AUART2_TX</b> || SSP3_D2 || SSP3_D5 || GPIO_3_9
+
| style="color:yellow;background:black;" align=center | '''13''' || PINID_AUART3_TX || <b>AUART3_TX</b> || CAN0_RX || ENET0_1588 _EVENT0_IN* || GPIO_3_13 || style="color:yellow;background:black;" align=center  | '''14''' || PINID_AUART2_TX || <b>AUART2_TX</b> || SSP3_D2 || SSP3_D5 / SSP3_SS2 || GPIO_3_9
 
|-
 
|-
| 15 || PINID_AUART3_RTS || <b>AUART3_RTS</b> || CAN1_RX || ENET0_1588 _EVENT1_IN* || GPIO_3_15 || 16 || PINID_AUART2_RTS || <b>AUART2_RTS</b> || I2C1_SDA || SAIF1_LRCLK || GPIO_3_11
+
| style="color:yellow;background:black;" align=center | '''15''' || PINID_AUART3_RTS || <b>AUART3_RTS</b> || CAN1_RX || ENET0_1588 _EVENT1_IN* || GPIO_3_15 || style="color:yellow;background:black;" align=center  | '''16''' || PINID_AUART2_RTS || <b>AUART2_RTS</b> || I2C1_SDA || SAIF1_LRCLK || GPIO_3_11
 
|-
 
|-
| 17 || PINID_AUART3_CTS || <b>AUART3_CTS</b> || CAN1_TX || ENET0_1588 _EVENT1_OUT* || GPIO_3_14 || 18 || PINID_AUART2_CTS || <b>AUART2_CTS</b> || I2C1_SCL || SAIF1_BITCLK || GPIO_3_10
+
| style="color:yellow;background:black;" align=center | '''17''' || PINID_AUART3_CTS || <b>AUART3_CTS</b> || CAN1_TX || ENET0_1588 _EVENT1_OUT* || GPIO_3_14 || style="color:yellow;background:black;" align=center  | '''18''' || PINID_AUART2_CTS || <b>AUART2_CTS</b> || I2C1_SCL || SAIF1_BITCLK || GPIO_3_10
 
|-
 
|-
| 19 ||  none (GND) || ||  ||  ||  || 20 ||  none (GND) || ||  ||  ||   
+
| style="color:yellow;background:black;" align=center | '''19''' ||  none (GND) || ||  ||  ||  || style="color:yellow;background:black;" align=center  | '''20''' ||  none (GND) || ||  ||  ||   
 
|-
 
|-
| 21 || PINID_AUART0_RX || <b>AUART0_RX</b> || I2C0_SCL || DUART_CTS || GPIO_3_0 || 22 || PINID_AUART1_CTS || AUART1_CTS || USBO_OVER CURRENT || TIMROT _ROTARYA || <b>GPIO_3_6</b>
+
| style="color:yellow;background:black;" align=center | '''21''' || PINID_AUART0_RX || <b>AUART0_RX</b> || I2C0_SCL || DUART_CTS || GPIO_3_0 || style="color:yellow;background:black;" align=center  | '''22''' || PINID_AUART1_CTS || <b>AUART1_CTS</b> || USBO_OVER CURRENT || TIMROT _ROTARYA || GPIO_3_6
 
|-
 
|-
| 23 || PINID_AUART0_TX || <b>AUART0_TX</b> || I2C0_SDA || DUART_RTS || GPIO_3_1 || 24 || PINID_AUART1_RTS || AUART1_RTS || USB0_ID || TIMROT _ROTARYB || <b>GPIO_3_7</b>
+
| style="color:yellow;background:black;" align=center | '''23''' || PINID_AUART0_TX || <b>AUART0_TX</b> || I2C0_SDA || DUART_RTS || GPIO_3_1 || style="color:yellow;background:black;" align=center  | '''24''' || PINID_AUART1_RTS || <b>AUART1_RTS</b> || USB0_ID || TIMROT _ROTARYB || GPIO_3_7
 
|-
 
|-
| 25 || PINID_AUART0_RTS || <b>AUART0_RTS</b> || AUART4_TX || DUART_TX || GPIO_3_3 || 26 || PINID_AUART1_TX || AUART1_TX || SSP3_CARD  _DETECT || PWM_1 || <b>GPIO_3_5</b>
+
| style="color:yellow;background:black;" align=center | '''25''' || PINID_AUART0_RTS || <b>AUART0_RTS</b> || AUART4_TX || DUART_TX || GPIO_3_3 || style="color:yellow;background:black;" align=center  | '''26''' || PINID_AUART1_TX || <b>AUART1_TX</b> || SSP3_CARD  _DETECT || PWM_1 || GPIO_3_5
 
|-
 
|-
| 27 || PINID_AUART0_CTS || <b>AUART0_CTS</b> || AUART4_RX || DUART_RX || GPIO_3_2 || 28 || PINID_AUART1_RX || AUART1_RX || SSP2_CARD  _DETECT || PWM_0 || <b>GPIO_3_4</b>
+
| style="color:yellow;background:black;" align=center | '''27''' || PINID_AUART0_CTS || <b>AUART0_CTS</b> || AUART4_RX || DUART_RX || GPIO_3_2 || style="color:yellow;background:black;" align=center | '''28''' || PINID_AUART1_RX || <b>AUART1_RX</b> || SSP2_CARD  _DETECT || PWM_0 || GPIO_3_4
 
|-
 
|-
| 29 ||  none (GND) || ||  ||  ||  || 30 ||  none (GND) || ||  ||  ||   
+
| style="color:yellow;background:black;" align=center | '''29''' ||  none (GND) || ||  ||  ||  || style="color:yellow;background:black;" align=center | '''30''' ||  none (GND) || ||  ||  ||   
 
|-
 
|-
| 31 || PINID_LCD_D18 || LCD_D18 || || ETM_DA5 || <b>GPIO_1_18</b> || 32 || PINID_GPMI_CE2N || GPMI_CE2N || <b>CAN1_TX</b> || ENET0_RX_ER || GPIO_0_18
+
| style="color:yellow;background:black;" align=center | '''31''' || PINID_LCD_D18 || LCD_D18 || || ETM_DA5 || <b>GPIO_1_18</b> || style="color:yellow;background:black;" align=center | '''32''' || PINID_GPMI_CE2N || GPMI_CE2N || <b>CAN1_TX</b> || ENET0_RX_ER || GPIO_0_18
 
|-
 
|-
| 33 || PINID_LCD_D19 || LCD_D19 || || ETM_DA4 || <b>GPIO_1_19</b> || 34 || PINID_GPMI_CE3N || GPMI_CE3N || <b>CAN1_RX</b> || SAIF1_MCLK || GPIO_0_19
+
| style="color:yellow;background:black;" align=center | '''33''' || PINID_LCD_D19 || LCD_D19 || || ETM_DA4 || <b>GPIO_1_19</b> || style="color:yellow;background:black;" align=center | '''34''' || PINID_GPMI_CE3N || GPMI_CE3N || <b>CAN1_RX</b> || SAIF1_MCLK || GPIO_0_19
 
|-
 
|-
| 35 || PINID_LCD_D20 || LCD_D20 || ENET1_1588 _EVENT2_OUT* || ETM_DA3 || <b>GPIO_1_20</b> || 36 || PINID_LCD_D21 || LCD_D21 || ENET1_1588 _EVENT2_IN* || ETM_DA2 || <b>GPIO_1_21</b>
+
| style="color:yellow;background:black;" align=center | '''35''' || PINID_LCD_D20 || LCD_D20 || ENET1_1588 _EVENT2_OUT* || ETM_DA3 || <b>GPIO_1_20</b> || style="color:yellow;background:black;" align=center | '''36''' || PINID_LCD_D21 || LCD_D21 || ENET1_1588 _EVENT2_IN* || ETM_DA2 || <b>GPIO_1_21</b>
 
|-
 
|-
| 37 ||  none (GND) || ||  ||  ||  || 38 || PINID_LCD_D21 || LCD_D21 || ENET1_1588 _EVENT2_IN* || ETM_DA2 || <b>GPIO_1_22</b>   
+
| style="color:yellow;background:black;" align=center | '''37''' ||  none (GND) || ||  ||  ||  || style="color:yellow;background:black;" align=center | '''38''' || PINID_LCD_D21 || LCD_D21 || ENET1_1588 _EVENT2_IN* || ETM_DA2 || <b>GPIO_1_22</b>   
 
|-
 
|-
| 39 ||  none (GND) || ||  ||  ||  || 40 ||  none (GND) || ||  ||  ||   
+
| style="color:yellow;background:black;" align=center | '''39''' ||  none (GND) || ||  ||  ||  || style="color:yellow;background:black;" align=center | '''40''' ||  none (GND) || ||  ||  ||   
 
|}
 
|}
 
  * only available on i.MX287 versions
 
  * only available on i.MX287 versions
Line 62: Line 120:
 
| 1 || none (3.3V) ||  ||  ||  || || 2 || none (5V)  ||  ||  ||  ||
 
| 1 || none (3.3V) ||  ||  ||  || || 2 || none (5V)  ||  ||  ||  ||
 
|-
 
|-
| 3 || PINID_SSP0_DATA4 || SSP0_D4 || SSP2_D0 || || <b>GPIO_2_4</b> || 4 || none (VBAT)  ||  ||  ||  ||  
+
| 3 || PINID_SSP0_DATA4 || SSP0_D4 / SSP0_SS1 || SSP2_D0 / SSP2_MISO || || <b>GPIO_2_4</b> || 4 || none (VBAT)  ||  ||  ||  ||  
 
|-
 
|-
| 5 || PINID_SSP0_DATA5 || SSP0_D5 || SSP2_D3 || || <b>GPIO_2_5</b> || 6 ||  PINID_SSP1_SCK || SSP1_SCK || SSP2_D1 || ENET0_1588 _EVENT2_OUT* || <b>GPIO_2_12</b>
+
| 5 || PINID_SSP0_DATA5 || SSP0_D5 / SSP0_SS2 || SSP2_D3 / SSP2_SS0 || || <b>GPIO_2_5</b> || 6 ||  PINID_SSP1_SCK || SSP1_SCK || SSP2_D1 || ENET0_1588 _EVENT2_OUT* || <b>GPIO_2_12</b>
 
|-
 
|-
| 7 ||  PINID_SSP0_DATA6 || SSP0_D6 || SSP2_CMD || || <b>GPIO_2_6</b> || 8 ||  PINID_SSP1_CMD || SSP1_CMD || SSP2_D2 || ENET0_1588 _EVENT2_IN* || <b>GPIO_2_13</b>
+
| 7 ||  PINID_SSP0_DATA6 || SSP0_D6 || SSP2_CMD / SSP2_MOSI || || <b>GPIO_2_6</b> || 8 ||  PINID_SSP1_CMD || SSP1_CMD / SSP1_MOSI|| SSP2_D2 || ENET0_1588 _EVENT2_IN* || <b>GPIO_2_13</b>
 
|-
 
|-
| 9 ||  PINID_SSP0_DATA7 || SSP0_D7 || SSP2_SCK || || <b>GPIO_2_7</b> || 10 ||  PINID_SSP1_DATA0 || SSP1_D0 || SSP2_D6 || ENET0_1588 _EVENT3_OUT* || <b>GPIO_2_14</b>  
+
| 9 ||  PINID_SSP0_DATA7 || SSP0_D7 || SSP2_SCK || || <b>GPIO_2_7</b> || 10 ||  PINID_SSP1_DATA0 || SSP1_D0 / SSP1_MISO || SSP2_D6 || ENET0_1588 _EVENT3_OUT* || <b>GPIO_2_14</b>  
 
|-
 
|-
| 11 || none (GND) || ||  ||  ||  || 12 ||  PINID_SSP1_DATA3 || SSP1_D3 || SSP2_D7 || ENET0_1588 _EVENT3_IN* || <b>GPIO_2_15</b>
+
| 11 || none (GND) || ||  ||  ||  || 12 ||  PINID_SSP1_DATA3 || SSP1_D3 / SSP1_SS0 || SSP2_D7 || ENET0_1588 _EVENT3_IN* || <b>GPIO_2_15</b>
 
|-
 
|-
| 13 || none (GND) || ||  ||  ||  || 14 || PINID_SSP3_SCK || <b>SSP3_SCK</b> || AUART4_TX || ENET1_1588 _EVENT0_OUT* || GPIO_2_24  
+
| 13 || none (GND) || ||  ||  ||  || 14 || PINID_SSP3_SCK || SSP3_SCK || <b>AUART4_TX</b> || ENET1_1588 _EVENT0_OUT* || GPIO_2_24  
 
|-
 
|-
| 15 || none (GND) || ||  ||  ||  || 16 || PINID_SSP3_MOSI || SSP3_CMD / <b>SSP3_MOSI</b> || AUART4_RX || ENET1_1588 _EVENT0_IN* || GPIO_2_25
+
| 15 || none (GND) || ||  ||  ||  || 16 || PINID_SSP3_MOSI || SSP3_CMD / SSP3_MOSI || <b>AUART4_RX</b> || ENET1_1588 _EVENT0_IN* || GPIO_2_25
 
|-
 
|-
| 17 || none (GND) || ||  ||  ||  || 18 || PINID_SSP3_MISO || SSP3_D0 / <b>SSP3_MISO</b> || AUART4_RTS || ENET1_1588 _EVENT1_OUT* || GPIO_2_26
+
| 17 || none (GND) || ||  ||  ||  || 18 || PINID_SSP3_MISO || SSP3_D0 / SSP3_MISO || <b>AUART4_RTS</b> || ENET1_1588 _EVENT1_OUT* || GPIO_2_26
 
|-
 
|-
| 19 || PINID_SSP2_SCK  || <b>SSP2_SCK</b> || AUART2_RX || SAIF0_SDATA1 || GPIO_2_16 || 20 || PINID_SSP3_SS0 || SSP3_D3 / <b>SSP3_SS0</b> || AUART4_CTS || ENET1_1588 _EVENT1_IN* || GPIO_2_27
+
| 19 || PINID_SSP2_SCK  || <b>SSP2_SCK</b> || AUART2_RX || SAIF0_SDATA1 || GPIO_2_16 || 20 || PINID_SSP3_SS0 || SSP3_D3 / SSP3_SS0 || <b>AUART4_CTS</b> || ENET1_1588 _EVENT1_IN* || GPIO_2_27
 
|-
 
|-
 
| 21 || PINID_SSP2_MOSI || SSP2_CMD / <b>SSP2_MOSI</b> || AUART2_TX || SAIF0_SDATA2 || GPIO_2_17 || 22 || none (GND) || ||  ||  ||  
 
| 21 || PINID_SSP2_MOSI || SSP2_CMD / <b>SSP2_MOSI</b> || AUART2_TX || SAIF0_SDATA2 || GPIO_2_17 || 22 || none (GND) || ||  ||  ||  
Line 84: Line 142:
 
| 23 || PINID_SSP2_MISO || SSP2_D0 / <b>SSP2_MISO</b> || AUART3_RX || SAIF1_SDATA1 || GPIO_2_18 || 24 || PINID_SPDIF || <b>SPDIF(_TX)</b> || || ENET1_RX_ER* || GPIO_3_27
 
| 23 || PINID_SSP2_MISO || SSP2_D0 / <b>SSP2_MISO</b> || AUART3_RX || SAIF1_SDATA1 || GPIO_2_18 || 24 || PINID_SPDIF || <b>SPDIF(_TX)</b> || || ENET1_RX_ER* || GPIO_3_27
 
|-
 
|-
| 25 || PINID_SSP2_SS0 || SSP2_D3 / <b>SSP2_SS0</b> || AUART3_TX || SAIF1_SDATA2 ||GPIO_2_19 || 26 || PINID_PWM4 || PWM_4 || || || <b>GPIO_3_29</b>
+
| 25 || PINID_SSP2_SS0 || SSP2_D3 / <b>SSP2_SS0</b> || AUART3_TX || SAIF1_SDATA2 ||GPIO_2_19 || 26 || PINID_PWM4 || <b>PWM_4</b> || || || GPIO_3_29
 
|-
 
|-
 
| 27 || PINID_SSP2_SS1 || SSP2_D4 / <b>SSP2_SS1</b> || SSP2_D1 || USB1 _OVERCURRENT || GPIO_2_20 || 28 || PINID_I2C0_SDA || <b>I2C0_SDA</b> || TIMROT _ROTARYB || DUART_TX || GPIO_3_25
 
| 27 || PINID_SSP2_SS1 || SSP2_D4 / <b>SSP2_SS1</b> || SSP2_D1 || USB1 _OVERCURRENT || GPIO_2_20 || 28 || PINID_I2C0_SDA || <b>I2C0_SDA</b> || TIMROT _ROTARYB || DUART_TX || GPIO_3_25
Line 94: Line 152:
 
| 33 || none (GND) || ||  ||  ||  || 34 || none (GND) || ||  ||  ||  
 
| 33 || none (GND) || ||  ||  ||  || 34 || none (GND) || ||  ||  ||  
 
|-
 
|-
| 35 || none (LRADC6) || ||  ||  ||  || 36 || none (LRADC1)  || ||  ||  ||  
+
| 35 || none (LRADC6) || ||  ||  ||  || 36 || none <b>(LRADC1)</b> || ||  ||  ||  
 
|-
 
|-
| 37 || none (HSADC0) || ||  ||  ||  || 38 || none (LRADC0)  || ||  ||  ||  
+
| 37 || none (HSADC0) || ||  ||  ||  || 38 || none <b>(LRADC0)</b> || ||  ||  ||  
 
|-
 
|-
 
| 39 || none (GND) || ||  ||  ||  || 40 || none (GND) || ||  ||  ||   
 
| 39 || none (GND) || ||  ||  ||  || 40 || none (GND) || ||  ||  ||   
Line 102: Line 160:
 
  * only available on i.MX287 versions
 
  * only available on i.MX287 versions
  
==Resources==
+
==Errata==
 
+
* [[Datasheet | Datasheet and schema]]
+
* [http://www.armadeus.com/english/products-development_boards-apf28_dev.html Product page on Armadeus Systems website]
+
 
+
==Feature list==
+
 
+
{| border="0" cellpadding="5" cellspacing="5" summary="Hardware Add-Ons by functionnalities"
+
|----------------
+
|- style="background:#f4f4f4; color:black; -moz-border-radius:18px;"
+
|
+
 
+
===Audio===
+
* [[MX28|audio]]: audio interface
+
 
+
===Video Out===
+
* [[LCD]]
+
* [[BackLight]]
+
* [[FrameBuffer]]
+
 
+
||
+
===User Input===
+
* [[MX28|touchscreen]]
+
 
+
===Wired communication===
+
* [[Uart|UART]]
+
* [[SPI]]
+
* [[I2C]]
+
* [[USB Host]]
+
* [[USB OTG]]
+
* [[CAN_bus_Linux_driver|CAN bus]]
+
 
+
===Storage===
+
* [[MultiMediaCard]]
+
||
+
===Realtime===
+
* [[MX28|RTC]]
+
 
+
===Other===
+
* [[PWM]]:
+
* [[GPIO Driver]]
+
* [[JTAG]]
+
* [[MX28|Battery / Supply handling]]
+
|}
+
 
+
==Temporary fixes==
+
===Backlight===
+
* <s>Force backlight to ON state:</s> Fixed now on GIT master
+
<pre class="apf">
+
echo 124 > /sys/class/gpio/export
+
echo out > /sys/class/gpio/gpio124/direction
+
echo 1 > /sys/class/gpio/gpio124/value
+
</pre>
+
  
 
[[Category:DevelopmentBoards]]
 
[[Category:DevelopmentBoards]]
 
[[Category:Hardware]]
 
[[Category:Hardware]]
 
=== Selecting LCD ===
 
 
Two LCD are available for the apf28Dev kit. By default, TM035KBH02 is selected in Linux. To use the LW700, under U-Boot do :
 
 
<pre class="apf">
 
BIOS> setenv console ${console} lcd_panel=LW700
 
## Switch baudrate to 115200 bps andpress ENTER ...
 
BIOS> saveenv
 
</pre>
 

Latest revision as of 18:53, 8 September 2016

Description

This is the Armadeus System's standard development board/baseboard for the APF28 module.

Resources

Feature list

Audio

Video Out

User Input

Wired communication

Storage

Realtime

Other

Selecting LCD

Two LCDs are available for the APF28Dev kit. By default, TM035KBH02 (3" one) is selected in Linux. To use the LW700 (7" one), under (2013.x+) U-Boot declare extrabootargs variable :

BIOS> setenv extrabootargs lcd_panel=LW700
BIOS> saveenv

Extension connectors

Default (in bold) pin usage on the extension connectors J9 and J10 - Each functionality can be disabled by simply using "make linux-menuconfig" (implementation on-going) - The "kernel .id" column uses the linux kernel 2.6.35 naming convention to help user research and changes in linux source code.

  • Connector J9
J9 Pin kernel .id MUX0
.fun= PIN_FUN1
MUX1
.fun= PIN_FUN2
MUX2
.fun= PIN_FUN3
.fun= PIN_GPIO J9 Pin kernel .id MUX0
.fun= PIN_FUN1
MUX1
.fun= PIN_FUN2
MUX2
.fun= PIN_FUN3
.fun= PIN_GPIO
1 none (3.3V) 2 none (5V)
3 PINID_SAIF0_SDATA0 SAIF0_SDATA0 PWM_6 AUART4_TX GPIO_3_23 4 none (GND)
5 PINID_SAIF0_BITCLK SAIF0_BITCLK PWM_5 AUART4_RX GPIO_3_22 6 PINID_SAIF1_SDATA0 SAIF1_SDATA0 PWM_7 SAIF0_SDATA1 GPIO_3_26
7 PINID_SAIF0_LRCLK SAIF0_LRCLK PWM_4 AUART4_RTS GPIO_3_21 8 PINID_SAIF0_MCLK SAIF0_MCLK PWM_3 AUART4_CTS GPIO_3_20
9 none (GND) 10 none (GND)
11 PINID_AUART3_RX AUART3_RX CAN0_TX ENET0_1588 _EVENT0_OUT* GPIO_3_12 12 PINID_AUART2_RX AUART2_RX SSP3_D1 SSP3_D4 / SSP3_SS1 GPIO_3_8
13 PINID_AUART3_TX AUART3_TX CAN0_RX ENET0_1588 _EVENT0_IN* GPIO_3_13 14 PINID_AUART2_TX AUART2_TX SSP3_D2 SSP3_D5 / SSP3_SS2 GPIO_3_9
15 PINID_AUART3_RTS AUART3_RTS CAN1_RX ENET0_1588 _EVENT1_IN* GPIO_3_15 16 PINID_AUART2_RTS AUART2_RTS I2C1_SDA SAIF1_LRCLK GPIO_3_11
17 PINID_AUART3_CTS AUART3_CTS CAN1_TX ENET0_1588 _EVENT1_OUT* GPIO_3_14 18 PINID_AUART2_CTS AUART2_CTS I2C1_SCL SAIF1_BITCLK GPIO_3_10
19 none (GND) 20 none (GND)
21 PINID_AUART0_RX AUART0_RX I2C0_SCL DUART_CTS GPIO_3_0 22 PINID_AUART1_CTS AUART1_CTS USBO_OVER CURRENT TIMROT _ROTARYA GPIO_3_6
23 PINID_AUART0_TX AUART0_TX I2C0_SDA DUART_RTS GPIO_3_1 24 PINID_AUART1_RTS AUART1_RTS USB0_ID TIMROT _ROTARYB GPIO_3_7
25 PINID_AUART0_RTS AUART0_RTS AUART4_TX DUART_TX GPIO_3_3 26 PINID_AUART1_TX AUART1_TX SSP3_CARD _DETECT PWM_1 GPIO_3_5
27 PINID_AUART0_CTS AUART0_CTS AUART4_RX DUART_RX GPIO_3_2 28 PINID_AUART1_RX AUART1_RX SSP2_CARD _DETECT PWM_0 GPIO_3_4
29 none (GND) 30 none (GND)
31 PINID_LCD_D18 LCD_D18 ETM_DA5 GPIO_1_18 32 PINID_GPMI_CE2N GPMI_CE2N CAN1_TX ENET0_RX_ER GPIO_0_18
33 PINID_LCD_D19 LCD_D19 ETM_DA4 GPIO_1_19 34 PINID_GPMI_CE3N GPMI_CE3N CAN1_RX SAIF1_MCLK GPIO_0_19
35 PINID_LCD_D20 LCD_D20 ENET1_1588 _EVENT2_OUT* ETM_DA3 GPIO_1_20 36 PINID_LCD_D21 LCD_D21 ENET1_1588 _EVENT2_IN* ETM_DA2 GPIO_1_21
37 none (GND) 38 PINID_LCD_D21 LCD_D21 ENET1_1588 _EVENT2_IN* ETM_DA2 GPIO_1_22
39 none (GND) 40 none (GND)
* only available on i.MX287 versions
  • Connector J10
J10 Pin kernel .id MUX0
.fun= PIN_FUN1
MUX1
.fun= PIN_FUN2
MUX2
.fun= PIN_FUN3
.fun= PIN_GPIO J10 Pin kernel .id MUX0
.fun= PIN_FUN1
MUX1
.fun= PIN_FUN2
MUX2
.fun= PIN_FUN3
.fun= PIN_GPIO
1 none (3.3V) 2 none (5V)
3 PINID_SSP0_DATA4 SSP0_D4 / SSP0_SS1 SSP2_D0 / SSP2_MISO GPIO_2_4 4 none (VBAT)
5 PINID_SSP0_DATA5 SSP0_D5 / SSP0_SS2 SSP2_D3 / SSP2_SS0 GPIO_2_5 6 PINID_SSP1_SCK SSP1_SCK SSP2_D1 ENET0_1588 _EVENT2_OUT* GPIO_2_12
7 PINID_SSP0_DATA6 SSP0_D6 SSP2_CMD / SSP2_MOSI GPIO_2_6 8 PINID_SSP1_CMD SSP1_CMD / SSP1_MOSI SSP2_D2 ENET0_1588 _EVENT2_IN* GPIO_2_13
9 PINID_SSP0_DATA7 SSP0_D7 SSP2_SCK GPIO_2_7 10 PINID_SSP1_DATA0 SSP1_D0 / SSP1_MISO SSP2_D6 ENET0_1588 _EVENT3_OUT* GPIO_2_14
11 none (GND) 12 PINID_SSP1_DATA3 SSP1_D3 / SSP1_SS0 SSP2_D7 ENET0_1588 _EVENT3_IN* GPIO_2_15
13 none (GND) 14 PINID_SSP3_SCK SSP3_SCK AUART4_TX ENET1_1588 _EVENT0_OUT* GPIO_2_24
15 none (GND) 16 PINID_SSP3_MOSI SSP3_CMD / SSP3_MOSI AUART4_RX ENET1_1588 _EVENT0_IN* GPIO_2_25
17 none (GND) 18 PINID_SSP3_MISO SSP3_D0 / SSP3_MISO AUART4_RTS ENET1_1588 _EVENT1_OUT* GPIO_2_26
19 PINID_SSP2_SCK SSP2_SCK AUART2_RX SAIF0_SDATA1 GPIO_2_16 20 PINID_SSP3_SS0 SSP3_D3 / SSP3_SS0 AUART4_CTS ENET1_1588 _EVENT1_IN* GPIO_2_27
21 PINID_SSP2_MOSI SSP2_CMD / SSP2_MOSI AUART2_TX SAIF0_SDATA2 GPIO_2_17 22 none (GND)
23 PINID_SSP2_MISO SSP2_D0 / SSP2_MISO AUART3_RX SAIF1_SDATA1 GPIO_2_18 24 PINID_SPDIF SPDIF(_TX) ENET1_RX_ER* GPIO_3_27
25 PINID_SSP2_SS0 SSP2_D3 / SSP2_SS0 AUART3_TX SAIF1_SDATA2 GPIO_2_19 26 PINID_PWM4 PWM_4 GPIO_3_29
27 PINID_SSP2_SS1 SSP2_D4 / SSP2_SS1 SSP2_D1 USB1 _OVERCURRENT GPIO_2_20 28 PINID_I2C0_SDA I2C0_SDA TIMROT _ROTARYB DUART_TX GPIO_3_25
29 PINID_SSP2_SS2 SSP2_D5 SSP2_SS2 SSP2_D2 USB0 _OVERCURRENT GPIO_2_21 30 PINID_I2C0_SCL I2C0_SCL TIMROT _ROTARYA DUART_RX GPIO_3_24
31 none (3.3V) 32 none (GND)
33 none (GND) 34 none (GND)
35 none (LRADC6) 36 none (LRADC1)
37 none (HSADC0) 38 none (LRADC0)
39 none (GND) 40 none (GND)
* only available on i.MX287 versions

Errata