Teensy Joystick + Serial conflicting

Hello all,

I am using a Teensy 3.2 to drive an autonmous RC car. The car has an TX2 (JetPack 4.2.0) on it and the Teensy is suppose to do 2 things.

  1. Read PWM signals from an RC receiver and use these values for a USB Joystick to the TX2
  2. Read hall effect encoders and send this to the TX2 over USB Serial.

However on the TX2 it seems like the joystick locks up, if the Serial.print() is running. If I comment out that line then everything works fine.
Is this something that cannot be done? Or am I doing something wrong?

Thanks for the help.

hello dev.markliu,

it seems serial.print() is not a general kernel function, could you please check if this print function stuck the serial consoles.

Which serial port is the Serial.print() looking at? If this is reading the wrong thing, or if it otherwise is blocking, then I could see the possibility of it waiting forever.