It works fine when I power pixhawk from usb. But when I power it from battery, the pixhawk board shutsdown. Does the current output change when powering from a battery? What could be going wrong?
I’d suggest putting a Bec on the expander, and cutting the 5V (red) wire between the expander and Pixhawk