Difference between revisions of "What can I do with IGEP SMARC EXPANSION"

From IGEP - ISEE Wiki

Jump to: navigation, search
(How to use IGEP SMARC Expansion RS232)
(Connection test)
Line 11: Line 11:
  
 
Connect the SMARC base RS232 RX2 and TX1 to host using a null modem cable. <br> <br>  
 
Connect the SMARC base RS232 RX2 and TX1 to host using a null modem cable. <br> <br>  
In the host side open a minicom program with: <br> <br>
+
In the host side open a minicom program with: <br>
 
  minicom -D /dev/ttyUSB0 (if you are using a usb-serial converter).
 
  minicom -D /dev/ttyUSB0 (if you are using a usb-serial converter).
  
Line 18: Line 18:
 
| [[Image:TEST_RS232_BASE0040.jpg|600px]]
 
| [[Image:TEST_RS232_BASE0040.jpg|600px]]
 
|}
 
|}
In the SMARC side write the commands: <br> <br>
+
In the SMARC side write the commands: <br>
 
  stty -F /dev/ttyO3 speed 115200 cs8 -cstopb -parenb (in order to configure the device /dev/ttyO3). <br>
 
  stty -F /dev/ttyO3 speed 115200 cs8 -cstopb -parenb (in order to configure the device /dev/ttyO3). <br>
 
  echo 'hello host' > /dev/ttyO3 (sent the message "hello host" to ttyO3). <br>
 
  echo 'hello host' > /dev/ttyO3 (sent the message "hello host" to ttyO3). <br>
 
  cat /dev/ttyO3 (recive the messages from host)
 
  cat /dev/ttyO3 (recive the messages from host)

Revision as of 18:09, 22 March 2017

How to use IGEP SMARC Expansion RS232

The IGEP SMARC Expansion RS232 through J800 connector.

RS232 BASE0040.jpg

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).
TEST RS232 BASE0040.jpg

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)