Personal tools

Log in

Changes

From IGEP - ISEE Wiki

Jump to: navigation, search

How to set up UART2 in J990

144 bytes added, 12:38, 22 August 2012
m
no edit summary
{{Message/Information Message|title=TITLE|message=This How-To was tested under Kernel 2.6.35.y but content are valid for Kernel 2.6.37.y}}
= Overview =
There are three modes to configure UART2 in J990: via user space (first way), editing only igep.ini (second way) or editing kernel source and compile it (third way).
'''NOTE: '''UART2 in j990 connector has CMOS voltages (0V-1V8).
= Feedback and Contributing =
= First way<br> =
First way: this mode has a issue, when your system reboot or shutdown you will need to configure again. Using user space to configure mux and disable bluetooth. <br>
=== Configure IGEP ===
root@localhost:/sys/kernel/debug/omap_mux#
</pre>
Mode will be 1 (uart mode)
= Second way<br> =
'''NOTE:''' Only configures UART2_TX(6) and UART2_RX(8). You can not use UART2_CTS(4) AND UART2_RTS(10) which are usually referred to as hardware flow control. For example you can use RS232 but not RS485 peripheral. Don't use minicom with hardware flow control enable. <br> Go to igep.ini file, replaced by or type this:
<pre>buddy=igep0022
buddy.modem=yes </pre> 
= Third way =
OMAP3_MUX(MCBSP3_FSX, OMAP_MUX_MODE1 | OMAP_PIN_INPUT),
OMAP3_MUX(MCBSP3_CLKX, OMAP_MUX_MODE1 | OMAP_PIN_INPUT),
</pre> 
=== Compile kernel source code ===
Use this [[Linux Kernel 2.6.35.y|tutorial]] (Kernel) and this [http://labs.igep.es/index.php/The_IGEP_X-loader other] (IGEPxloader) to install Linaro Headless with your custom kernel in SD card.&nbsp; You can compile the IGEPxloader, but is not necessary.<br>
= Test UART2 in J990<br> =
<br>
{| cellspacing="1" cellpadding="1" borderwidth="1200" widthborder="2001"
|-
| Pin
4,199
edits