Identify MC33771C or MC33772C over SPI

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

Identify MC33771C or MC33772C over SPI

跳至解决方案
282 次查看
tbondar
Contributor II

I'm writing firmware for a hardware design where either the 7 cell or the 14 cell version of the chip can be populated. I would like to handle both in the same firmware. Is there a way to ask the BCC chip to tell me which version it is? I've glossed through the datasheet but didn't find a register that would return a device ID or something similar. Thanks!

标记 (2)
0 项奖励
回复
1 解答
267 次查看
TomasVaverka
NXP TechSupport
NXP TechSupport

Hello Tamás,

You are right, neither the MC33771C nor the MC33772C includes a dedicated identification register like WHO_AM_I. This means there is no simple or direct way to identify the BCC over SPI. Anyway, I guess you may try reading from a register that only exists or is valid on one of the BCCs. For example, read MEAS_CELL7 or higher. If the read returns valid data, the device is an MC33771C.

BRs, Tomas

在原帖中查看解决方案

0 项奖励
回复
1 回复
268 次查看
TomasVaverka
NXP TechSupport
NXP TechSupport

Hello Tamás,

You are right, neither the MC33771C nor the MC33772C includes a dedicated identification register like WHO_AM_I. This means there is no simple or direct way to identify the BCC over SPI. Anyway, I guess you may try reading from a register that only exists or is valid on one of the BCCs. For example, read MEAS_CELL7 or higher. If the read returns valid data, the device is an MC33771C.

BRs, Tomas

0 项奖励
回复