I have a Teensy 4.0 connected to an ESP01 via the Teensy 4.0 Serial 5 (20, 21) and ESP01 Tx/Rx pins.
The Teensy and ESP-01 share the same ground. They're both turned on at the same time (not sure if that matters). Using 115200 baud rate on both sides.
If the Teensy is plugged into the computer by USB, the two-way communication between the two works. If I unplug the USB cable, this still continues to work as expected.
But on next reboot (Teensy and ESP-01) the Teensy can't communicate with the ESP-01 correctly anymore as in the Teensy writes to Serial5 but the ESP01 does not receive it. I'm not sure why...
I can provide more info as needed but that's the context.
The Teensy and ESP-01 share the same ground. They're both turned on at the same time (not sure if that matters). Using 115200 baud rate on both sides.
If the Teensy is plugged into the computer by USB, the two-way communication between the two works. If I unplug the USB cable, this still continues to work as expected.
But on next reboot (Teensy and ESP-01) the Teensy can't communicate with the ESP-01 correctly anymore as in the Teensy writes to Serial5 but the ESP01 does not receive it. I'm not sure why...
I can provide more info as needed but that's the context.