adaan
Newbie level 1
- Joined
- Jun 25, 2009
- Messages
- 1
- Helped
- 0
- Reputation
- 0
- Reaction score
- 0
- Trophy points
- 1,281
- Location
- South Africa
- Activity points
- 1,301
INCF BufferSize,1
BANKSEL PIR1
BTFSS PIR1,RCIF
GOTO $-1
banksel RCREG
movf RCREG, W
movwf RXchr
goto BUFFER_ROUTINE
Could you explain how I should use the RTS line? At this moment I connect the PIC RX <- GSM TX, PIC TX -> GSM RX. I tried pull up the RTS but it does not help.
Thank you
Johnni21
But if I see the OK answer in the hyperterminal, why I don't see on the pin of the PIC? I connect only the RX and TX pin onthe PIC side, and on the PC side.
But I would like to leave out the PC from the circuit. In this case I connect the serial pins (TX, RX) PIC<->GSM, then GSM RTS to an I/O pin of the PIC. Is it good?
I did what you suggest me, but it didn't help. It seems that I only get back the first and the second characters from all characters. I set the echo, I get the "AT" and no CR LF.
But I check the OERR after every ReadUSART, but there is not overrun.
Tell the truth, I don't use the olimex, I connect pic18f45k20 -> M33G GSM module (both 3.3V). But the problem is the same "i only read CR LF". I tried to pull up the RX and TX pin with 47k resistor. Tried to connect RTS to CTS, then DSR to DTR, but nothing. I tried to write the RX usart handle with interrupt. But the result is the same. I don't know.
Thank you
Johnni21
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?