Teeny3.5 FreqCount Lib HWSerial1 tx noise?
I have a rf transmitter wired directly to pin 13 and teensy is grounded to the rf transmitter, usb, and power supply. The rf device is 24v. I found it odd that the teensy can read the freq correctly at such a high voltage directly connected, but I am not a EE.
Main loop on the Teensy reads freq and push the values to usb serial and hwserial1. With the transmitter on, usb serial works, hwserial1 does not.
testing - The teensy now is programmed only to send out a number every second to the hwserial1 (lib removed) rx-tx attached to a ftdi friend (usb-serial). With the rf transmitter on, the teensy sends out junk over serial to the ftdi-friend, with the transmitter off, numbers count out perfectly over the serial monitor.
testing - With rf transmitter on and a simple echo script on the teensy. I can see that the teensy does receive commands correctly. I can not read the responses (because tx isn't working), but the teensy does attempt to echo back something. This makes me think that the teensy can receive serial, but not send.
***I originally had the teensy attached to another teensy reading serial. This is day 8 of debugging this issue.
Could this be noise from the rf transmitter affecting the hwserial1 tx pin?
Today I plan to remove pin13 and ground and test with the transmitter on, and try HWserial2 or 3.
Any help would be appreciated.
--Shawn McCombs
I have a rf transmitter wired directly to pin 13 and teensy is grounded to the rf transmitter, usb, and power supply. The rf device is 24v. I found it odd that the teensy can read the freq correctly at such a high voltage directly connected, but I am not a EE.
Main loop on the Teensy reads freq and push the values to usb serial and hwserial1. With the transmitter on, usb serial works, hwserial1 does not.
testing - The teensy now is programmed only to send out a number every second to the hwserial1 (lib removed) rx-tx attached to a ftdi friend (usb-serial). With the rf transmitter on, the teensy sends out junk over serial to the ftdi-friend, with the transmitter off, numbers count out perfectly over the serial monitor.
testing - With rf transmitter on and a simple echo script on the teensy. I can see that the teensy does receive commands correctly. I can not read the responses (because tx isn't working), but the teensy does attempt to echo back something. This makes me think that the teensy can receive serial, but not send.
***I originally had the teensy attached to another teensy reading serial. This is day 8 of debugging this issue.
Could this be noise from the rf transmitter affecting the hwserial1 tx pin?
Today I plan to remove pin13 and ground and test with the transmitter on, and try HWserial2 or 3.
Any help would be appreciated.
--Shawn McCombs