Nov 16, 2017
01:39 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Nov 16, 2017
01:39 AM
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
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
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
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
- Tags:
- IFX
4 Replies
Nov 17, 2017
06:51 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Nov 17, 2017
06:51 AM
Hi Jorge,
yes, you´re right. The template file is wrong and this will be fixed with the newest update. Newest update should be there at the end of month and until then you can try using other I2C options except Interrupt + FIFO buffer mode (only in that case "I2C_MASTER_TX_IRQN" macro is used, so with all other options you should be perfectly safe).
Regards,
Deni
yes, you´re right. The template file is wrong and this will be fixed with the newest update. Newest update should be there at the end of month and until then you can try using other I2C options except Interrupt + FIFO buffer mode (only in that case "I2C_MASTER_TX_IRQN" macro is used, so with all other options you should be perfectly safe).
Regards,
Deni
Nov 29, 2017
04:56 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Nov 29, 2017
04:56 AM
Hello drubesa
When the update will be available. because I'm having a lot of problems in my project, I really need I2C, and I've tried to use I2C anyway and it's not working. I already used a log analyzer to see what the error was.
I am looking forward to this update
See you later.
When the update will be available. because I'm having a lot of problems in my project, I really need I2C, and I've tried to use I2C anyway and it's not working. I already used a log analyzer to see what the error was.
I am looking forward to this update
See you later.
Mar 14, 2018
07:27 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Mar 14, 2018
07:27 AM
Hello,
as far as I'm facing the same problem I want to ask when / how this bug is fixed?
Best regards
Gerhard
as far as I'm facing the same problem I want to ask when / how this bug is fixed?
Best regards
Gerhard
Mar 14, 2018
02:36 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Mar 14, 2018
02:36 PM
Hi,
so this issue has been solved for some time now. Currently we are on the 4.1.26 version of I2C_MASTER APP. If you´re using some older version, I would suggest update to the newest one. You can do either "Help" -> "Check for DAVE APP Updates", or you can update only APP used by your current project by right clicking on the project name and then "DAVE Project Upgrade" -> "APPs Upgrade".
Best regards,
Deni
so this issue has been solved for some time now. Currently we are on the 4.1.26 version of I2C_MASTER APP. If you´re using some older version, I would suggest update to the newest one. You can do either "Help" -> "Check for DAVE APP Updates", or you can update only APP used by your current project by right clicking on the project name and then "DAVE Project Upgrade" -> "APPs Upgrade".
Best regards,
Deni