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.

[参考译文] BQ40Z80EVM-020:CAN 't 通过 Battery Management Studio 或 Python 脚本进行连接

Guru**** 2481465 points
Other Parts Discussed in Thread: BQ40Z80EVM-020, EV2400, BQSTUDIO

请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/power-management-group/power-management/f/power-management-forum/1508163/bq40z80evm-020-can-t-connect-through-battery-management-studio-or-python-scripts

部件号:BQ40Z80EVM-020
主题中讨论的其他器件: EV2400BQSTUDIO

工具/软件:

我正在尝试使用 BQ40Z80EVM-020、且连接困难。  到目前为止、我有:

  • 将板载 EV2400固件更新为0.32版
  • 已尝试外部 EV2400、已成功更新至固件版本0.32
  • 尝试在断开电池连接并将3节串联电池连接到 J12的情况下进行连接
  • 尝试连接 Battery Management Studio
    • 选择4800_0_02-bq40z80.bqz 芯片
      • 我收到警告:"检测到的设备与此应用程序不兼容!..."
    • 尝试扫描设备或从设备获取信息导致 Battery Management Studio 应用程序崩溃或收到消息"No recognition from device"。  
    • 以下是来自 SMBD1和 SMBC1跳线的一些通信信号(从外部跳线到内部 EV2400)
  • 试用 Python API 示例并获取以下日志:

PS C:\Program Files (x86)\Texas Instruments\BQ-BATTERY-PROGRAMMER-SW\BQ-BMS-PROGRAMMER-SW\Python_API> & 'C:\Users\COSMED USER\AppData\Local\Programs\Python\Python313-32\python.exe' .\PythonAPIExample.py
2147483647
32

Testing Connect
Connecting...
Failed to open connection. Windows error code 0x5
Failed to open connection. Windows error code 0x20
Failed to open connection. Windows error code 0x20
Failed to open connection. Windows error code 0x20
Failed to open connection. Windows error code 0x20
Failed to open connection. Windows error code 0x20
Failed to open connection. Windows error code 0x5
Failed to open connection. Windows error code 0x5
Failed to open connection. Windows error code 0x5
Failed to open connection. Windows error code 0x20
Failed to open connection. Windows error code 0x20
Failed to open connection. Windows error code 0x5
Failed to open connection. Windows error code 0x20
Failed to open connection. Windows error code 0x20
Failed to open connection. Windows error code 0x5
Error: Adapter not found!. Error code = 302
Connect result:
Connected = False

Testing SMBusCommand
Failed to open connection. Windows error code 0x3
Failed to reconnect to . Error code = 311
SMBusCommand result:
61
Error 61 Description: 61 ERROR_HANDLE_NOT_INIT // The adapter USB connected was not initialized

Testing SMBusWriteWord
Failed to open connection. Windows error code 0x3
Failed to reconnect to . Error code = 311
SMBusWriteWord result:
61

Testing SMBusReadWord
Failed to open connection. Windows error code 0x3
Failed to reconnect to . Error code = 311
SMBusReadWord result:
Failed communication with error code 61
Error 61 Description: 61 ERROR_HANDLE_NOT_INIT // The adapter USB connected was not initialized

Testing SMBusWriteBlock
Failed to open connection. Windows error code 0x3
Failed to reconnect to . Error code = 311
SMBusWriteBlock result:
61

Testing WaitMilliseconds

Testing SMBusReadBlock
Failed to open connection. Windows error code 0x3
Failed to reconnect to . Error code = 311
SMBusReadBlock result:
Failed communication with error code 61

done
PS C:\Program Files (x86)\Texas Instruments\BQ-BATTERY-PROGRAMMER-SW\BQ-BMS-PROGRAMMER-SW\Python_API> & 'C:\Users\COSMED USER\AppData\Local\Programs\Python\Python313-32\python.exe' .\PythonAPIExample.py

系统:

- Windows 11专业版

- Battery Management Studio  版本: 1.3.101.1

问题:

-是否有 bq40z80EVM-020的原理图或设计文件?  我尝试监控从 EV2400进入芯片的信号、并确保监控正确的信号。

-我还应该测试什么?

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    您好 Shane、

    问题已分配、目前正在审查中。

    谢谢您、
    Alan

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    嗨、Shane、

    EVM 原理图可在所附文档的第22页上找到:

    https://www.ti.com/lit/pdf/sluubz5

    如果器件正常运行、bqStudio 应自动识别器件并将其打开、而无需选择选项。 需要将电池或电源连接到电芯连接、并正确为 BAT 引脚供电。 根据使用的电芯数量、请按照下表了解如何连接、包括如何处理其余电芯连接:

    完成此操作后、您必须在打开 bqStudio 之前按下 EVM 上的 WAKE 按钮。 如果这允许您打开 bqStudio、请告诉我们。

    此致、

    Anthony

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    按照您的说明、我多次按下 Wake 按钮并使用`SCAN`功能、成功连接至芯片。

    我可以发送几个命令、然后芯片会在~10秒后断开连接。  我还可以看到输出电压在 PACK+/-上显示~3秒、然后在按下 WAKE 按钮后关闭。

    我已经尝试移动/移除几根跳线、例如 J5按下和 PDSG、但行为似乎是相同的。

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    嗨、Shane、

    我认为电量监测计正在进入关断状态、因为默认情况下需要连接6节电芯。 在按住 WAKE 按钮以使电量计退出关断状态的同时、请转到数据闪存中的 Cell Configuration、将其更改为3 (对于3节电池)。

    此致、

    Anthony