Description
Grüezi in die Schweiz,
thank you, Manuel, for this wonderful library! I am using it in my project https://github.com/klaus-liebler/labathome. The usage scenario requires Dead Battery Support.
I did not get this feature working and after investigating it, I discovered this: stm32duino/Arduino_Core_STM32@1f5cb30
So, the Arduino Framework disables the Dead Battery PullDowns in a very early initialisation phase, when your stack has not yet initialized the UCPD peripherial. So, the USB-C PSU shuts down, the STM32 resets and presents the PullDowns again...which awakes the PSU and the CPU boots again --> endless reboots. Unfortunately, the only way to overcome this Arduino-paternalism is to comment out the particular line of code.
Of cource, this is not a direct issue of your library, but just in case others stumble on it.
Regards,
Klaus