Part Number: BQ27542-G1 Other Parts Discussed in Thread: BQ26100 The fuel gauge supports a SHA-1-based authentication protocol that allows a host to securely verify battery pack authenticity. Sending a 160-bit random challenge initiates the authentication…
Other Parts Discussed in Thread: BQ34Z100 , BQ40Z50 , BQSTUDIO , BQ26100 MCU和BQ34Z100通讯,现在需要再MCU实现SHA-1/HAMC功能,参考TISHA程序(见附件)设计,得到数据不对。
其中,关于SHA有许多疑问,用BQStudio BQ40Z50的SHA功能计算正确
MCU计算结果错误,
SHA计算:
void SHA1_authenticate(void) { int i; // Used for doing two…
Other Parts Discussed in Thread: BQ26100EVM , BQ26100 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。 https://e2e.ti.com/support/power-management-group/power-management/f/power-management-forum/673632/ccs-bq26100evm-bq26100evm 器件型号: BQ26100EV…