HE910 usif0 vs ttyACM0

5 thoughts on “HE910 usif0 vs ttyACM0

  1. Hi,

    we have a problem usign ppp and HE910 connected using USIF0.

    Serial port USIF0 is connected to a uart using four signals: TX,RX,RTS and CTS.

    The module is also connected to USB for testing.

    Using minicom I get on /dev/ttyACM0:

    atz
    OK
    AT+CGDCONT=1,”IP”,”MYOP.TIM.IT”
    OK
    atd*99***1#
    CONNECT
    ~}#þ!}!}!} }8}”}&} } } } }#}$þ#}%}&7}8þ}’}”}(}”L~~}#þ!}!}!} }8}”}&} } } } }#   

     

    And ppp/chat works perfectly usign script.I get my IP.

    If i try the same on /dev/ttyS3i get:

     atz
    OK
    AT+CGDCONT=1,”IP”,”MYOP.TIM.IT”
    OK
    atd*99***1#
    NO CARRIER
    The NO CARRIER signals is generated after 6-7 seconds

    I tried playing with flow control both AT&K0 and AT&K3 with no luck, still no carrier.

    Am I missing something? Do I need some particular configuration on USIF0?

    Thanks for your support.

      1. Hi,
        AT+CGMR returns 12.00.003
        AT+CGMM returns  HE910

        Serial port configuration:
        stty -F /dev/ttyS3 returns

        speed 115200 baud;

        min = 1; time = 5;
        ignbrk -brkint -icrnl -imaxbel
        -opost -onlcr
        -isig -icanon -iexten -echo -echoe -echok -echoctl -echoke

        Usb-Serial port configuration
        stty -F /dev/ttyACM0 returns

        speed 115200 baud;
        min = 1; time = 5;
        ignbrk -brkint -icrnl -imaxbel
        -opost -onlcr
        -isig -icanon -iexten -echo -echoe -echok -echoctl -echoke

        Using minicom under angstrom linux which is like hyperterminal for windows
        With both I configure the modem
        AT+CPIN=*****
        AT+COPS=1,2,22201,0
        AT+CGDCONT=1,”IP”,”******.TIM.IT”

        Then test field strenght:
        AT+CSQ returns
        +CSQ: 11,00

        Then I try to connect using:
        ATD*99***1#
        on /dev/ttyACM0 i get a CONNECT answer and
        on /dev/ttyS3 it lags 6-7 seconds then I get a NO CARRIER

        1. Hi Edoardo,

           

          please check the RTS status of the serial port.

           

          If the RTS is OFF (high on module side) the PPP cannot start because blocked by the hw flow control.

          RTS should be ON (0V) when ATD*99***1# is issued.

           

           

          1. Hi,

            thanks for your support. After your post we had a bit more time to investigate  the serial port configuration on the board files and the kernel. We found a problem in the initialization of the periferal. Now the modem connects also using the serial port.

            Thanks for your help.

             

            Edoardo