Re: I have a big trouble with usart PIC16f877




"gpsstajer" <ali.keles@xxxxxxxxx> wrote in message
news:1151393119.045721.77630@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

Roger Hamlett wrote:
<ali.keles@xxxxxxxxx> wrote in message
news:1151333549.275392.55330@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Hi everyone,
I am having a big trouble with my PIC's serial communication. I have
codes like these:
<snipped>
Ignoring the code for a while. How is the serial connected to the PIC?.

Best Wishes
The incomin wire into the RX, and the outcoming is out of TX. I checked
the value of them from COM 1.
I mean what electronics are between the wires and the chip...
The chip expects TTL serial, not 'RS232'. A MAX232 or similar buffer chip
is _required_ between the PIC and the PC. Without this, the input will be
being overdriven, and the output will never work, and the signals will be
inverted from what the PIC expects.

Best Wishes


.



Relevant Pages


Quantcast