Tool/software:
HI Ti,
Could you please give Sample code for BQ25720 with PIC16F18046 Microcontroller code or Any STM32 Microcontroller code?
Thanks & Regards,
Tagore.
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, Tagore,
We have a linux driver for a similar device. See if it helps.
https://github.com/tibms/kernel-4.4/tree/release/drivers/power/bq25700
Regards,
Tiger
Hello, Tiger.
Thank you for your assistance. Aside from that, I need some information related,
Now I'm integrating code bq25720 (https://github.com/jsjsjs000/imx8mp_m7_i2c_bq25720/tree/master) into a beagle bone black board with i2c (SMBUS) lines to see how to build hardware connections, but I'm getting a fatal error in the Debian linux environment.
Thanks & Regards.
Tagore.
Hi, Tagore,
I wish I can offer more help. Not sure this is related to the I2C/SMBus differences. We do offer the same part in I2C version--BQ25723. This is a drop in replacement with I2C address. the register addresses are changed as well.
Regards,
Tiger
Hi Tiger,
I appreciate your response; nonetheless, I must clarify the use case much further.
1. As I publish the github source code, I have integrated the bq25720 code with Beaglebone Black. I am currently working to resolve problems. How can I enable FreeRTOS and SM bus initialization in Beaglebone Black?
2. How to connect the BQ25720 hardware to the Beaglebone black board.
Thanks & Regards,
Tagore.
Hi, Tagore,
I would suggest using I2C/SMBus to communicate with BQ25720. There are many GPIO pins on BeagleBone black board. Maybe you can repurpose two pins for communication.
Our knowledge is quite limited on this forum. Maybe you can check with the other Embedded Processing forum.
Regards
Tiger