How to power the microcontroller in a BMS of a large battery pack
Most electric vehicles either have a DC->DC converter or a separate battery to power 12V components. I would go that way. 

I really wouldn't want to be building something to deal with 400VDC.