Open main menu
DAVE Developer's Wiki
β
Search
Changes
← Older edit
Newer edit →
Physical devices mapping (XUELK)
1,657 bytes added
,
15:27, 4 October 2016
no edit summary
{{InfoBoxBottom}}
This article details how physical devices are mapped to Linux device files in the context of the [[AXEL_ULite_and_SBC_Lynx_Embedded_Linux_Kit_(XUELK)|XUELK kit]].
=
==Console UART
=
==
{| class="wikitable"
|-
|-
|}
=
==Multi-protocol UARTs
=
==
=
===Ordering code: XUBxx0xxx0x
=
===
{| class="wikitable"
|-
|-
|}
=
===Ordering code: XUBxx0xxx1x
=
===
{| class="wikitable"
|-
|-
|}
==UART2 on mezzanine connector J53==
Please note that '''this UART is not available if WiFi/Bluetooth module is populated'''.
{| class="wikitable"
|-
! Processor's resource !! Connector !! Type !! Linux device file !! Notes
|-
| UART2 || J53 || 4-wire LVTTL || <code>/dev/ttymxc1</code> ||
|-
|}
==GPIOs on mezzanine connector J53==
{| class="wikitable"
|-
! Processor's resource !! Connector !! Type !! Linux device file !! Notes
|-
| MX6UL_PAD_UART5_RX_DATA__GPIO1_IO31 || J53 || LVTTL GPIO || GPIO #31 || see following examples
|-
| MX6UL_PAD_UART5_TX_DATA__GPIO1_IO30 || J53 || LVTTL GPIO || GPIO #30 || see following examples
|-
| MX6UL_PAD_LCD_DATA19__GPIO3_IO24 || J53 || LVTTL GPIO || GPIO #24 || see following examples
|-
| MX6UL_PAD_LCD_DATA22__GPIO3_IO27 || J53 || LVTTL GPIO || GPIO #27 || see following examples
|-
| MX6UL_PAD_LCD_DATA23__GPIO3_IO28 || J53 || LVTTL GPIO || GPIO #28 || see following examples
|-
|}
The following commands can be issued from command line in order to configure GPIO #30 as output:
<pre>
echo 30 > /sys/class/gpio/export
echo out > /sys/class/gpio/gpio30/direction
</pre>
To set the GPIO #30 to 0 logical value:
<pre>
echo 0 > /sys/class/gpio/gpio30/value
</pre>
To set the GPIO #30 to 1 logical value:
<pre>
echo 1 > /sys/class/gpio/gpio30/value
</pre>
The following commands can be issued from command line in order to configure GPIO #30 as input:
<pre>
echo 30 > /sys/class/gpio/export
echo in > /sys/class/gpio/gpio30/direction
</pre>
To read the GPIO value:
<pre>
cat /sys/class/gpio/gpio$i/value
</pre>
==WiFi/Bluetooth==
Please refer to [[XUELK-AN-001:_Using_WiFi-Bluetooth_combo_plugin_with_SBC_Lynx|this page]].
U0001
Bureaucrats
, dave_user,
Administrators
4,650
edits