• Join
  • Sign In with my.TI Login
Texas Instruments
  • Products
  • Applications
  • Tools & Software
  • Support & Community
  • Sample & Buy
  • About TI
Sample & Purchase Cart Sample & Purchase Cart
  • Search
  • Advanced
TI E2E™ Community
  • Support Forums
  • Blogs
  • Groups
  • Videos
  • 简体中文
  • More ...
TI Home » TI E2E Community » Support Forums » Power Management » Battery Management » Battery Management - Gas Gauge Forum » BQ2022A programming
Share
Battery Management
  • Forums
  • Announcements
  • Files
  • E2E Wiki
Options
  • Subscribe via RSS

Forums

BQ2022A programming

This question is answered
pratap samantaray
Posted by pratap samantaray
on Apr 19 2012 05:50 AM
Prodigy130 points

HI All,

I am working on battery identification ,useing BQ2022A & a 8-bit controller (Fujitsu) ,

I write the c program to interface the BQ with controller according to the data sheet ,for testing purpose 1st  i  try the READROM Command (33h).

According to the data Sheet we receive 7-byte of data(Family code & identification number) ,but we receive all 7-bytes as 00.

I already also check the Timing Digram of Reset+Presence & write command useing CRO. all are as per the data sheet.

Please suggest me how to solve this problem.

 

 

Thanks,

Pratap kumar samantaray

Bq2022a
Report Abuse
  • Reply
You have posted to a forum that requires a moderator to approve posts before they are publicly available.
All Replies
  • MikeV
    Posted by MikeV
    on Apr 19 2012 09:14 AM
    Verified Answer
    Verified by pratap samantaray
    Intellectual1855 points

    Are you able to confirm that the presence pulse is responded by the bq2022A after the Reset pulse is issued?

    Is it possible that you provide screen shots of measured signals of SDQ communication? If so, please divide the screen shots in Reset + Presence Pulse in a single screen shot and additional byte transactions with one byte read or written at a time per screen shot.

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • pratap samantaray
    Posted by pratap samantaray
    on Apr 19 2012 23:24 PM
    Prodigy130 points

    After Reset Pulse issued(Low the BUS pin for more than 480us), high the bus pin & change to input mode to get the Presence pulse ,the bus pin goes low immediately.

    That means we get the presence pulse .

    It is no Possible to provide the Screen shots. 

    Bq2022a
    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • MikeV
    Posted by MikeV
    on Apr 20 2012 15:38 PM
    Intellectual1855 points

    When you say that you read all 0's in place of the family code and identification code, do you see this through actual interpretation of the timings that you can measure on a scope or is it based on the response that you use in your developed software?

    It is unlikely that a device truly has 0's in place of the family code or identification code.

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • pratap samantaray
    Posted by pratap samantaray
    on Apr 20 2012 23:21 PM
    Prodigy130 points

    Yes, i read all 0's in place of family code and identification code in both of cases (through scope & response of the developed software).

    Can this problem solved If i change the BQ2022A IC to new one.

    One more thing .i tryed skip rom command & send the F0h(Read memory/fieldCRC) followed by the address low dyte & high byte.

    After that we receive the CRC valu of the above 3 bytes,but the crc value  receive is  also 00h.

    I have also some hardware connection doubt,According to the datasheet a 5-kohm seties resistor connect between SDQ pin & VPU ,but  i use 5.6(+_5%)-kohm resistor .

    Is there any problem for that?

     

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • pratap samantaray
    Posted by pratap samantaray
    on Apr 23 2012 02:15 AM
    Prodigy130 points

     

    I have some Hardware connection doubt.,According to datasheet  a 5-kohm series resistor connect between SDQ pin and Vpu (+ supply ),but i use 5.6-kohm(+- 5% tol) resistor .

    Is there any problem for that ?

     

    Bq2022a
    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • MikeV
    Posted by MikeV
    on Apr 23 2012 09:21 AM
    Intellectual1855 points

    The resistor value that you are using is fine.

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • pratap samantaray
    Posted by pratap samantaray
    on Apr 23 2012 23:19 PM
    Prodigy130 points

    I read all 0's in place of family code and identification code in both of cases (through scope & response of the developed software).

    Can this problem solved If i change the BQ2022A IC to new one.

    One more thing .i tryed skip rom command & send the F0h(Read memory/fieldCRC) followed by the address low dyte & high byte.

    After that we receive the CRC valu of the above 3 bytes,but the crc value  receive is  also 00h.

    Please suggest me how i solve this problem

    Bq2022a
    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • MikeV
    Posted by MikeV
    on Apr 26 2012 21:22 PM
    Intellectual1855 points

    If you have a bq2022A EVM which has a socket, you may want to remove IC from your system and prove it with our evaluation tools.

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
TI E2E™ Community
  • Support Forums
  • Blogs
  • Videos
  • Groups
  • Site Support & Feedback
  • Settings
TI E2E™ Community Groups
  • TI University Program
  • Make the Switch
  • Microcontroller Projects
  • Motor Drive & Control
Other Communities
  • Deyisupport
  • Designsomething.org
  • beagleboard.org
  • TI on Element 14
  • TI on TechXchangeSM
Other Technical & Support Resources
  • WEBENCH® Design Center
  • Product Information Centers
  • Technical Documents
  • TI Design Network
  • TI Technical Articles
  • TI Training

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.

Content on this site may contain or be subject to specific guidelines or limitations on use. All postings and use of the content on this site are subject to the Terms of Use of the site; third parties using this content agree to abide by any limitations or guidelines and to comply with the Terms of Use of this site. TI, its suppliers and providers of content reserve the right to make corrections, deletions, modifications, enhancements, improvements and other changes to the content and materials, its products, programs and services at any time or to move or discontinue any content, products, programs, or services without notice.

Follow Us Texas Instruments on Facebook Texas Instruments on Twitter Texas Instruments on LinkedIn Texas Instruments on Google+
TI Worldwide | Contact Us | my.TI Login | Site Map | Corporate Citizenship | mobile m.ti.com (Mobile Version)

TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs and
embedded processors, along with software, tools and the industry’s largest sales/support staff.

© Copyright 1995-2013 Texas Instruments Incorporated. All rights reserved.
Trademarks | Privacy Policy | Terms of Use