Needed to use a better LDO for my circuit while also maintaining battery charging - so bypassing the LDO

Needed to use a better LDO for my circuit that uses RF analog signals, and did not want to duplicate externally the VBUS vs VBAT/Charge selection that is already on the XIAO 52840. If I connect to VBUS pin with my external LDO circuit, the current it draws (about 70ma) will never allow the XIAO’s on board charger to terminate while on battery and in parallel load.

So planning to tap D1 as part of the “VIN” node that is not brought out. The S4 matches the SDM20U40-7 marking, so the part is D1. The striped end is the cathode, which is VIN. Solder tap wire there.