Hi Andy,
Thanks for the tip - I had looked into that option previously but never realized its significance. I am connecting without problems now.
While struggling earlier, I started gettin doubts on the connections to pins 2 and 3 of the RS232 connector ( 9-Pin female) and have verified that connection also now ( pin 2 -> T2OUT -> T2IN -> TxD of MCU ; Pin 3 -> R2IN -> R2OUT -> RxD of MCU ). This is the exact opposite of what has been suggested by Jon Ledbetter in his "A Simple RS232 Guide" updated 05/22/2007, but it works. Not sure how.
Actually there is a whole lot of confusion on these pins TxD and RxD ! Male , Female, 9-pin, 25-pin, DCE , DTE etc etc. The only thing I now know is that after linking the MCU to the PC, I should read around -8V on both pins 2 and 3 with respect to 5. And use a regular RS232 cable.
Regards
micronathan
Thanks for the tip - I had looked into that option previously but never realized its significance. I am connecting without problems now.
While struggling earlier, I started gettin doubts on the connections to pins 2 and 3 of the RS232 connector ( 9-Pin female) and have verified that connection also now ( pin 2 -> T2OUT -> T2IN -> TxD of MCU ; Pin 3 -> R2IN -> R2OUT -> RxD of MCU ). This is the exact opposite of what has been suggested by Jon Ledbetter in his "A Simple RS232 Guide" updated 05/22/2007, but it works. Not sure how.
Actually there is a whole lot of confusion on these pins TxD and RxD ! Male , Female, 9-pin, 25-pin, DCE , DTE etc etc. The only thing I now know is that after linking the MCU to the PC, I should read around -8V on both pins 2 and 3 with respect to 5. And use a regular RS232 cable.
Regards
micronathan