Changes

How to set up UART2 in J990

23 bytes added, 17:51, 25 January 2012
no edit summary
More information about [http://en.wikipedia.org/wiki/UART UART].'''<br>'''
There are two modes to configure UART2 in J990: via user space (fast mode) or editing kernel source and compile it (slow mode).
= Feedback and Contributing =
At any point, if you see a mistake you can contribute to this How-To.<br>
=== Configure IGEP ==Fast Mode<br> =
Fast Mode, set up UART2 until system reboot or halt. Using space to configure mux and disabling bluethoot. Default kernel binaries and source have disabled TWL4030 PCM voice interface output pins to high impedance, otherwise this module forces the level of mcbsp3_fsx and mcbsp3_clkx pins. To make sure, go to ~/sound/soc/codecs/twl4030.c file already read:
<pre> 0x04, /* REG_VOICE_IF (0xF) */</pre>
=== Configure IGEP ===
 
Make sure that IGEPv2 Expansion is disabled, go to igep.ini file:
<pre>;buddy=igep0022 </pre>
<pre>echo 137 &gt; /sys/class/gpio/export </pre>
Set GPIO 137 to low value to reset bluethoot:
<pre>echo 0 &gt; /sys/class/gpio/gpio137/value</pre>Check that:
<pre>root@localhost:/sys/class/gpio# cat /sys/class/gpio/gpio137/value
0
root@localhost:/sys/class/gpio#
</pre>
4,199
edits