Balancing pause on MC33774A while measuring cyclic measurements

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

Balancing pause on MC33774A while measuring cyclic measurements

701 Views
andis_bankovics
Contributor I

Hi. I got a problem with MC33774A. I enable cyclic periodic measurements with balpause ( writing 3 to MC33774_ALLM_CFG_OFFSET ). It seems that this is only working when i'm balancing even cells. when balancing is enabled on odd cells then cyclic measurements shifts for those cells. sometimes less than expected sometimes more. what could be the problem?

 

Alternatively - how can i setup MC33774A to cyclic mode - so it sleeps, measures, sleeps?

If i try to write 2 to SYS_CYC_WAKEUP_CFG and then 10 to SYS_MODE device still goes to deep sleep instead.

Tags (1)
3 Replies

459 Views
RafaR
NXP Employee
NXP Employee

Hello andis_bankovics

Good day!

I apologize for the delay.

I can't find the register you mentioned, "MC33774_ALLM_CFG_OFFSET"? In which document did you read it?

I'll assume you were referring to ALLM_CFG

The first thing I would fix is your ALLM_CFG write value: writing 3 means MEASEN=1 and BALPAUSECYCMODEN=1, but BALPAUSELEN=0. In the register map, bits 15:2 are BALPAUSELEN, bit 1 is BALPAUSECYCMODEN, and bit 0 is MEASEN; BALPAUSELEN=0000h is explicitly NO_PAUSE. The datasheet also says the balancing pause exists to let the external filters settle before measurement. So with ALLM_CFG = 0x0003, you enabled the cyclic auto-pause feature without any actual pause time, which can absolutely leave you with shifted/offset measurements during balancing

Do you already have access to:

MC33774A data sheet rev 2.0

MC33775A and MC33774A measurement

I hope this information has helped you, please let me know if you need help with anything else.

Have a great day and best of luck.

0 Kudos
Reply

639 Views
RafaR
NXP Employee
NXP Employee

Hello andis_bankovics

Good day!

I'm reviewing your case. I'll get back to you as soon as I have an answer.

Have a great day and best of luck.

0 Kudos
Reply

560 Views
powerset
Contributor II

It's been almost a week, no response from you! Our project is stuck. If you can't answer such questions, then we will be forced to switch to chips from another manufacturer!

0 Kudos
Reply
%3CLINGO-SUB%20id%3D%22lingo-sub-2366882%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EBalancing%20pause%20on%20MC33774A%20while%20measuring%20cyclic%20measurements%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2366882%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi.%20I%20got%20a%20problem%20with%26nbsp%3BMC33774A.%20I%20enable%20%3CSTRIKE%3Ecyclic%3C%2FSTRIKE%3E%26nbsp%3Bperiodic%20measurements%20with%20balpause%20(%20writing%203%20to%26nbsp%3BMC33774_ALLM_CFG_OFFSET%20).%20It%20seems%20that%20this%20is%20only%20working%20when%20i'm%20balancing%20even%20cells.%20when%20balancing%20is%20enabled%20on%20odd%20cells%20then%20cyclic%20measurements%20shifts%20for%20those%20cells.%20sometimes%20less%20than%20expected%20sometimes%20more.%20what%20could%20be%20the%20problem%3F%3C%2FP%3E%3CBR%20%2F%3E%3CP%3EAlternatively%20-%20how%20can%20i%20setup%26nbsp%3BMC33774A%20to%20cyclic%20mode%20-%20so%20it%20sleeps%2C%20measures%2C%20sleeps%3F%3C%2FP%3E%3CP%3EIf%20i%20try%20to%20write%202%20to%26nbsp%3BSYS_CYC_WAKEUP_CFG%20and%20then%2010%20to%26nbsp%3BSYS_MODE%20device%20still%20goes%20to%20deep%20sleep%20instead.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2367876%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20Balancing%20pause%20on%20MC33774A%20while%20measuring%20cyclic%20measurements%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2367876%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHello%20andis_bankovics%3C%2FP%3E%0A%3CP%3EGood%20day!%3C%2FP%3E%0A%3CP%3EI'm%20reviewing%20your%20case.%20I'll%20get%20back%20to%20you%20as%20soon%20as%20I%20have%20an%20answer.%3C%2FP%3E%0A%3CP%3EHave%20a%20great%20day%20and%20best%20of%20luck.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2370051%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20Balancing%20pause%20on%20MC33774A%20while%20measuring%20cyclic%20measurements%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2370051%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EIt's%20been%20almost%20a%20week%2C%20no%20response%20from%20you!%20Our%20project%20is%20stuck.%20If%20you%20can't%20answer%20such%20questions%2C%20then%20we%20will%20be%20forced%20to%20switch%20to%20chips%20from%20another%20manufacturer!%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2370910%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20Balancing%20pause%20on%20MC33774A%20while%20measuring%20cyclic%20measurements%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2370910%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHello%20andis_bankovics%3C%2FP%3E%0A%3CP%3EGood%20day!%3C%2FP%3E%0A%3CP%3EI%20apologize%20for%20the%20delay.%3C%2FP%3E%0A%3CP%3EI%20can't%20find%20the%20register%20you%20mentioned%2C%20%22MC33774_ALLM_CFG_OFFSET%22%3F%20In%20which%20document%20did%20you%20read%20it%3F%3C%2FP%3E%0A%3CP%3EI'll%20assume%20you%20were%20referring%20to%20ALLM_CFG%3C%2FP%3E%0A%3CP%3EThe%20first%20thing%20I%20would%20fix%20is%20your%20ALLM_CFG%20write%20value%3A%20writing%203%20means%20MEASEN%3D1%20and%20BALPAUSECYCMODEN%3D1%2C%20but%20BALPAUSELEN%3D0.%20In%20the%20register%20map%2C%20bits%2015%3A2%20are%20BALPAUSELEN%2C%20bit%201%20is%20BALPAUSECYCMODEN%2C%20and%20bit%200%20is%20MEASEN%3B%20BALPAUSELEN%3D0000h%20is%20explicitly%20NO_PAUSE.%20The%20datasheet%20also%20says%20the%20balancing%20pause%20exists%20to%20let%20the%20external%20filters%20settle%20before%20measurement.%20So%20with%20ALLM_CFG%20%3D%200x0003%2C%20you%20enabled%20the%20cyclic%20auto-pause%20feature%20without%20any%20actual%20pause%20time%2C%20which%20can%20absolutely%20leave%20you%20with%20shifted%2Foffset%20measurements%20during%20balancing%3C%2FP%3E%0A%3CP%3EDo%20you%20already%20have%20access%20to%3A%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3E%3CA%20href%3D%22https%3A%2F%2Fwww.nxp.com%2Fwebapp%2Fsd%2Fcollateral%2F1702658797147728104124%3Fversion%3D2.0%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noreferrer%22%3EMC33774A%20data%20sheet%20rev%202.0%3C%2FA%3E%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3E%3CA%20href%3D%22https%3A%2F%2Fwww.nxp.com%2Fwebapp%2Fsd%2Fcollateral%2F1678065432580728194277%3Fversion%3D2.0%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noreferrer%22%3EMC33775A%20and%20MC33774A%20measurement%3C%2FA%3E%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3EI%20hope%20this%20information%20has%20helped%20you%2C%20please%20let%20me%20know%20if%20you%20need%20help%20with%20anything%20else.%3C%2FP%3E%0A%3CP%3EHave%20a%20great%20day%20and%20best%20of%20luck.%3C%2FP%3E%3C%2FLINGO-BODY%3E