BME554L -Fall 2025 - Palmeri
Duke University
Invalid Date
VBUS
?nRF52833
Product SpecificationVBUS
Detection#include <nrfx_power.h> // NOTE: This is not a Zephyr library!! It is a Nordic NRFX library.
bool usbregstatus = nrf_power_usbregstatus_vbusdet_get(NRF_POWER);
if (usbregstatus) {
// VBUS detected
} else {
// VBUS not detected
}
usbc_vbus
API is not implemented for the nRF52833
.You can use the second USB port (nRF USB
) on the nRF52833 DK to test this. The second USB port is connected directly to the VBUS
pin on the nRF52833.