Personal tools

Log in

Changes

From IGEP - ISEE Wiki

Jump to: navigation, search

Getting started with IGEP COM AQUILA

5,138 bytes added, 13:35, 11 November 2013
m
Undo revision 9628 by Pau pajuelo (Talk)
Upon completion, you will be ready to continue with chapter 2/3 that explains how to use templates, tools and other methods to help us create a custom Linux-based system for your project.
 
{{Message/Information Message|title=TITLE|message= This chapter is based in some references detailed below. Read this references or ask to forum if this guide doesn't resolve your dudes. }}
__NOTOC__
* [{{#lst:Template:Links|IGEP_AQUILA_EXPANSION_ISEE_Hardware}} IGEP AQUILA EXPANSION Hardware Reference Manual]
* [{{#lst:Template:Links|IGEP_AQUILA_EXPANSION_ISEE_Schematic}} IGEP AQUILA EXPANSION Public Schematics]
* [http://www.isee.biz/support/downloads/item/igep-aquila-expansion-mechanical-pcb IGEP AQUILA EXPANSION Mechanical LayoutPCB]* [http://www.isee.biz/support/downloads/item/igep-aquila-expansion-mechanical-pdf IGEP AQUILA EXPANSION Mechanical Layout PDF]
== Other resources ==
= Getting started =
One of the most interesting parts about IGEP COM AQUILA Board is the versatility that offers to baseboard designers to implement their own specific solution. But this versatility represents too an obstacle to start developing a the baseboard.
To resolve this initial obstacle, this guide does an abstract about every single part, each part is classified by:
=== Input Power sources ===
*'''VIN''' is the main source voltage regulator that generates all the necessary internal voltages to IGEP COM AQUILA. VIN source needs 5V, read the design rules to determine the maximum current load applied.
*'''VBACKUP''' is RTC backup power supply used to keep alive the hardware clock.
=== Output Power sources ===
*'''VOUT''' is a linear regulator output source that offers 3V3 and 1A.
*'''VREFP_ADC''' is a supply voltage used for AM335x analog digital converters.
=== Power sources design rules ===
* IGEP COM AQUILA uses a TPS73701, this LDO converts 5V (VIN input) to 3V3 (VOUT output), so you can use the following formula to calculate the maximum VIN current consumption: Ivin (maximum supply current) = 550 mA (IGEP COM AQUILA Internal internal maximum supply current) + Ivout (Vout maximum output currentused).* Read the resources detailed above to get more More informationat [{{#lst:Template:Links|IGEP_AQUILA_EXPANSION_ISEE_Hardware}} IGEP AQUILA EXPANSION Hardware Reference Manual] section 6.1
== System boot ==
=== BOOTMODE pin ===
*'''BOOTMODE''' is used to setup a boot priority sequence. BOOTMODE is equal to #SYS_BOOT4. It and it has a 100K PU signalresistor.
=== BOOTMODE design rules ===
* It is recommendable add a jumper header (or switch) series with a 100 Ohms 100R resistor tied to GND in your base board to manage boot priority sequence. For example: If you want to reflash the internal NAND memory from microSD card you will need to unmount the jumper.* Read the resources detailed above to get more More informationat [{{#lst:Template:Links|IGEP_AQUILA_EXPANSION_ISEE_Hardware}} IGEP AQUILA EXPANSION Hardware Reference Manual] section 6.1 and [{{#lst:Template:Links|IGEP_AQUILA_EXPANSION_ISEE_Hardware}} IGEP AQUILA EXPANSION Hardware Reference Manual] section 5.8.
== Resets ==
=== PMIC Resets ===
*'''PMIC_PWR_BTN''': Drive to Low low to turn off power supply (long press). Also, this pin can generate interrupts to AM335x from PMIC (short press).
=== AM335x Resets ===
*'''#RESET_OUT''' this pin is used to reset IC from IGEP COM AQUILA like LAN8720, it is managed by AM335x.
*'''#POR''' (Power on Reset) ''' is a cold Reset used during AM335x power-up and power-down sequencesequences, it this pin is managed by PMICinto IGEP COM AQUILA.*'''#RESET_IN'''is a warm Reset (also named fast reset).
=== Resets design rules===
* Resets lines are very useful to restart ICs (LDOs, Transceivers, Level shifters, etc.).
* The most priority reset is PMIC_PWR_BTN, so it is important to use at least this one.
* Read the resources detailed above to get more More informationat [{{#lst:Template:Links|IGEP_AQUILA_EXPANSION_ISEE_Hardware}} IGEP AQUILA EXPANSION Hardware Reference Manual] section 6.1 and [{{#lst:Template:Links|IGEP_AQUILA_EXPANSION_ISEE_Hardware}} IGEP AQUILA EXPANSION Hardware Reference Manual] section 5.7.
= AM335x peripherals=
This part can be helpful to expand correctly the AM335x peripherals. AM335x peripherals are expanded through SODIMM200 connector. Each SODIMM peripheral is and they are classified by:
*'''Dedicated lines''': These lines were designed to work with a specific functionality. Change its functionality its not possible or recommended.
*'''Optional lines''': These lines were designed to work with different functionalities. Select a AM335x Mux peripheral is used to select one functionality is controlled by AM335x MUX. Mux options are vast, at the beginning can be difficult and tedious change some configurations. Before configure mux, use the following tips to avoid problems: **Mux can connect multiple connectors pads at the same peripheral, this improper use can damage the processor. Before configure mux, revise that this peripheral is not used in other pads in your design. Read each peripheral chapter to implement your desing initial design and use the resources available above to revise your implementation.**Some peripherals are only available if you place or replace some resistances into IGEP COM AQUILA. See [{{#lst:Template:Links|IGEP_COM_AQUILA_ISEE_Hardware}} IGEP COM AQUILA Hardware Reference Manual] section 6.1 to get more information.**Some pads share internal peripheralscomponents. See [{{#lst:Template:Links|IGEP_COM_AQUILA_ISEE_Hardware}} IGEP COM AQUILA Hardware Reference Manual] section 6.1 to get more information.**Some SODIMM pads share an AM335x pad. See [{{#lst:Template:Links|IGEP_COM_AQUILA_ISEE_Hardware}} IGEP COM AQUILA Hardware Reference Manual] section 6.1 to get more information. 
Finally, the second part of this manual we are going to configure modify software to change MUX Mux configuration properly.
== Ethernet ==
=== Dedicated Ethernet ===
IGEP COM AQUILA uses LAN8720 Transceiver transceiver to add Ethernet communication. [{{#lst:Template:Links|IGEP_AQUILA_EXPANSION_ISEE_Schematic}} IGEP AQUILA EXPANSION Public Schematics ] adapts SODIMM lines for a RJ-45 connector.
{| align="JUSTIFY" cellpadding="1" border="1" style="width: 300px; height: 1px;"
|-
| '''Name'''
| '''SODIMM pinpad''' | '''AM335X pinAM335x pad'''
|-
| ETN_TXN
=== Ethernet design rules===
* For Ethernet data lines: TX differential lines (ETN_TXN (19) and ETN_TXP(21)) and RX differential lines (ETN_RXN (23) and ETN_RXP(25))**Equal length and symmetric with regards of shape, length, and via count.**Maintain symmetry and isolate 100R differential impedance in the layout traces.**Isolate differential pairs from nearby signals and circuitry to mantain maintain the signal integrity.*Among PHY vendors, the 25mm rule is considered good design practice for EMI considerations. The intention is to isolate the PHY from the magnetics.*Common mode capacitors in data lines are not necessary because IGEP COM AQUILA includes them.*If the magnetic is a discrete component: **The distance between the magnetic and the RJ-45 needs to have the highest consideration and be kept to under 25mm of separation.**The distance between the SODIMM and the magnetics needs to be 20mm or greater.
== USBs ==
=== Dedicated USB Host ===
IGEP COM AQUILA uses USB1 peripheral as USB 2.0 Host. [{{#lst:Template:Links|IGEP_AQUILA_EXPANSION_ISEE_Schematic}} IGEP AQUILA EXPANSION Public Schematics ] adapts SODIMM lines for an USB Type A receptacle.
{| align="JUSTIFY" cellpadding="1" border="1" style="width: 300px; height: 1px;"
|-
| '''Name'''
| '''SODIMM pinpad''' | '''AM335X pinAM335x pad'''
|-
| USBH_VBUSEN
=== Dedicated USB OTG ===
IGEP COM AQUILA uses USB0 peripheral as USB 2.0 OTG. [{{#lst:Template:Links|IGEP_AQUILA_EXPANSION_ISEE_Schematic}} IGEP AQUILA EXPANSION Public Schematics ] adapts SODIMM lines for an USB Type mini AB receptacle.
{| align="JUSTIFY" cellpadding="1" border="1" style="width: 300px; height: 1px;"
|-
| '''Name'''
| '''SODIMM pinpad''' | '''AM335X pinAM335x pad'''
|-
| USBOTG_ID
=== USB design rules===
* For USB data lines: USB1 (USBH_DM (29) and USBH_DP (31)) and USB0 (USBOTG_DM (35) and USBOTG_DP (37))**Maintain symmetry 90R +/- 15% differential impedance in the layout traces.**Equal length and symmetric with regards of shape, length, and isolate via count. **Isolate differential pairs from nearby signals and circuitry to mantain maintain the signal integrity.* VBUS overcurrent protection: USB power source current must not be pass 500mA, you should apply a protection into the baseboard. [{{#lst:Template:Links|IGEP_AQUILA_EXPANSION_ISEE_Schematic}} IGEP AQUILA EXPANSION Public Schematic Schematics] proposes a solution using TPS2051D IC.* IGEP COM AQUILA includes into each USB peripheral a VBUS overvoltage protector.
== I2C ==
=== Dedicated I2C ===
IGEP COM AQUILA uses I2C0 as a dedicated I2Cbus. I2C0 is shared with PMIC (0x2d address) and have has 5K Pull upsPU.
{| align="JUSTIFY" cellpadding="1" border="1" style="width: 300px; height: 1px;"
|-
| '''Name'''
| '''SODIMM pinpad''' | '''AM335X pinAM335x pad'''
|-
| I2C0_SCL
|-
| '''Name'''
| '''SODIMM pinpad''' | '''AM335X pinAM335x pad'''
|-
| I2C1_SCL
=== I2C design rules===
*I2C0 should be your default option, but it could be interesting use Optional I2Cs if your external peripheral need needs to use a huge transfer data connection.
*Optional I2Cs needs to be pulled up externally, 5K resistor tied to 3V3 must be necessary.
*IGEP COM AQUILA uses 3V3 voltage levels for I2C buses. In some cases, voltage translators like TXS0102 should be necessary to adapt voltage levels between ICs.
== SPI ==
|-
| '''Name'''
| '''SODIMM pinpad''' | '''AM335X pinAM335x pad'''
|-
| SPI0_CS0
*Optional SPI1 is not recommended to use, because some lines are shared with UART0 (Kernel Debug UART).
*IGEP COM AQUILA uses 3V3 voltage levels for SPI buses. In some cases, voltage translators like TXS0102 should be necessary to adapt voltage levels between ICs.
== MMC ==
|-
| '''Name'''
| '''SODIMM pinpad''' | '''AM335X pinAM335x pad'''
|-
| MMC0_CD
|-
| '''Name'''
| '''SODIMM pinpad''' | '''AM335X pinAM335x pad'''
|-
| MMC1_CD
=== MMC design rules ===
*MMC0 can not be used by SODIMM connector and on board uSD card reader at the same time.*MMC1 is not bootable during system boot processusing the bootmode pad.
*MMC1 bus is a good option to expand memory capacities or use as a backup memory.
*MMC bus needs PU resistors to avoid unknown signals. 10K PU resistors from tied to 3V3 source to must be necessary in lines:SD1_Dx, SD1_CD and SD1_CLK must be necessary.*OptionallyOptional: low resistance resistors could be necessary to equalize bus impedances. Use 10R series resistors to in lines: SD1_Dx, SD1_CD and SD1_CLK could be necessary.
== UART ==
|-
| '''Name'''
| '''SODIMM pinpad''' | '''AM335X pinAM335x pad'''
|-
| UART0_TX
=== UART design rules ===
* IGEP COM AQUILA uses UART0 as a Kernel Debug Peripheral. This UART is a an inexpensive method to detect and repair system issues. It is recommendable use another UART instead of UART0to preserve this functionality.* UART5_RTS and UART5_CTS are shared with MMC0 (uSD card reader), don't use both peripherals at the same time. Find more information at [{{#lst:Template:Links|IGEP_COM_AQUILA_ISEE_Hardware}} IGEP COM AQUILA Hardware Reference Manual] section 6.1* Don't use UART3_TX and UART3_RX in both SODIMM pinsIGEP COM AQUILA uses 3V3 voltage levels for UART buses. In some cases, voltage translators like TXS0102 should be necessary to adapt voltage levels between ICs.
== Video ==
|-
| '''Name'''
| '''SODIMM pinpad''' | '''AM335X pinAM335x pad'''
|-
| LCD_D0
=== Video design rules ===
*IGEP AQUILA EXPANSION Public Schematics adapts SODIMM video lines to HDMI Transmitter.
*Optionally: low capacitance common mode capacitors could be necessary to filter high frequency interferences. 47p capacitors tied added between video data lines and GND could for high frequency attenuation. Typical capacitance values should be necessarybetween 22pF and 47pF.
*Optionally: low resistance resistors could be necessary to equalize bus impedances. 10R series resistors to data and clock lines could be necessary.
== Audio ==
=== Optional Audio ===
IGEP COM AQUILA contains has a two MCASP transceivers. This bus transceiver, it is can be a digital multichannel audio serial port used to attach Digital Signal Processors (DSPs), by microprocessors, peripherals, DSPs and popular industry audio CODECs that implement the inter-IC sound bus standard (I2S) and Intel AC97 standard.[{{#lst:Template:Links|IGEP_AQUILA_EXPANSION_ISEE_Schematic}} IGEP AQUILA EXPANSION Public Schematics] uses this bus to send audio data to HDMI transceiver. 
{| align="JUSTIFY" cellpadding="1" border="1" style="width: 300px; height: 1px;"
|-
| '''Name'''
| '''SODIMM pinpad''' | '''AM335X pinAM335x pad'''
|-
| MCASP0_ACLKR
| 86
| B12
|-
| MCASP0_ACLKR
| 67
| J17
|-
| MCASP0_ACLKR
| 75
| U18
|-
| MCASP0_ACLKR
| 146
| V2
|-
| MCASP0_ACLKX
| 42 and 95
| A13
|-
| MCASP0_ACLKX
| 52
| K18
|-
| MCASP0_ACLKX
| 131
| U1
|-
| MCASP0_ACLKX
| 158
| V16
|-
| MCASP0_AHCLKR
| 85
| A14
|-
| MCASP0_AHCLKX
| 81
| K15
|-
| MCASP0_AXR0
| 83
| D12|-| MCASP0_AXR0| 54| L17|-| MCASP0_AXR0| 153| T16|-| MCASP0_AXR0| 133| U3
|-
| MCASP0_AXR1
| 84
| D12D13|-| MCASP0_AXR1| 53| L16|-| MCASP0_AXR1| 123| V4|-| MCASP0_AXR2| 86| B12|-| MCASP0_AXR2| 73| C12|-| MCASP0_AXR2| 68| H16|-| MCASP0_AXR2| 120| U4|-| MCASP0_AXR2| 146| V2|-| MCASP0_AXR3| 85| A14|-| MCASP0_AXR3| 87| C13|-| MCASP0_AXR3| 124| T5|-| MCASP0_AXR3| 122| V3
|-
| MCASP0_FSR
| 87
| C13
|-
| MCASP0_FSR
| 76
| J18
|-
| MCASP0_FSR
| 79
| V12
|-
| MCASP0_FSR
| 122
| V3
|-
| MCASP0_FSX
| 51
| B13
|-
| MCASP0_FSX
| 53
| L18
|-
| MCASP0_FSX
| 72 and 154
| U16
|-
| MCASP0_FSX
| 132
| U2
|}
=== Audio design rules ===
* The MCASP consists of independent transmitter and receiver sections with independent clock generation and frames synchronization. For example: If you only need to transfer audio the MCASP0_*R lines are not necessary to be used.
* The MCASP1 cannot be used.
== ADCs ==
=== Dedicated ADCs ===
AM335x includes a touchscreen controller and analog-to-digital converter subsystem. It is an 8-channel general-purpose analog-to-digital converter (ADC) with optional support for interleaving touchscreen (TS) conversions for a 4-wire, 5-wire, or 8-wire resistive panel. This controller can be configured for use in one of the following applications:
*8 general-purpose ADC channels
*4-wire TSC with 4 general-purpose ADC channels
*5-wire TSC with 3 general-purpose ADC channels
*8-wire TSC
 
{| align="JUSTIFY" cellpadding="1" border="1" style="width: 300px; height: 1px;"
|-
| '''Name'''
| '''SODIMM pinpad''' | '''AM335X pinAM335x pad'''
|-
| VADC
== PWM ==
=== Optinal PWM ===
AM335x includes six PWM peripherals with 16 bits time-base with Period and Frequency control.
{| align="JUSTIFY" cellpadding="1" border="1" style="width: 300px; height: 1px;"
|-
| '''Name'''
| '''SODIMM pinpad''' | '''AM335X pinAM335x pad'''
|-
| EHRPWM0A
| 51
| B13
|-
| EHRPWM1A
| 133
| U3
|-
| EHRPWM1B
| 120
| U4
|-
| EHRPWM2A
| T10
|}
=== PWM Design rules ===
== GPIOs ==
=== Optional GPIOs ===All the optional SODIMM pins can be used as GPIOs. The following table shows some recommended SODIMMS SODIMM pins to be used as GPIOs:
{| align="JUSTIFY" cellpadding="1" border="1" style="width: 300px; height: 1px;"
|-
| '''Name'''
| '''SODIMM pinpad''' | '''AM335X pinAM335x pad'''
|-
| KP_COL0
== CAN ==
CAN is a vehicle bus standard designed to allow microcontrollers and devices to communicate with each other within a vehicle without a host computer.
=== Optional CAN ===
{| align="JUSTIFY" cellpadding="1" border="1" style="width: 300px; height: 1px;"
|-
| '''Name'''
| '''SODIMM pinpad''' | '''AM335X pinAM335x pad'''
|-
| DCAN0_TX
| G18
|}
 
= Start a new hardware design of own IGEP AQUILA EXPANSION =
IGEP AQUILA EXPANSION is an Open Source board designed for fast prototyping of your own projects for IGEP COM AQUILA. You can use the following resources as a model for your design:
* [http://www.isee.biz/support/downloads/item/igep-aquila-expansion-mechanical-pcb IGEP AQUILA EXPANSION Mechanical Layout PCB] for Altium designers.
**Mechanical dimension implementation.
**Footprints
* [http://www.isee.biz/support/downloads/item/igep-aquila-expansion-mechanical-pdf IGEP AQUILA EXPANSION Mechanical Layout PDF]
**Mechanical dimension implementation.
 
{{Navigation/IGEP Technology Guides/Getting Started/Ending
|Next_Step=What can I do with IGEP COM AQUILA
4,199
edits