Pixhawk 4 to Raspberry Pi wiring guide


I’m trying to wire my pixhawk 4 to my raspberry pi. I’ve been told to avoid using the GPIO pins on the pi to supply power as they are not power regulated. I’ve tried using the PWR2 port from the PM07 Power Distribution board to power the pi via usb, but it is only reading ~3V, even though the manual says it should be 5V. Is there something wrong with the Power management board or am I not wiring this properly?