Hi -- I'm having an issue using teensy3.0 and teensyduino. The teensy is talking to a laptop using the named "Serial" port (connected via USB) and it also communicates with another peripheral over the Serial3 port. I've found that the teensy fails to read from the peripheral device -- it does not see anything in the Serial3 buffer. This happens if the laptop is attempting to send data to the teensy *or* if the peripheral sends more than ~9120 bps to the teensy. So I can seemingly fix the problem by eliminating the laptop -> teensy comms or by reducing the amount of data sent by the peripheral below ~9120 bps. Both Serial and Serial3 are operating at 57600 baud.
I thought that Serial and Serial3 are running on (effectively) separate hardware, so there'd be no issue using both serial ports, is that correct? Could this be too much interrupt overhead? Too much processing occurring on the teensy? Is there a way to examine the CPU load on an ARM core like this? Appreciate any ideas or advice..thanks.
I thought that Serial and Serial3 are running on (effectively) separate hardware, so there'd be no issue using both serial ports, is that correct? Could this be too much interrupt overhead? Too much processing occurring on the teensy? Is there a way to examine the CPU load on an ARM core like this? Appreciate any ideas or advice..thanks.