waterlubber
New member
I've got a Teensy 4.1 on a custom board that's having issues with the VBAT / 3.3V regulator suspend. There's a feature where, when VBAT is connected, the Teensy will "remember" its power state when 5V is removed; pulling ON_OFF_SW on the Teensy to ground for 4 seconds will put it into a suspend state where it disables the on-board 3.3V regulator; pulling it to ground for 0.5 s *should* resume it from suspend, but it does not on my board.
Additionally, after power cycling the board (it's externally powered by 24V; 5V is delivered via a buck converter to the Teensy) it seems to automatically start in the suspended state, with the 3.3V regulator off. The program button or the suspend resume button does not work to resume it.
When the Teensy is removed from the board (removing VBAT) and reinserted, it works normally. The suspend is only entered when power is removed from the overall board, and then reapplied later. The issue also appears to occur when the board is unpowered, Teensy removed and reinserted, and then powered again - signifying that something on system startup triggers suspend.
The issue does not occur without VBAT present.
The voltage on ON_OFF_SW with the Teensy is operating normally and the button unpressed is 3.28 V. Pressing it drops the voltage to .8 mV or so; holding it for four seconds suspends the Teensy. The voltage with the Teensy suspended and button unpressed is around 1V; pressing it again drops it to less than a millivolt. The Teensy does not resume from suspend under any circumstances; I have to power cycle the whole thing.
I should note that this pin is also wired to one of the Teensy inputs (pin 31), although it's not configured or anything. Perhaps this is related?
Here's the schematic:

Additionally, after power cycling the board (it's externally powered by 24V; 5V is delivered via a buck converter to the Teensy) it seems to automatically start in the suspended state, with the 3.3V regulator off. The program button or the suspend resume button does not work to resume it.
When the Teensy is removed from the board (removing VBAT) and reinserted, it works normally. The suspend is only entered when power is removed from the overall board, and then reapplied later. The issue also appears to occur when the board is unpowered, Teensy removed and reinserted, and then powered again - signifying that something on system startup triggers suspend.
The issue does not occur without VBAT present.
The voltage on ON_OFF_SW with the Teensy is operating normally and the button unpressed is 3.28 V. Pressing it drops the voltage to .8 mV or so; holding it for four seconds suspends the Teensy. The voltage with the Teensy suspended and button unpressed is around 1V; pressing it again drops it to less than a millivolt. The Teensy does not resume from suspend under any circumstances; I have to power cycle the whole thing.
I should note that this pin is also wired to one of the Teensy inputs (pin 31), although it's not configured or anything. Perhaps this is related?
Here's the schematic:
