I have been running a set of TLC5940 chips on a Teensy 2.0. So far I've mainly been using an Mic and the FFT library to dynamically drive the tlc5940 outputs and it's been working great, but I've come across a bit of a hurdle when implementing some control via the USB serial.
The problem occurs the first time Tlc.update() is called. As long as I don't communicate with the Tlc chips the serial will work just fine receiving and transmitting. The second a Tlc.update() is called the Teensy locks up (using realterm I can see that serial Tx pin gets locked up like it's stuck sending data).
My assumption is that there is some pin being used for the Tlc library that is also used for the usb serial communication. I was pretty sure I read that the USB serial was pretty much isolated from the rest of the pins but maybe I'm incorrect. I've hunted around for information regarding any pins on the teensy that have to do with the usb serial and havent been able to find anything.
If anyone has any other ideas on what would be causing this or any info about the usb serial and related pins I'd appreciate all the info I can get. Thanks!
The problem occurs the first time Tlc.update() is called. As long as I don't communicate with the Tlc chips the serial will work just fine receiving and transmitting. The second a Tlc.update() is called the Teensy locks up (using realterm I can see that serial Tx pin gets locked up like it's stuck sending data).
My assumption is that there is some pin being used for the Tlc library that is also used for the usb serial communication. I was pretty sure I read that the USB serial was pretty much isolated from the rest of the pins but maybe I'm incorrect. I've hunted around for information regarding any pins on the teensy that have to do with the usb serial and havent been able to find anything.
If anyone has any other ideas on what would be causing this or any info about the usb serial and related pins I'd appreciate all the info I can get. Thanks!