Re: Trying to send RS232 with PIC sends incorrect data in TeraTerm



On Apr 9, 7:08 pm, "Anthony Fremont" <spam-...@xxxxxxxxxxx> wrote:

Are you using a 20MHz clock?

Yes, I am using a 20MHz clock

Are you getting what you expect here? Is the time delay coming out
correctly?

Yes, the time delays are correct here.

So 12 characters from the PIC turns into 6 characters on the
display.....sounds like a baud rate issue to me. Have you tried changing
the baud in the windos program? Do you have a scope? If so, just look at
the width of the data bits to see what the PIC is sending.

Try different baud rates in teraterm to see if it suddenly starts coming in
clearly. Make sure you are really using a 20MHz clock on the PIC. Looks
like you are almost there.

I will try to adjust the Baud; I imagine I just presumed they would be
consistent if set the same.

.



Relevant Pages

  • Re: Why should I (not) use an internal oscillator for 8-bit micros
    ... >> decreasing chance they'll work the lower the baud rate goes. ... That is a point where the "synchronization" ... internal clock. ... 1Hz of the receiver. ...
    (comp.arch.embedded)
  • Re: IIGS 115,200 Baud Serial Port - How?
    ... serial ports max out at 57,600 baud. ... The SCC has *always* been known to be capable of considerably higher ... and a DPLL to recover the clock from received data. ... The maximum baud rate is therefore ...
    (comp.sys.apple2)
  • AT91SAM7 USART
    ... I have an issue with the baud rate clock on a AT91SAM7S processor. ... do not want to loose any characters that are currently being received ...
    (comp.arch.embedded)
  • Re: 1200 Baud needed on hp50g (Help please, JYA?)
    ... The hp50g does not support 1200 baud, ... Each UART's baud-rate generator provides the serial clock for the ... the UART baud-rate divisor register ...
    (comp.sys.hp48)
  • Re: Understanding USB
    ... Anton Erasmus wrote: ... serial card that can handle higher baud rates. ... higher baudrates than the normal 115200 baud. ... clock by a 16bit value to get the baud clock, ...
    (comp.arch.embedded)