Other Parts Discussed in Thread: EV2400, BQSTUDIO
I am updating the design of an existing battery-powered product, possibly replacing the existing passive battery management circuitry with the BQ76942 for more functionality.
The product uses an STM32L4 MCU, which would interface with the BQ76942 over SPI (thus it will be an SPI-default version of the BQ76942).
Seeking guidance on 2 main questions:
- What would be the best way to initially configure and program the BQ76942, connected to the STM32 MCU? I know that an evaluation module exists, but I want to be able to configure and tweak the BQ76942 "in situ," on the prototype product PCB. Would the EV2400 interface allow me to connect directly to the BQ76942 (over SPI) and program it (via BQ Studio), while it is on the prototype product PCB? Ideally I'd be able to tweak a setting in BQ Studio, then disconnect the EV2400 and evaluate the BMS's performance on the prototype PCB. I could include jumpers to allow selection between connecting the BQ76942's SPI to the STM32 MCU or to the external EV2400 interface.
- Assuming the 'perfect configuration' is found, what would be the best method to program the BQ76942 chips OTP in production? What would the process physically be? Would it be done 'in situ', or before the chips were soldered to the PCB?