Other Parts Discussed in Thread: EV2400
Hi,
I'm looking to control BQ25120A from NRF52832. Is there a reference code that I can leverage for my development?
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
hi Tajinder,
the BQ25120A is a relatively simple device that should be up and running if you have simple I2C communication. You could also use it in standalone mode where no communication is required as well.
I have attached some sample C code (below link)for the BQ25120A but I would probably start with the EVM and EV2400 to familiarize with the initial development and registers.
https://e2e.ti.com/support/power-management/f/196/t/471103
regards,
gautham
Thanks Gautam, the sample C code is quite useful. You mentioned that device could also be used in standalone without i2c communication. I've a follow on question:
I can see two state machines in the datasheet. Are those HW state machines?
If I initialise the HW with all the required settings, will state machine take care of the transitions itself? I was thinking of only monitoring the fault using INT pin and clear them as required.