So, I finally got around to playing with my Teensy LC. Apparently, it does not like playing with me
I have an FTDI USB UART cable (3.3V version), and wanted to see if I could use it with the teensy, so I made a small sketch (see below), and hooked up RX/TX/GND to the Serial1 pins (pin 0 and 1). No joy - nothing is received by my terminal program on the PC. I tried swapping RX and TX by flipping the cable connector, but still no joy. I've tested the cable and I know it works.
Now, I measured the voltage levels on the UART pins before I connected the cable. RX pins were at 0V, and TX at 3.3V. After I've had the cable connected, the voltage level at the TX pins were 0V, leading me to believe the pins are fried.
I don't know what I'm missing here, everything is operating at 3.3V logic levels, and I connected the cable ground to the Teensy ground. Any inputs?
I have an FTDI USB UART cable (3.3V version), and wanted to see if I could use it with the teensy, so I made a small sketch (see below), and hooked up RX/TX/GND to the Serial1 pins (pin 0 and 1). No joy - nothing is received by my terminal program on the PC. I tried swapping RX and TX by flipping the cable connector, but still no joy. I've tested the cable and I know it works.
Now, I measured the voltage levels on the UART pins before I connected the cable. RX pins were at 0V, and TX at 3.3V. After I've had the cable connected, the voltage level at the TX pins were 0V, leading me to believe the pins are fried.
I don't know what I'm missing here, everything is operating at 3.3V logic levels, and I connected the cable ground to the Teensy ground. Any inputs?
Code:
void setup()
{
Serial1.begin(115200);
Serial2.begin(115200);
Serial3.begin(115200);
pinMode(2, OUTPUT);
pinMode(13, OUTPUT);
}
void loop()
{
Serial1.println("serial 1 printing something");
Serial2.println("serial 2 printing something");
Serial3.println("serial 2 printing something");
digitalWrite(13, !digitalRead(13));
digitalWrite(2, !digitalRead(2));
delay(100);
}