ASC1 Default Configuration EHS6T | Telit Cinterion IoT Developer Community
March 30, 2015 - 6:43pm, 5122 views
hi...
I'm trying to wire up the ASC1 on the EHS6T. From a software prespective should this work out of the box, or is the default behaviour to view the pins as GPIO? Also, should I be able to issue ATI commands from ASC1?
Here is my configuration:
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/HSIC","rsv"
^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","EHS6"
^SCFG: "MEShutdown/Fso","0"
^SCFG: "MEopMode/SoR","off"
^SCFG: "Radio/Band","511"
^SCFG: "Radio/OutputPowerReduction","4"
^SCFG: "Serial/Interface/Allocation","1","1"
^SCFG: "Serial/USB/DDD","0","0","0409","1E2D","0058","Cinterion Wireless Modules","EHx",""
^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","0"
^SCFG: "Userware/DebugInterface","0.0.0.0","0.0.0.0","0"
^SCFG: "Userware/DebugMode","off"
^SCFG: "Userware/Passwd",
^SCFG: "Userware/Stdout","usb4",,,,"off"
^SCFG: "Userware/Watchdog","0"
Right now I'm not sure whether my wiring is wrong or the software configuration.
many thanks
Liam
Hello,
The configuration seems to be fine.
^SCFG: "Gpio/mode/ASC1","std" - ASC1 lines are configured as ASC1.
Maybe the power saving on serial interfaces is activated (AT^SPOW).
Are you able to issue commands on ASC0? If so it is probably the wiring.
Best regards,
Bartłomiej
thank you Bartłomiej...
The power saving is disabled.
I can issue commands no problem on ASC0.
I have made up a simple serial cable connecting a DB9 to a Weidmuller connector. I have wired up only the following:
GND
TXD1
RXD1
CTS1
RTS1
I have buzzed out all of the wires successfully.
What serial settings should I use on the terminal emulator? I'm using 115200, 8, N, 1, CTS/RST flow control but I'm getting absolutely nothing either on startup or by typing an 'AT' command.
Hello,
The terminal settings 115200, 8, N, 1 are fine.
Try to disable CTS/RST flow control. Switch TX with RX for test.
You can try to redirect the System.out to ASC1 and check if you can receive something using only GND and RX.
Regards,
Bartłomiej
Hi everybody,
I have the same problem...I can easily send data through ASC0, (RX, TX and GND), but there is no way to use ASC1 from the pins 2,3 and 4 of the 12-pin GPIO connector. My at^scfg configuration is the same as Liam. In the code I simply change COM0 (corresponding to ASC0) into COM1. Is it right? In addition, my understanding is that in the EHS6 terminal (COM0) is a high-level RS-232 interface, whereas ASC1 (COM1) is a low level (TTL/CMOS, 0-1.8V), isn’t it?
many thanks
Eugenio
Hello,
Please check first if you are able to issue AT commands on that interface.
If you are able to use ASC0 you probably have power saving on serial interfaces disabled (^SPOW: 1,0,0).
COM1 should be working. What is the result in the MIDlet: some exception or just no communication. You can also use System.getProperty("microedition.commports") to display all available com ports.
If you have:
^SCFG: "Gpio/mode/ASC1","std"
^SCFG: "Serial/Interface/Allocation","1","1"
power saving disabled and no system out redirected to ASC1 you should be able to communicate.
How about the wiring? Are you sure it's OK?
Best regards,
Bartłomiej