Personal tools

Log in

Changes

From IGEP - ISEE Wiki

Jump to: navigation, search

Mux configuration

1,582 bytes added, 10:55, 17 February 2014
no edit summary
= Overview =
This How-To wiki is meant to be a starting point for people to learn configure mux for IGEP devices as quickly and easily as possible. For this how-This wiki contains:<br> *Mux characteristics summary*Tips to avoid problems*Ways to i used configure mux*Tables that links peripherals and connectors for IGEPv2 and IGEP MODULE  There are three ways to configure mux in IGEP Boards based in OMAP35xx and DM37xx:<br>  *[[Mux_instructions|Configuring MUX from OS User Space]]. This mode has a issue, when your system reboot or shutdown you will need to configure again. [[http://releasesHow to set up UART2 in J990#First_way|Example]].linaro*Configuring MUX by using kernel commandline buddies.org/platform/linaro-m/headless/final/linaro-m-headless-tar-20101108-This way is not avaliable in some cases. [[How to set up UART2 in J990#Second_way|Example]] and [[Linux Kernel 2.tar6.37.gz Linaro Headlessy#Kernel_Parameters|buddies parametres] ].<br> *Editing and Ubuntu 10compile kernel sources.04 with Linaro Toolchain[[How to set up UART2 in J990#Third_way|Example]]. <br> 
= Introduction =
Please contribute.
[http://www.ti.com/generallit/docsug/litspruf98x/getliteraturespruf98x.tsp?literatureNumber=spruf98v&fileType=pdf More information] about mux.
= Configure Mux =
*Mux can connect multiple connectors at the same peripheral, this improper use can damage the processor. Before configure mux, revise that this peripheral is not used in other pads. See schematics or [[Connectors Summary|connectors summary]] for more information.
*Some peripherals are only available if you place or replace some resistances. See schematics for more information.<br>
*Some connectors share multiples peripherals like OMAP, WIFI/BT combo, etc. You should disable unused peripherals to avoid interferences.&nbsp; For example: if you want to control WIFI module via J990 disable OMAP or if you want use [[How to set up UART2 in J990|UART2 at j990]] disable Bluetooth. See schematics, of board or [[Connectors Summary|connectors summary]] or [[Mux_instructions#Disable_Peripherals|how-to disable peripherals]] or [[How_to_use_GPIOs|how-to use gpios]] for more information.
There are three ways to configure mux in IGEP Boards based in OMAP35xx and DM37xx:<br> === IGEPv2 ===
*Editing OS User Space. This mode has a issue, when your system reboot or shutdown Next table pretends help you will need to configure again. [[How to set up UART2 in J990#First_way|Example]]IGEPv2. *Using kernel buddies. This way is not avaliable in First column shows some casesOMAP35xx/DM37xx peripherals and first row shows all IGEPv2 connectors. [[How to set up UART2 in J990#Second_way|Example]] Read articles about connector and [[Linux Kernel 2peripheral before use them.6.37.y#Kernel_Parameters|buddies parametres]]Each configuration can take different solutions.<br> *Editing and compile kernel sources. [[How There are some connectors than have more peripherals available, but they don't have all signals to set up UART2 in J990#Third_way|Example]]use it.<br>Table shows four answers:&nbsp;
=== IGEPv2 === Next table pretends help you to configure IGEPv2*"'''Yes, default configuration(utility)'''": Peripheral enabled by default. First column "utility" shows some OMAP35xx/DM37xx peripheralsif this peripheral is used.<br> *"'''Yes, first row shows all IGEPv2 connectors. Note that not all peripherals are avaliable in all connectors and each default configuration can take diferent solutions, for example(information)'''": some peripherals are only avaliable if you place or replace some resistances, some peripherals are avaliable if Peripheral don't enabled by default. Maybe you need to disable other one<br> *"'''No, other configurations donvia hardware'''t have any problem": Not available, etcbut via hardware (placing or replacing some resistances) can be enabled. There are some connectors than have more peripherals avaliable, but they don<br> *"'''No'''t have all signals to use it. "
{| cellspacing="1" cellpadding="1" border="1" style="width: 933px; height: 409px;"
|-
| <br>
| [[Connectors Summary#J990_connector|J990]]
| [[Connectors Summary#J960_connector|J960]]
| [[Connectors Summary#JC30_connector|JC30]]
| [[Connectors Summary#JA42_connector|JA42]]
| [[Connectors Summary#JA41_connector|JA41]] | [http://en.wikipedia.org/wiki/Test_point TP]
|-
| [[Peripherals Summary#UART|UART1]]
| No
| Yes, not default configuration ([[Mux instructions#UART1_in_J990UART1_in_J960|Yes: disable RS485]] )
| No
| No
| No
| No
| Yes: , not default configuration ([[Mux_instructions#TFP410| Nodisable DVI]])
|-
| [[Peripherals Summary#UART|UART2]]
| Yes, not default configuration ([[How to set up UART2 in J990|Yes: disable BT; not default configurationBluetooth]] )
|
Yes: No, [[How to use UARTs#RS232_Schematic_Igep_V2|via hardware]],
[[Mux instructions#Bluetooth|disable BTBluetooth]]
| No
| No
| No
| [[Peripherals Summary#UART|UART3]]
| No
| Yes: , default configuration ([[Mux instructions#UART3_in_J960|Serial debug]])
| No
| No
| No
| No
| Yes: , not default configuration ([[Mux_instructions#TFP410| Nodisable DVI]])
|-
| [[Peripherals Summary#UART|UART4]]
| No
| No
| No
| [[Peripherals Summary#GPIO|GPIO]]
|
Yes: , default configuration ([[Mux instructions#GPIO_in_J990|info]])
| No
| No
| Yes: , not default configuration ([[Mux instructions#GPIO_in_J990|disable JTAG]]) | Yes: , default configuration | Yes: , default configuration | Yes: , not default configuration | ([[Mux instructionsMux_instructions#GPIO_in_TPTFP410|Yesdisable DVI]])
|-
| [[Peripherals Summary#SPI|McSPI1]]
| No
| No
| Yes: , default configuration | No
| No
|-
| [[Peripherals Summary#SPI|McSPI2]]
| No
| No
| No
| [[Peripherals Summary#SPI|McSPI3]]
|
Yes: dissable WIFI; , not default configuration ([[Mux instructions#WIFI|disable WIFI]])
| No
| No
| No
| Yes: , not default configuration ([[Mux_instructions#TFP410| Nodisable DVI]])<br>
|-
| [[Peripherals Summary#SPI|McSPI4]]
| Yes: , not default configuration ([[Mux instructions#GPIO_in_J990| No disable GPIOs]])
| No
| No
|-
| [[Peripherals Summary#BSP|McBSP1]]
| Yes: , not default configuration ([[Mux instructions#GPIO_in_J990| No disable GPIOs]])
| No
| No
|-
| [[Peripherals Summary#BSP|McBSP2]]
| No
| No
| No
|-
| [[Peripherals Summary#BSP|McBSP3]]
| Yes: used by BT audio; , default configuration ([[Mux instructions#TP65950_PCM_VSP| No Bluetooth audio]])
| No
| No
| No
| No
| Yes: , not default configuration ([[Mux instructions#GPIO_in_J990| No disable GPIOs]])
| No
|-
| [[Peripherals Summary#BSP|McBSP5]]
| No
| No
| No
|-
| [[Peripherals Summary#MMC|MMC1]]
| No
| No
| No
|-
| [[Peripherals Summary#MMC|MMC2]]
| Yes: used by WIFI; , default configuration ([[Mux instructions#WIFI| No WIFI]])
| No
| No
|-
| [[Peripherals Summary#MMC|MMC3]]
| No
| No
| No
|-
| [[Peripherals Summary#I2C|I2C1]]
| No
| No
| No
|-
| [[Peripherals Summary#I2C|I2C2]]
| Yes: , default configuration
| No
| No
| No
| Yes: No, [[Connectors Summary#JC30_connector|via hardware | No ]]
| No
| No
| No
| No
| Yes: shared with , default configuration (DVI | No)
|-
| [[Peripherals Summary#I2C|I2C4]]
| No
| No
| No
|}
'''(improve TP, don't have sense when other connectors is available)'''=== IGEP MODULE ===
=== Next table pretends help you to configure IGEP MODULE ===. First column shows some OMAP35xx/DM37xx peripherals and first row shows all IGEP MODULE connectors. Read articles about connector and peripheral before use them. Each configuration can take different solutions. <br> There are some connectors than have more peripherals available, but they don't have all signals to use it. <br> Table shows four answers:&nbsp;
Next table pretends help you to configure IGEP MODULE*"'''Yes, default configuration(utility)'''": Peripheral enabled by default. First column "utility" shows some OMAP35xx/DM37xx peripheralsif this peripheral is used.<br> *"'''Yes, first row shows all IGEP MODULE connectors. Note that not all peripherals are avaliable in all connectors and each default configuration can take diferent solutions, for example(information)'''": some peripherals are only avaliable if you place or replace some resistances, some peripherals are avaliable if Peripheral don't enabled by default. Maybe you need to disable other one<br> *"'''No, other configurations donvia hardware'''t have any problem": Not available, etcbut via hardware (placing or replacing some resistances) can be enabled. There are some connectors than have more peripherals avaliable, but they don<br> *"'''No'''t have all signals to use it. "
{| cellspacing="1" cellpadding="1" border="1" style="width: 823px933px; height: 190px;"
|-
| <br>
| [[Connectors Summary#J1_connector|J1]]
| [[Connectors Summary#J4_connector|J4]]
|-
| [[Peripherals Summary#UART|UART1]]
| Yes, not default configuration (disable DSS) | Yes, default configuration | No
|-
| [[Peripherals Summary#UART|UART2]]
| Yes, not default configuration(enable: TX and RX) | No | No
|-
| [[Peripherals Summary#UART|UART3]]
| Yes, default configuration | No | No
|-
| [[Peripherals Summary#UART|UART4]]
| No | Yes, not default configuration(disable: GPIO_64 and GPMC_WAIT3) | No
|-
| [[Peripherals Summary#GPIO|GPIO]]
| Yes, default configuration | Yes, default configuration | Yes, default configuration
|-
| [[Peripherals Summary#SPI|McSPI1]]
| No | Yes, default configuration | No
|-
| [[Peripherals Summary#SPI|McSPI2]]
| No | No | No
|-
| [[Peripherals Summary#SPI|McSPI3]]
| Yes, not default configuration (disable DSS) | No | No
|-
| [[Peripherals Summary#SPI|McSPI4]]
| No | No | No
|-
| [[Peripherals Summary#BSP|McBSP1]]
| No | No | No
|-
| [[Peripherals Summary#BSP|McBSP2]]
| No | No | No
|-
| [[Peripherals Summary#BSP|McBSP3]]
| Yes, not default configuration (disable UART2) | No | No
|-
| [[Peripherals Summary#BSP|McBSP4]]
| No | Yes, not default configuration (disable GPMCs) | No
|-
| [[Peripherals Summary#BSP|McBSP5]]
| No | Yes, not default configuration (disable GPIOs) | No
|-
| [[Peripherals Summary#MMC|MMC1]]
| No | No | No
|-
| [[Peripherals Summary#MMC|MMC2]]
| No | No | No
|-
| [[Peripherals Summary#MMC|MMC3]]
| No | No | Yes, not default configuration (disable GPIOs)
|-
| [[Peripherals Summary#I2C|I2C1]]
| No | No | No
|-
| [[Peripherals Summary#I2C|I2C2]]
| No | No | No
|-
| [[Peripherals Summary#I2C|I2C3]]
| Yes, default configuration (J5) | No | Yes, default configuration (J1)
|-
| [[Peripherals Summary#I2C|I2C4]]
| No | No | No
|}
'''Under construction'''  [[Category:Tutorials]] [[Category:Work_in_progress]] [[Category:CommunicationsPeripherals]]