barkerben
- 1st December 2004, 21:23
Hi,
Been getting a bit confused about the need or lack of need to invert the data to, and from my PIC.
My setup is:
PC---->MAX232------->PIC
PC<----MAX232<-------PIC
Looking at the data sheets, the MAX232 invertes the signal, but I have heard it suggested that the UART needs (and sends) an inverted level anyway, so the 2 cancel out and there is no problem.
Would this then only be a problem if I was uning non-hardware serial pins, and would therefore need to artificially invert everything in software?
Cheers,
Ben
Been getting a bit confused about the need or lack of need to invert the data to, and from my PIC.
My setup is:
PC---->MAX232------->PIC
PC<----MAX232<-------PIC
Looking at the data sheets, the MAX232 invertes the signal, but I have heard it suggested that the UART needs (and sends) an inverted level anyway, so the 2 cancel out and there is no problem.
Would this then only be a problem if I was uning non-hardware serial pins, and would therefore need to artificially invert everything in software?
Cheers,
Ben