Difference between revisions of "What can I do with IGEP SMARC EXPANSION"
From IGEP - ISEE Wiki
(→Connection test) |
(→How to use IGEP SMARC Expansion RS232) |
||
Line 1: | Line 1: | ||
− | == How to use IGEP SMARC Expansion RS232 == | + | == How to use IGEP SMARC Expansion RS232 (am335x SMARC module) == |
The IGEP SMARC Expansion RS232 through J800 connector. <br> <br> | The IGEP SMARC Expansion RS232 through J800 connector. <br> <br> |
Revision as of 12:30, 23 March 2017
How to use IGEP SMARC Expansion RS232 (am335x SMARC module)
The IGEP SMARC Expansion RS232 through J800 connector.
Connection test
Connect the SMARC base RS232 RX2 and TX1 to host using a null modem cable.
In the host side open a minicom program with:
minicom -D /dev/ttyUSB0 (if you are using a usb-serial converter).
In the SMARC side write the commands:
stty -F /dev/ttyO3 speed 115200 cs8 -cstopb -parenb (in order to configure the device /dev/ttyO3).
echo 'hello host' > /dev/ttyO3 (sent the message "hello host" to ttyO3).
cat /dev/ttyO3 (recive the messages from host)