S B C X U s e r ' s G u i d e
v . 1 . 0 . 1
5.3.3.2
Accessing the peripheral
UART4 is mapped to /dev/ttymxc4 device in Linux:
root@axel-lite:~# dmesg | grep ttymxc4
[ 1.453534] 21f4000.serial: ttymxc4 at MMIO 0x21f4000 (irq =
62) is a IMX
Serial ports can be used through the standard serial programming API.
For detailed information, please refer to the Serial Programming HOWTO
at tldp.org/HOWTO/Serial-Programming-HOWTO/index.html.
A simple loopback test in RS232 mode is the following:
root@axel-lite:~# stty -F /dev/ttymxc4 115200 crtscts -echo
root@axel-lite:~# cat /dev/ttymxc4 &
[1] 745
root@axel-lite:~# echo "Test loopback" > /dev/ttymxc4
root@axel-lite:~# Test loopback
December, 2019
34/139
Содержание SBC AXEL
Страница 2: ...S B C X U s e r s G u i d e v 1 0 1 Page intentionally left blank December 2019 2 139 ...
Страница 16: ...Fig 2 SBCX block diagram S B C X U s e r s G u i d e v 1 0 1 2 2 Block Diagram December 2019 16 139 ...
Страница 18: ...Fig 3 Assembly view top S B C X U s e r s G u i d e v 1 0 1 2 4 Assembly view top December 2019 18 139 ...
Страница 19: ...Fig 4 Assembly view bottom S B C X U s e r s G u i d e v 1 0 1 2 5 Assembly view bottom December 2019 19 139 ...
Страница 23: ...S B C X U s e r s G u i d e v 1 0 1 3 1 2 Drills position and size December 2019 23 139 Fig 6 SBCX drills ...
Страница 105: ...S B C X U s e r s G u i d e v 1 0 1 December 2019 105 139 ...
Страница 106: ...S B C X U s e r s G u i d e v 1 0 1 December 2019 106 139 ...
Страница 107: ...S B C X U s e r s G u i d e v 1 0 1 December 2019 107 139 Fig 44 QtQuick Hello World ...
Страница 119: ...S B C X U s e r s G u i d e v 1 0 1 December 2019 119 139 ...
Страница 121: ...S B C X U s e r s G u i d e v 1 0 1 December 2019 121 139 ...
Страница 139: ...S B C X U s e r s G u i d e v 1 0 1 December 2019 139 139 ...