Identify MC33771C or MC33772C over SPI

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Identify MC33771C or MC33772C over SPI

ソリューションへジャンプ
267件の閲覧回数
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 解決策
252件の閲覧回数
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 返信
253件の閲覧回数
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 件の賞賛
返信