Attention: This feature will not work on PicoPD based on the design of the MOSFET
The new code push for AP33772 now supports the built-in over-temperature protection and over-current protection. The over-temperature protection utilizes the NTC (negative temperature coefficient) component if populated. Remember to switch on the MASK flag to enable these features.
- Fix voltage and PPS voltage request
- Voltage reading
- Current reading
- NTC temperature reading
- Set Over Current Threshold (if sense resistor is available)
- Set Over Temperature Threshold
- Set/clear mask bits
To turn on over-temperature protection
usbpd.setOTPTHR(100); //Turn off output if NTC detect 100C or above
usbpd.setMask(OTP_EN); //Enable MASK
PicoPD does not support over-current protection or over-temperature protection due to the design of the output MOSFET. In PicoPD, the MOSFET is controlled by the RP2040, and not the AP33772 IC.
AP33772 IC does not support short-circuit protection. The datasheet does not mention this capability, and also no mention of over-current protection timing. I would not recommend using the AP3372 IC for high precision/high accuracy current-related sensing but as a rough estimate for current reading.
GitHub: AP33772-CPP
Discussions
Become a Hackaday.io Member
Create an account to leave a comment. Already have an account? Log In.