NXP MBDT model

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

NXP MBDT model

496 Views
petervlna
NXP TechSupport
NXP TechSupport
Hello,

In my NXP MBDT model, I'm using two I2C config block which is I2C-Channel 0 and I2C-Channel 1 for a particular application, Now while I'm generating the code it show the error of 'redefinition of the LPI2C config function' . How can I solve it
 
Best regards,
Peter
0 Kudos
2 Replies

366 Views
SorinIBancila
NXP Employee
NXP Employee

Hello, 

Indeed there is a bug in the implementation of the LPI2C. Can you please download and install this hotfix and see if it solves the problem?

Best regards,

Bancila Sorin

0 Kudos

401 Views
Johnwhitee
Contributor I

Hello,

In my NXP MBDT model, I'm using two I2C config block which is I2C-Channel 0 and I2C-Channel 1 for a particular application, Now while I'm generating the code it show the error of 'redefinition of the LPI2C config function' . How can I solve it

Best regards,
Peter

Hello,

To resolve the redefinition of the LPI2C config function error in your NXP MBDT model, ensure that you have distinct and unique function names for configuring I2C-Channel 0 and I2C-Channel 1. Avoid using the same function name for both configurations. This will prevent the compiler from encountering a naming conflict, allowing you to generate the code without errors. 

 

 

 

0 Kudos