Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

sim900 transparent mode and cts signal

Status
Not open for further replies.

lco

Newbie level 1
Joined
Sep 30, 2008
Messages
1
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,295
Hello!

I can succesfuly connect to the server with sim900 using transparent with tcp. I have hardware(cts/rts) flow control enabled. But, after sending last byte and inbetween when waiting for recommended 1000ms and before sending the "+++" sequence, CTS signal goes high, like:

: connect to the server, transparent mode, escape sequence enabled, tcp, hardware flow control, etc..
: send some data (several bytes)
: wait for 1000ms, after several 100ms cts goes high and stays that way until server responds or closes connection due to the inactivity
: if i disregard cts line after delay of 1000ms time and send +++ anyway it exits data mode, but +++ escape sequence is still visible on the server

Although i can avoid this by not using hardware flow control or just ignoring the cts line at that time i would really like to understand this behaviour. Is this default beahaviour of cts signal on the sim900? It just seems to go against my reasoning :). Thank you!
 

hi,
Even iam facing d same problem.Can anyone suggest the solution for this.

Thanks in Advance.
 

yes it is
it may because of bad firmware code on module
did U try sim300 it seem so better
 

I had same problem. The problem is a combinated one.
First, SIM900D doez not accept a command until it executes the previous one.
Also, it does not execute a command if it is nont finished and you will
send another command to the device. Shortly, you MUST wait
the respone from modem after each command.
Also, you have to enable hardware flow by using AT+IFC=2,2\r\n
Using this strategy helped me to solve a similar issue.

Best regards,
Mihai



Hello!

I can succesfuly connect to the server with sim900 using transparent with tcp. I have hardware(cts/rts) flow control enabled. But, after sending last byte and inbetween when waiting for recommended 1000ms and before sending the "+++" sequence, CTS signal goes high, like:

: connect to the server, transparent mode, escape sequence enabled, tcp, hardware flow control, etc..
: send some data (several bytes)
: wait for 1000ms, after several 100ms cts goes high and stays that way until server responds or closes connection due to the inactivity
: if i disregard cts line after delay of 1000ms time and send +++ anyway it exits data mode, but +++ escape sequence is still visible on the server

Although i can avoid this by not using hardware flow control or just ignoring the cts line at that time i would really like to understand this behaviour. Is this default beahaviour of cts signal on the sim900? It just seems to go against my reasoning :). Thank you!
 

I had same problem. The problem is a combinated one.
First, SIM900D doez not accept a command until it executes the previous one.
Also, it does not execute a command if it is nont finished and you will
send another command to the device. Shortly, you MUST wait
the respone from modem after each command.
Also, you have to enable hardware flow by using AT+IFC=2,2\r\n
Using this strategy helped me to solve a similar issue.

Best regards,
Mihai

Hi Mihai,

i have connected CTS/RTS line, but when ever i try to put CTS line low to suspend data transmission it doesn't stop and my microcontroller gets overflow. i have also tried putting AT+IFC=2,2 and i got OK response but it seems sim900 is not supporting hardware flow control. just to confirm my setup, i have connected TX,RX,CTS,RTS line to my microcontroller, is there i am missing something?

thank you
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top