ScriptGUI3, MC33777BT (EVBMA777T3) and BMA6402SA (KIT6X02AP2T1)

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

ScriptGUI3, MC33777BT (EVBMA777T3) and BMA6402SA (KIT6X02AP2T1)

860 Views
Crt33
Contributor I

Hi,

I am trying to run some demo scripts in SCriptGUI3 (3.55) to read back registers from EVBMA777T3. I am using the KIT6X02AP2T1 to interface the TPL3. From the source code it seems that BMS6402 is supported, but the script (777_uc1_precise_current_meas.txt) doesn't work. Am I doing something wrong?

 

Untitled.png

0 Kudos
Reply
3 Replies

836 Views
RafaR
NXP Employee
NXP Employee
Hello Crt33
 
Could you send your file so we can check if there are any relevant changes?
 
Thanks for your understanding.
I will be waiting for your response
Have a great day and best of luck.
0 Kudos
Reply

739 Views
Crt33
Contributor I

Hi,

I have spent the last day trying to run at least some example script from the ScriptGUI3 using KIT6X02AP2T1 and EVBMA777T3. Since that didn't work I modified the script to access at least some registers from the BMA6402SA gateway on the KIT6X02AP2T1. 

I tried to init the PHY as bms6402 and as mc33665a as the device info register is the same. In first case I get a python error initializing the PHY. In the second case the initialization goes well, but I don't get back the response. Please see attached screenshoots. 

What am I doing wrong or what is the trick using ScriptGUI3 and BMA6402 on KIT6X02AP2T1? In theory it should work. The kardware is fine as I can use the KIT6X02AP2T1 to interface BMA7118 using EvalGUI8.

Thanks

 

 

0 Kudos
Reply

806 Views
Crt33
Contributor I

Hi,

in my previous post I listed the wrong file. I used SCRIPT_uc1_current_measurement.txt which should auto-detect the PHY, not the 777_uc1_precise_current_meas.txt. The output (error) is fine. I am attaching the file.

0 Kudos
Reply
%3CLINGO-SUB%20id%3D%22lingo-sub-2321989%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EScriptGUI3%2C%20MC33777BT%20(EVBMA777T3)%20and%20BMA6402SA%20(KIT6X02AP2T1)%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2321989%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%2C%3C%2FP%3E%3CP%3EI%20am%20trying%20to%20run%20some%20demo%20scripts%20in%20SCriptGUI3%20(3.55)%20to%20read%20back%20registers%20from%26nbsp%3BEVBMA777T3.%20I%20am%20using%20the%26nbsp%3BKIT6X02AP2T1%20to%20interface%20the%20TPL3.%20From%20the%20source%20code%20it%20seems%20that%20BMS6402%20is%20supported%2C%20but%20the%20script%20(777_uc1_precise_current_meas.txt)%20doesn't%20work.%20Am%20I%26nbsp%3Bdoing%20something%20wrong%3F%3C%2FP%3E%3CBR%20%2F%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Untitled.png%22%20style%3D%22width%3A%20624px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Untitled.png%22%20style%3D%22width%3A%20624px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Untitled.png%22%20style%3D%22width%3A%20624px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Untitled.png%22%20style%3D%22width%3A%20624px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F377688i2AF680921CF8640B%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22Untitled.png%22%20alt%3D%22Untitled.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2322137%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20ScriptGUI3%2C%20MC33777BT%20(EVBMA777T3)%20and%20BMA6402SA%20(KIT6X02AP2T1)%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2322137%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CDIV%20class%3D%22lia-message-author-avatar%20lia-component-author-avatar%20lia-component-message-view-widget-author-avatar%22%3E%0A%3CDIV%20class%3D%22UserAvatar%20lia-user-avatar%20lia-component-common-widget-user-avatar%22%3EHello%20Crt33%3C%2FDIV%3E%0A%3CDIV%20class%3D%22UserAvatar%20lia-user-avatar%20lia-component-common-widget-user-avatar%22%3E%26nbsp%3B%3C%2FDIV%3E%0A%3CDIV%20class%3D%22UserAvatar%20lia-user-avatar%20lia-component-common-widget-user-avatar%22%3ECould%20you%20send%20your%20file%20so%20we%20can%20check%20if%20there%20are%20any%20relevant%20changes%3F%3C%2FDIV%3E%0A%3CDIV%20class%3D%22UserAvatar%20lia-user-avatar%20lia-component-common-widget-user-avatar%22%3E%26nbsp%3B%3C%2FDIV%3E%0A%3CDIV%20class%3D%22UserAvatar%20lia-user-avatar%20lia-component-common-widget-user-avatar%22%3EThanks%20for%20your%20understanding.%3CBR%20%2F%3EI%20will%20be%20waiting%20for%20your%20response%3CBR%20%2F%3EHave%20a%20great%20day%20and%20best%20of%20luck.%3C%2FDIV%3E%0A%3C%2FDIV%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2323806%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20ScriptGUI3%2C%20MC33777BT%20(EVBMA777T3)%20and%20BMA6402SA%20(KIT6X02AP2T1)%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2323806%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%2C%3C%2FP%3E%3CP%3Ein%20my%20previous%20post%20I%20listed%20the%20wrong%20file.%20I%20used%20SCRIPT_uc1_current_measurement.txt%20which%20should%20auto-detect%20the%20PHY%2C%20not%20the%20777_uc1_precise_current_meas.txt.%20The%20output%20(error)%20is%20fine.%20I%20am%20attaching%20the%20file.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2325615%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20ScriptGUI3%2C%20MC33777BT%20(EVBMA777T3)%20and%20BMA6402SA%20(KIT6X02AP2T1)%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2325615%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%2C%3C%2FP%3E%3CP%3EI%20have%20spent%20the%20last%20day%20trying%20to%20run%20at%20least%20some%20example%20script%20from%20the%20ScriptGUI3%20using%20KIT6X02AP2T1%20and%20EVBMA777T3.%20Since%20that%20didn't%20work%20I%20modified%20the%20script%20to%20access%20at%20least%20some%20registers%20from%20the%20BMA6402SA%20gateway%20on%20the%26nbsp%3BKIT6X02AP2T1.%26nbsp%3B%3C%2FP%3E%3CP%3EI%20tried%20to%20init%20the%20PHY%20as%20bms6402%20and%20as%20mc33665a%20as%20the%20device%20info%20register%20is%20the%20same.%20In%20first%20case%20I%20get%20a%20python%20error%20initializing%20the%20PHY.%20In%20the%20second%20case%20the%20initialization%20goes%20well%2C%20but%20I%20don't%20get%20back%20the%20response.%20Please%20see%20attached%20screenshoots.%26nbsp%3B%3C%2FP%3E%3CP%3EWhat%20am%20I%20doing%20wrong%20or%20what%20is%20the%20trick%20using%20ScriptGUI3%20and%20BMA6402%20on%26nbsp%3BKIT6X02AP2T1%3F%20In%20theory%20it%20should%20work.%20The%20kardware%20is%20fine%20as%20I%20can%20use%20the%26nbsp%3BKIT6X02AP2T1%20to%20interface%20BMA7118%20using%20EvalGUI8.%3C%2FP%3E%3CP%3EThanks%3C%2FP%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E