passpics
Newbie level 4
- Joined
- Oct 27, 2013
- Messages
- 6
- Helped
- 1
- Reputation
- 2
- Reaction score
- 1
- Trophy points
- 3
- Location
- Singapore
- Activity points
- 45
Hi, I'm new to this forum, and hope you can help with a bit of a head-scratcher I'm having:
I have a custom PCB based around a PIC 18F, and using a MAX3221 to give me simple 3 wire RS232 comms (9600 baud). I've got this connected to a PC via an FTDI based USB <-> RS232 cable. This is a cable I've used for several years, and it works fine talking to other RS232 devices (I just tested it again talking to a MikroElectronica board).
However, here's the strange bit: When I use this cable connected to my PCB, the moment I transmit anything from the PIC to the PC, it crashes my terminal software on the PC! I've tried 3 different terminal apps, all do the same. Huh? Also, it seems like once I do this, my USB cable goes all weird and won't work until I re-connect it.
If I stick a scope probe on the Tx output from the MAX, I see +/-~6v (12v p-p) bursts of data at the correct times.
It's such a simple little circuit, I can't think what's going on. I've double checked, and all pin wiring seem to be correct. Here's the schematic of my PCB side of things:
Anyone have any brilliant ideas? Or see anything stupid I've done? Many thanks.
I have a custom PCB based around a PIC 18F, and using a MAX3221 to give me simple 3 wire RS232 comms (9600 baud). I've got this connected to a PC via an FTDI based USB <-> RS232 cable. This is a cable I've used for several years, and it works fine talking to other RS232 devices (I just tested it again talking to a MikroElectronica board).
However, here's the strange bit: When I use this cable connected to my PCB, the moment I transmit anything from the PIC to the PC, it crashes my terminal software on the PC! I've tried 3 different terminal apps, all do the same. Huh? Also, it seems like once I do this, my USB cable goes all weird and won't work until I re-connect it.
If I stick a scope probe on the Tx output from the MAX, I see +/-~6v (12v p-p) bursts of data at the correct times.
It's such a simple little circuit, I can't think what's going on. I've double checked, and all pin wiring seem to be correct. Here's the schematic of my PCB side of things:
Anyone have any brilliant ideas? Or see anything stupid I've done? Many thanks.