Under the technique protocol of GH Auto N2 series pure electric van concerning steady operation and failure protection, a battery electric vehicles (BEV) vehicle control unit (VCU) is designed based on Infineon micro controller XC2268N. Hardware design of the VCU utilizes several modular circuits to build up system structure and to further acquire functions like information acquisition, drive output and CAN (Controller Area Network). Hierarchical architecture implemented on software system to achieve high robustness and portability. Codes of base layer are invented to provide hardware-isolated software interface. Process layer invoke base layer code to support task implementation, such as fault detection and protection, and normal operation, thus to support core layer control strategies implementation. Code had passed MISRA-C standard in static testing. The VCU performed well in integration testing and function testing conducted on test platform and the ground test. The performance of the whole vehicle is analyzed according to the data of driving record under the typical working cycle.