Re: PIC USART troubles
- From: "Anthony Fremont" <spam-not@xxxxxxxxxxx>
- Date: Sat, 3 Mar 2007 18:52:27 -0600
hybrid_snyper wrote:
You didn't say that before. I figured you used a standard cable.
Tidbits like this are extremely important.
Apologies, ive taken the MAX232 out of the equation now.
No apologies needed. :-)
Try connecting the PIC to the pc using the special cable and see if
it's working. Do you have a scope to verify the baud rate is
correct.?
The phone can speak to the PC via hyper-terminal, with the settings
Baud 9600, 8 bits ,1 stop , parity none. i dont have a scope to hand
This is only with the special cable, right? Not to be condescending, but
you are cross connecting the RX pins to the TX pins, correct?
till Monday morning so impossible to tell, but on friday when i was in
the lab all seemed well. But since then i have made a few changes to
the code but nothing i think would affect the running, but then again
who knows.
Sounds like your phone may be 3.3V compatible. If so, it may not
much like you slapping it with 5V signals from the PIC. Try
powering the PIC from 3V and see what happens. Make sure brown out
detect (BODEN) is not enabled.
Been running the PIC at 3.3V with brown out off.
Ok, that eliminates the other stuff I went on about. ;-)
with ref to the errors these would only affect the RX, yes? At the
moment i am trying to send an AT command that will switch off the
phone this would give me a definite confirmation that the phone
received the command. Would these FERR and OERR errors affect the TX
line?
I don't know for sure, but I don't think they will prevent you from sending.
.
- References:
- PIC USART troubles
- From: hybrid_snyper
- Re: PIC USART troubles
- From: Anthony Fremont
- Re: PIC USART troubles
- From: hybrid_snyper
- Re: PIC USART troubles
- From: Anthony Fremont
- Re: PIC USART troubles
- From: hybrid_snyper
- PIC USART troubles
- Prev by Date: Re: how to repair an electric heater?
- Next by Date: Re: PIC USART troubles
- Previous by thread: Re: PIC USART troubles
- Next by thread: Re: PIC USART troubles
- Index(es):
Relevant Pages
|