<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic ttyACM0 can send but doesn't receive data in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/ttyACM0-can-send-but-doesn-t-receive-data/m-p/541290#M85359</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am using the USB Host port on the IMX6SX Sabre board with Android 5.1.&amp;nbsp; It is able to receive and send data using a ttyUSB0 device such as a USB to Serial Converter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, when using a modem (ex. Telit HE910) that uses the CDC-ACM driver, the ttyACM0 port is only able to send messages to the modem, and not able to receive messages.&amp;nbsp; I confirmed this, by using Chat and sent a message to change the APN, and chat times out waiting for the OK.&amp;nbsp; I disconnected the modem and connected it to a PC and used PuTTY to confirm that the APN had been updated!&amp;nbsp; So the ttyACM0 port is able to send. RIL and PPP services are disabled and lsof only shows the only ttyACM0 port in use is by the tools I am using through the shell (such as Microcom, chat, etc...) so it doesn't appear that another application is clearing the incoming data from ttyACM0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I close the command line tool, and associate the ttyACM0 port to an Android application like a serial port example (&lt;A href="https://github.com/felHR85/SerialPortExample" title="https://github.com/felHR85/SerialPortExample"&gt;https://github.com/felHR85/SerialPortExample&lt;/A&gt;, Note: append "\r" to data written in onClick()), the Android application removes the ttyACM0 port and establishes a connection to the modem.&amp;nbsp; I am then able to send AT commands and receive responses on the NXP board.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there an issue with ttyACM0 driver setup in the iMX kernel?&amp;nbsp; Has anyone had similar problems in not receiving CDC-ACM data while being able to send data to a ttyACM0 port and found any workarounds to what I am experiencing?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 26 Jul 2016 20:32:12 GMT</pubDate>
    <dc:creator>btjosh</dc:creator>
    <dc:date>2016-07-26T20:32:12Z</dc:date>
    <item>
      <title>ttyACM0 can send but doesn't receive data</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/ttyACM0-can-send-but-doesn-t-receive-data/m-p/541290#M85359</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am using the USB Host port on the IMX6SX Sabre board with Android 5.1.&amp;nbsp; It is able to receive and send data using a ttyUSB0 device such as a USB to Serial Converter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, when using a modem (ex. Telit HE910) that uses the CDC-ACM driver, the ttyACM0 port is only able to send messages to the modem, and not able to receive messages.&amp;nbsp; I confirmed this, by using Chat and sent a message to change the APN, and chat times out waiting for the OK.&amp;nbsp; I disconnected the modem and connected it to a PC and used PuTTY to confirm that the APN had been updated!&amp;nbsp; So the ttyACM0 port is able to send. RIL and PPP services are disabled and lsof only shows the only ttyACM0 port in use is by the tools I am using through the shell (such as Microcom, chat, etc...) so it doesn't appear that another application is clearing the incoming data from ttyACM0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I close the command line tool, and associate the ttyACM0 port to an Android application like a serial port example (&lt;A href="https://github.com/felHR85/SerialPortExample" title="https://github.com/felHR85/SerialPortExample"&gt;https://github.com/felHR85/SerialPortExample&lt;/A&gt;, Note: append "\r" to data written in onClick()), the Android application removes the ttyACM0 port and establishes a connection to the modem.&amp;nbsp; I am then able to send AT commands and receive responses on the NXP board.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there an issue with ttyACM0 driver setup in the iMX kernel?&amp;nbsp; Has anyone had similar problems in not receiving CDC-ACM data while being able to send data to a ttyACM0 port and found any workarounds to what I am experiencing?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Jul 2016 20:32:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/ttyACM0-can-send-but-doesn-t-receive-data/m-p/541290#M85359</guid>
      <dc:creator>btjosh</dc:creator>
      <dc:date>2016-07-26T20:32:12Z</dc:date>
    </item>
    <item>
      <title>Re: ttyACM0 can send but doesn't receive data</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/ttyACM0-can-send-but-doesn-t-receive-data/m-p/541291#M85360</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Did you solve this problem?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Jun 2018 07:14:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/ttyACM0-can-send-but-doesn-t-receive-data/m-p/541291#M85360</guid>
      <dc:creator>karl_thoren</dc:creator>
      <dc:date>2018-06-12T07:14:37Z</dc:date>
    </item>
  </channel>
</rss>

