Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

XMC™ Forum Discussions

User21913
Level 1
Level 1
XMClib v2.1.24

Hello,

It looks that there is a bug in the functions
XMC_ETH_MAC_SetAddressPerfectFilterEx() and XMC_ETH_MAC_SetAddressPerfectFilter().

index argument sets two uint32_t values in the array so probably the code should be
reg[index*2] = addr[4] | (addr[5] << 😎 | flags;
reg[index*2 + 1U] = addr[0] | (addr[1] << 😎 | (addr[2] << 16) | (addr[3] << 24);

instead of:
reg[index] = addr[4] | (addr[5] << 😎 | flags;
reg[index + 1U] = addr[0] | (addr[1] << 😎 | (addr[2] << 16) | (addr[3] << 24);

Thanks,
Andriy
0 Likes
3 Replies
User21913
Level 1
Level 1
Can someone in the Infineon team look into this, please?
0 Likes
User21913
Level 1
Level 1
ping x2...
0 Likes
User21913
Level 1
Level 1
another bump pls
0 Likes