RS232 ASC0 configuration | Telit Cinterion IoT Developer Community
August 3, 2016 - 11:00am, 3067 views
I'm playing with the RS232Demo in documentation.
I want to connect with the ASC0 interface (so that connecting with "comm:COM0;blocking=on;baudrate=115200").
On one hand I run the program from Eclipse to the Concept Board. On the other hand I connect from the same computer and other USB port to ASC0 with a terminal.
When I run the example. I'm able to send data from the computer to the board (ASC0 in) but not to send data from board to computer (ASC0 out).
Is it posible that any configuration in the board is blocking the Output from ASC0?
In order to give more info, this is my at^scfg? output:
^SCFG: "Audio/Loop","0"
^SCFG: "Call/ECC","0"
^SCFG: "Call/Speech/Codec","0"
^SCFG: "GPRS/AutoAttach","enabled"
^SCFG: "Gpio/mode/ASC1","gpio"
^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","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","gpio"
^SCFG: "Ident/Manufacturer","Cinterion"
^SCFG: "Ident/Product","EHS6"
^SCFG: "MEShutdown/Fso","0"
^SCFG: "MEShutdown/sVsup/threshold","0","0"
^SCFG: "MEopMode/CFUN","0","1"
^SCFG: "MEopMode/SoR","off"
^SCFG: "Radio/Band","511"
^SCFG: "Radio/Mtpl","0"
^SCFG: "Radio/OutputPowerReduction","4"
^SCFG: "Serial/Interface/Allocation","0","0"
^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","192.168.244.1","192.168.244.2","0"
^SCFG: "Userware/DebugMode","on"
^SCFG: "Userware/Passwd",
^SCFG: "Userware/Stdout","asc0",,,,"off"
^SCFG: "Userware/Watchdog","0"
Any suggestion for this?
Thanks in advance!
Hello,
I expect that you have already done this if you receive the data from PC but to be sure - there is a switch on the bottom right of the concept board - to redirect ASC0 to USB connector the third switch must be up. Please also check the AT^SPOW setting - please set at^spow=1,0,0 to disable sleep mode on serial interfaces to be sure that nothing disturbs the communication. You have also configured the system out on ASC0, but this should only result in the mixed output. I can't see anything more in the log. Please try to redirect the system out to some other port, restart the module and check if you can communicate with the module on ASC0 from your PC and terminal program you are using.
Regards,
Bartłomiej
Hi Bartłomiej!
I've double checked the ASC0 to USB switch and de AT^SPOW (=1,0,0) conf.
I also disabled the Stdout (AT^SCFG="Userware/Stdout","null") but it doesn't work yet.
Is there any configuration (apart from at^scfg?) that I should check?
Best regards!
Hello,
Your SCFG looks OK, all the lines that are common with other interfaces are configured for ASC0.
You are redirecting the ASC0 interface to USB and are connecting to USB Serial Port on PC - is is possible that you have changed some configuration of USB Serial Port in Device Manager?
Are you able to communicate with the module on other interfaces - execute AT commands? Have you tried to issue commands on ASC0 (without MIDlet working), maybe on different baudrates?
Regards,
Bartłomiej
Hi Bartłomiej!
Yes, I was able to communicate with AT commands throught ASC0 and double checked the baudrates.
What I did is to factory reset the board by reinstalling the firmware and configurate everything again. That solved the problem for me.
Probably it was because I have been trying a lot of things with the board.
Thanks for the help!
Best regards!