MC33771C

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

MC33771C

9,589 Views
sylvya_8214
Contributor I

Good afternoon!

When I upload my code to my s32k144, the BMS MC33771C put enable one FAULT_BMS and I´m triying to clean the flag but never put disable. It´s not possible. How could I solutions this? How could I clean de flag of error? 

 

sylvya_8214_0-1700753114114.png

sylvya_8214_1-1700753171859.png

 

0 Kudos
Reply
6 Replies

9,560 Views
sylvya_8214
Contributor I

Good afternoon Jozef.

Sorry, I forgot to say this. Thanks for your reply.

The problem is that when I run my program the Fault_BMS signal is always active. The bits that are set to 1 BIT 15 (POR) and BIT 6 (I2C_
ERR_FLT) . I don't have I2C communication because I do it by TPL. Anyway, I2C is masked.

The content of the FAULT1_STATUS register is 32832 = 10000000 01000000.

The content of the FAULT_MASK1 register is 8179 = 0001 1111 1111 1111 0011.

Kind regards.

Silvia. 

0 Kudos
Reply

9,519 Views
JozefKozon
NXP TechSupport
NXP TechSupport

Hi Silvia, 

please make sure, that the SDA and SCL pins are left open if the I2C is not used. Then the I2C_ERR_FLT bit will be always 1, even if it is masked. If you will mask it, then is will not raise the fault pin. Please check your code. From the screenshot you shared, I am not sure, if you have correctly set the FAULT_MASK1 register. The FAULT_MASK1 register address is 0x27 and you need to set the bit 6 to 1. 

I see you have probably set the I2C_ERR_FLT to 1, but please check the function again.

With Best Regards,

Jozef

0 Kudos
Reply

9,496 Views
sylvya_8214
Contributor I

Hi Jozef,

I have check my function and I set the I2C_ERR_FLT to 1. I show you the FAULT_MASK1 register.

When I load the program, the FAULT_BMS is always activated but only set 0 when the time is over 60 seconds.

I have check too that SCL and SDA is open

Sorry for the inconvenience.

Best regards

0 Kudos
Reply

9,563 Views
JozefKozon
NXP TechSupport
NXP TechSupport

Good afternoon Silvia, 

which bit or bits in the FAULT1_STATUS register are set to 1? Please share the content of the FAULT1_STATUS register. 

With Best Regards,

Jozef

0 Kudos
Reply

9,530 Views
sylvya_8214
Contributor I

Good afternoon Jozef.

Sorry, I forgot to say this. Thanks for your reply.

The problem is that when I run my program the Fault_BMS signal is always active. The bits that are set to 1 BIT 15 (POR) and BIT 6 (I2C_
ERR_FLT) . I don't have I2C communication because I do it by TPL. Anyway, I2C is masked.

The content of the FAULT1_STATUS register is 32832 = 10000000 01000000.

The content of the FAULT_MASK1 register is 8179 = 0001 1111 1111 1111 0011.

Kind regards.

Silvia. 

0 Kudos
Reply

9,529 Views
sylvya_8214
Contributor I
 
0 Kudos
Reply