ASC0 as an AT interface | Telit Cinterion IoT Developer Community
October 10, 2016 - 9:25am, 2200 views
Hello,
I cannot use ASC0 of my BGS5T as an AT interface. I cannot receive at responses. I can do it from USB port.
I checked the settings of at^scfg, at+ipr and at^spow. They seem ok. I tried with flow control as none and flow control as RTS/CTS from terminal program. It doesn't work in both situations.
I have another BGS5T. It doesn't work for flow control none but it works when I select flow control as RTS/CTS. I think, RTS/CTS control is needed for ASC0 when using PC terminal program.
What can be the problem?
scfg, ipr and spow answers are below:
at^spow?
^SPOW: 1,0,0
OK
at+ipr?
+IPR: 115200
OK
at^scfg?
^SCFG: "Call/ECC","0"
^SCFG: "GPRS/AutoAttach","enabled"
^SCFG: "Gpio/mode/ASC1","std"
^SCFG: "Gpio/mode/DAI","gpio"
^SCFG: "Gpio/mode/DCD0","std"
^SCFG: "Gpio/mode/DSR0","std"
^SCFG: "Gpio/mode/DTR0","std"
^SCFG: "Gpio/mode/FSR","gpio"
^SCFG: "Gpio/mode/PULSE","gpio"
^SCFG: "Gpio/mode/PWM","gpio"
^SCFG: "Gpio/mode/RING0","std"
^SCFG: "Gpio/mode/SPI","rsv"
^SCFG: "Gpio/mode/SYNC","std"
^SCFG: "Ident/Manufacturer","Cinterion"
^SCFG: "Ident/Product","BGS5"
^SCFG: "MEShutdown/Fso","0"
^SCFG: "MEopMode/SoR","on"
^SCFG: "Radio/Band","15"
^SCFG: "Radio/OutputPowerReduction","4"
^SCFG: "Serial/Interface/Allocation","1","1"
^SCFG: "Serial/USB/DDD","0","0","0409","1E2D","0059","Cinterion Wireless Modules","Cinterion BGx USB Com Port",""
^SCFG: "Tcp/IRT","3"
^SCFG: "Tcp/MR","10"
^SCFG: "Tcp/OT","6000"
^SCFG: "Tcp/WithURCs","on"
^SCFG: "Trace/Syslog/Otap","0"
^SCFG: "URC/Ringline","local"
^SCFG: "URC/Ringline/ActiveTime","2"
^SCFG: "Userware/Autostart","1"
^SCFG: "Userware/Autostart/Delay","100"
^SCFG: "Userware/Passwd",
^SCFG: "Userware/Stdout","usb1",,,,"off"
^SCFG: "Userware/Watchdog","0"
OK
Hello,
You should be using flow control for ASC0 with the terminal. According to the settings the interface should be enabled and power saving for UART is off. The IPR setting is not global but only for the interface on that it is configured. Please check other baudrates.
Regards,
Bartłomiej
Hello Bartlomiej,
Thanks for the answer.
I had thought ipr setting is common for all ports:asc0,asc1 and usb.
I have tried asc0 with different baudrates as you recommended and found ipr set rate. It was 460800.
I don't know how it was set to that value. Maybe I set it when testing at commands and forgot.
Now I have set ipr value to 115200 and selecting 115200 from terminal program, it is ok.
Best Regards,
Hello Bartlomiej,
I have noticed a thing about this issue today.
I had written in my previous message that asc0 baudrate was 460800 when I tried at commands at 115200. I had thought that, it was maybe because I set it mistakenly when working.
Today, I had same problem again. at interface didn't response from asc0 at 115200 which was working previously. I tried from terminal at 460800 and it worked. I realized how it changed again. Yesterday, I reinstalled IMP Debug Connection program to my PC. I selected ASC0 of my BGS5T as communication channel during installation. This installation sets the baudrate as 460800 and as a result of this, sets the IPR setting of that port as 460800.
Best Regards,
I didn't notice such a behaviour but it's been a long time since I've installed the IMP Debug Connection last time.
Regards,
Bartłomiej