TI E2E Community
Battery Management - Gas Gauge Forum
USB-to-GPIO does not function
Hi, we have received the USB-to-GPIO adapter along with BQ24180EVM. It seems that the USB-to-GPIO does not function: computer sees the device as USB\VID_0451&PID_5F00&REV_0100 but the BQ24180EVM software does not see the end-EVM, as well the SDA and SCL lines of the USB-to-GPIO are showing only stable voltage 3.42V.
Hi, it looks that the software for BQ24180EVM is not functioning. The BQ24272EVM was working with the adapter.
The USB-to-GPIO adapters are notoriously unreliable. I suggest trying a different adapter. Then I suggest downloading the latest bq24180EVM software from the EVM website. In the meantime, I will order a bq24180EVM, as I do not have one in stock, and confirm that the software works on that EVM.
Hi, Jeff, we have used the software downloaded from the web. Besides, the BQ24272EVM works with this adapter. Please check the EVM software in your lab and let us know!
Is the PC/laptop on which you are running this software a Windows 7, Windows Vista or Windows XP machine?
Hi, we're using windows 7 Professional.
Attached files are Win 7 compatible.
we have tested the software you provided. It's working better: it sees the USB-GPIO adpater at least. However there is a problem writing some registers (2d - ok, but 3d and 6th not possible) as well as sometimes the customer sees a mistake when choosing the R_sense.
The current sense resistor setting must match the physical current sense resistor in the circuit and measured currents will not match those per the register settings.
The maximum battery regulation voltage and maximum charge current settings can only be changed immediately following VBAT rising above the VSHORT threshold and before any other WRITE.
I do not understand what you mean by 2d, 3d and 6th.
Please ensure that if you are using the AUTOREAD feature, you set it slow enough (20sec) that you can actually make a change to one of the registers before the next read.
Jeff, thank you for the tipps.
The numbers for registers correspond to the numbers of the BQ24180 registers R01, R02 etc, that could be modified from the software dialog. I hve discussed the issue with the customer and we found out, that the reasons for R02 to be chengeable and R03, 06 to be unchangeable are described in the datasheet.
All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with respect to these materials. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.
TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs andembedded processors, along with software, tools and the industry’s largest sales/support staff.