Re: PIC USART troubles



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.


.



Relevant Pages

  • Re: PIC USART troubles
    ... Do you have a scope to verify the baud rate is correct.? ... Make sure brown out detect is not enabled. ... received the command. ... Would these FERR and OERR errors affect the TX ...
    (sci.electronics.basics)
  • Re: That brown glue stuff
    ... Affected input was on one side of the IC and some of this shitty brown ... I really hate that glue. ... localised to where this glue had glooped over a few pins. ... has almost sheared off due to the underlying corrosion. ...
    (sci.electronics.repair)
  • Re: BCP.EXE fails in 90 where it succeeded in 80
    ... On Jun 13, 3:19 am, Thomas W. Brown ... application and with the connection still open that "owns" the temporary ... the application launches BCP.EXE to move the data to the file system). ... That last error goes away if I take out the "-a 65535" command line option ...
    (microsoft.public.sqlserver.tools)
  • RE: BCP.EXE fails in 90 where it succeeded in 80
    ... "Thomas W. Brown" wrote: ... application and with the connection still open that "owns" the temporary ... That last error goes away if I take out the "-a 65535" command line option ...
    (microsoft.public.sqlserver.tools)
  • Re: Problem: UTP only works at 10 MHz
    ... Claudio Bogado Pompa wrote in part: ... and brown, green, white and green, blue, white and blue, ... pair straddles it. ... Ethernet relies on pins 1&2 to be on a single pair and pins ...
    (comp.dcom.lans.ethernet)