[SOLVED] Interaction between SAM3X8E and iMX6 processors

Discussion in 'UDOO QUAD' started by Arturo Lovera, Jun 27, 2016.

  1. Arturo Lovera

    Arturo Lovera New Member

    Joined:
    May 23, 2016
    Messages:
    5
    Likes Received:
    1
    Hi guys! i hope u r fine! i need to comunicate the processors SAM3X8E and iMX6.

    I use SAM3X8E to get data and iMX6 to process the data, i found the next script on the forum and internet:

    stty -F /dev/ttymxc3 cs8 115200 ignbrk -brkint -icrnl -imaxbel -opost -onlcr -isig -icanon -iexten -echo -echoe -echok -echoctl -echoke noflsh -ixon -crtscts

    My question is: How to use this script?

    i hope you understand my question
     
  2. Andrea Rovai

    Andrea Rovai Well-Known Member

    Joined:
    Oct 27, 2014
    Messages:
    1,703
    Likes Received:
    240
    Arturo Lovera likes this.
  3. waltervl

    waltervl UDOOer

    Joined:
    Dec 12, 2015
    Messages:
    2,314
    Likes Received:
    580
    And to read data from the SAM3X8E and process it on the iMX6 you can use the serial connection /dev/ttymxc3 between the 2 processors You better take a look at the Serial examples http://www.udoo.org/docs/Serial_Libraries/index.html how to process arduino data on the linux side with Python, C, PHP and Java
     
  4. Arturo Lovera

    Arturo Lovera New Member

    Joined:
    May 23, 2016
    Messages:
    5
    Likes Received:
    1
    thank you guys! i have the comunnication between processors, do you have another example code?
     
  5. waltervl

    waltervl UDOOer

    Joined:
    Dec 12, 2015
    Messages:
    2,314
    Likes Received:
    580
  6. Arturo Lovera

    Arturo Lovera New Member

    Joined:
    May 23, 2016
    Messages:
    5
    Likes Received:
    1
    @waltervl thank you so much for your support!!!
     
    waltervl likes this.

Share This Page