Unexpected BAL_SWITCH_STAT Register Values on MC33774A

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Unexpected BAL_SWITCH_STAT Register Values on MC33774A

Jump to solution
1,385 Views
MarkFan
Contributor III

Hello,

I am working with the MC33774 and have encountered unexpected results when configuring the balancing switch monitor.

  • Configuration:

    • Register: MC33774_BAL_SWITCH_MON_CFG0_OFFSET (0x1006)

    • Value written: 0x1F

  • Observation:
    When I read back from the status registers:

    • MC33774_BAL_SWITCH_STAT0_OFFSET (0x1010) → returns 0xAAAA or 0x5555

    These values are different from what I expected (e.g., 0x15 or 0xA0).

Question:
Could you please clarify why the status registers return 0xAAAA and 0x5555 instead of reflecting the configured value? Is this the correct behavior, or am I missing a step in the configuration procedure?

Thank you for your support.

Mark

0 Kudos
Reply
1 Solution
1,360 Views
TomasVaverka
NXP TechSupport
NXP TechSupport

Hello Mark,

Your configuration is correct for a 5-cell setup. The status register shows what the switches are doing in real time, not just the ones you are monitoring. Seeing 0xAAAA or 0x5555 is normal during active balancing.

BRs, Tomas

View solution in original post

0 Kudos
Reply
3 Replies
1,369 Views
TomasVaverka
NXP TechSupport
NXP TechSupport

Hello Mark,

These returned values are expected and reflect the real-time physical state of the balancing switches. 

0xAAAA = 1010101010101010
0x5555 = 0101010101010101

This alternating pattern indicates that the MC33774A is performing automatic odd/even balancing, which is a normal part of its operation. The status register shows which switches are currently closed (balancing active) or open (inactive) and does not directly reflect the configuration value written to the monitoring enable register.

BRs, Tomas

0 Kudos
Reply
1,364 Views
MarkFan
Contributor III

Hi Tomas,

    Thasnk for your reply, Actually, only 5 cell connect to MC33774A in our design, according to Missing cell case, I have to coofig BAL_SWITCH_MON_CFG0 and BAL_SWITCH_MON_CFG1 to 0x1f.

    So the balancing switches should be

    10101  = 0x15  not  0x5555

    0101   = 0xa  not 0xaaaa

am I misinterpreting how the monitor configuration maps to the STAT registers?

Thank you for your support.

Mark

    

0 Kudos
Reply
1,361 Views
TomasVaverka
NXP TechSupport
NXP TechSupport

Hello Mark,

Your configuration is correct for a 5-cell setup. The status register shows what the switches are doing in real time, not just the ones you are monitoring. Seeing 0xAAAA or 0x5555 is normal during active balancing.

BRs, Tomas

0 Kudos
Reply
%3CLINGO-SUB%20id%3D%22lingo-sub-2161162%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EUnexpected%20BAL_SWITCH_STAT%20Register%20Values%20on%20MC33774A%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2161162%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%3CSTRONG%3EHello%2C%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3EI%20am%20working%20with%20the%20MC33774%20and%20have%20encountered%20unexpected%20results%20when%20configuring%20the%20balancing%20switch%20monitor.%3C%2FP%3E%3CUL%3E%3CLI%3E%3CP%3E%3CSTRONG%3EConfiguration%3A%3C%2FSTRONG%3E%3C%2FP%3E%3CUL%3E%3CLI%3E%3CP%3ERegister%3A%20MC33774_BAL_SWITCH_MON_CFG0_OFFSET%20(0x1006)%3C%2FP%3E%3C%2FLI%3E%3CLI%3E%3CP%3EValue%20written%3A%200x1F%3C%2FP%3E%3C%2FLI%3E%3C%2FUL%3E%3C%2FLI%3E%3CLI%3E%3CP%3E%3CSTRONG%3EObservation%3A%3C%2FSTRONG%3E%3CBR%20%2F%3EWhen%20I%20read%20back%20from%20the%20status%20registers%3A%3C%2FP%3E%3CUL%3E%3CLI%3E%3CP%3EMC33774_BAL_SWITCH_STAT0_OFFSET%20(0x1010)%20%E2%86%92%20returns%200xAAAA%20or%26nbsp%3B0x5555%3C%2FP%3E%3C%2FLI%3E%3C%2FUL%3E%3CP%3EThese%20values%20are%20different%20from%20what%20I%20expected%20(e.g.%2C%200x15%20or%200xA0).%3C%2FP%3E%3C%2FLI%3E%3C%2FUL%3E%3CP%3E%3CSTRONG%3EQuestion%3A%3C%2FSTRONG%3E%3CBR%20%2F%3ECould%20you%20please%20clarify%20why%20the%20status%20registers%20return%200xAAAA%20and%200x5555%20instead%20of%20reflecting%20the%20configured%20value%3F%20Is%20this%20the%20correct%20behavior%2C%20or%20am%20I%20missing%20a%20step%20in%20the%20configuration%20procedure%3F%3C%2FP%3E%3CP%3EThank%20you%20for%20your%20support.%3C%2FP%3E%3CP%3EMark%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2161415%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20Unexpected%20BAL_SWITCH_STAT%20Register%20Values%20on%20MC33774A%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2161415%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHello%20Mark%2C%3C%2FP%3E%0A%3CP%3EYour%20configuration%20is%20correct%20for%20a%205-cell%20setup.%26nbsp%3BThe%20status%20register%20shows%20what%20the%20switches%20are%20doing%20in%20real%20time%2C%20not%20just%20the%20ones%20you%20are%20monitoring.%20Seeing%200xAAAA%20or%200x5555%20is%20normal%20during%20active%20balancing.%3C%2FP%3E%0A%3CP%3EBRs%2C%20Tomas%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2161298%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20Unexpected%20BAL_SWITCH_STAT%20Register%20Values%20on%20MC33774A%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2161298%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%26nbsp%3B%3CSPAN%3ETomas%2C%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3E%26nbsp%3B%20%26nbsp%3B%20Thasnk%20for%20your%20reply%2C%20Actually%2C%20only%205%20cell%20connect%20to%20MC33774A%20in%20our%20design%2C%20according%20to%26nbsp%3BMissing%20cell%20case%2C%20I%20have%20to%20coofig%26nbsp%3BBAL_SWITCH_MON_CFG0%20and%20BAL_SWITCH_MON_CFG1%20to%200x1f.%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3E%26nbsp%3B%20%26nbsp%3B%20So%20the%26nbsp%3Bbalancing%20switches%20should%20be%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3E%26nbsp%3B%20%26nbsp%3B%2010101%26nbsp%3B%20%3D%200x15%26nbsp%3B%20not%26nbsp%3B%200x5555%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3E%26nbsp%3B%20%26nbsp%3B%200101%26nbsp%3B%20%26nbsp%3B%3D%200xa%26nbsp%3B%20not%200xaaaa%3C%2FSPAN%3E%3C%2FP%3E%3CP%3Eam%20I%20misinterpreting%20how%20the%20monitor%20configuration%20maps%20to%20the%20STAT%20registers%3F%3C%2FP%3E%3CP%3EThank%20you%20for%20your%20support.%3C%2FP%3E%3CP%3EMark%3C%2FP%3E%3CP%3E%3CSPAN%3E%26nbsp%3B%20%26nbsp%3B%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2161226%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20Unexpected%20BAL_SWITCH_STAT%20Register%20Values%20on%20MC33774A%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2161226%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHello%20Mark%2C%3C%2FP%3E%0A%3CP%3EThese%20returned%20values%20are%20expected%20and%20reflect%20the%20real-time%20physical%20state%20of%20the%20balancing%20switches.%26nbsp%3B%3C%2FP%3E%0A%3CP%3E0xAAAA%20%3D%201010101010101010%3CBR%20%2F%3E0x5555%20%3D%200101010101010101%3C%2FP%3E%0A%3CP%3EThis%20alternating%20pattern%20indicates%20that%20the%20MC33774A%20is%20performing%20automatic%20odd%2Feven%20balancing%2C%20which%20is%20a%20normal%20part%20of%20its%20operation.%20The%20status%20register%20shows%20which%20switches%20are%20currently%20closed%20(balancing%20active)%20or%20open%20(inactive)%20and%20does%20not%20directly%20reflect%20the%20configuration%20value%20written%20to%20the%20monitoring%20enable%20register.%3C%2FP%3E%0A%3CP%3EBRs%2C%20Tomas%3C%2FP%3E%3C%2FLINGO-BODY%3E