UART wierdness
I'm trying to interface with a cell phone to the DE2 board over serial. I've been able to successfully talk to the phone using my computer and an FTDI cable. I know the baud and all of the other settings are correct. The phone has an Rx, Tx, and ground (it doesn't have every pin that a real serial port does). I added the UART module in the SOPC editor and found some example code in the Altera documentation. It all compiles. I connected my computer to the DE2 serial port with the FTDI cable and was able to send characters over. However, the characters that arrive are a garbled version of what I sent. It's very weird. But I took that to mean that at least the serial connection was working (to a degree). So in summary, I can receive stuff with the DE2 (albeit corrupted), but I can't get it to send anything at all. I really don't care if I can send data to the DE2, I just care about sending data from it to the phone. Does anyone have any theories as to what could be happening? If it would help, I can provide some output or screenshots or something.
Thanks.