PIC32 - Open Drain Pin Not Reaching 5V
When a PIC32MZ EF pin is configured for open drain and is pulled to 5V only, 3.7 V shows on the pin. Why is this?
Not all PIC32MZ pins are 5V tolerant. If an input pin is not 5V tolerant it can only be pulled up to 3.7 V. When in 'open drain' mode, 5V tolerant pins show 5V. All 5V tolerant pins are shaded in the pin diagram in the device datasheet.