Quantcast
Channel: Infineon Forums
Viewing all articles
Browse latest Browse all 9892

I2C Master App fails with two instances

$
0
0
Hello,

I use Dave 4.3.2 with a XMC4500 Relax Kit.
On my project I need 2 (two) I2C busses,

So I made 2 instances of I2C MASTER App

But once I Generate code, I have subsequent compiler warnings :

E:/Workspaces/SW V-Sensor/VSensI2C/Dave/Generated/I2C_MASTER/i2c_master_conf.h:69:0: warning: "I2C_MASTER_TX_IRQN" redefined
...
E:/Workspaces/SW V-Sensor/VSensI2C/Dave/Generated/I2C_MASTER/i2c_master_conf.h:70:0: warning: "I2C_MASTER_RX_IRQN" redefined


Attachment 3211

I know these are only warnings, but they are really frightening since these #define are used in Clear Interrupts methods.
I see there is a "Enable multi-master" checkbox in the I2C_MASTER Parameters interface, but it seems useless here.
It really looks like a miss in the template files.

How can I solve the issue ?

Thanks for your support

Jorge
?????

Viewing all articles
Browse latest Browse all 9892

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>