Atmel/Microchip Studio 7.0 with C21 CAN extended acceptance mask not work

1 post / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Hi Guys,

thank you for allow me to joiny this board.

 

I used a Atmel Start Project with CAN Bus. Every think works fine. The only problem is if I configure a mask for extended filter non msg will fire the RxCallbak.

 

filter.id   = 0x07000000;
filter.mask	= 0x1F000000;
can_async_set_filter(&CAN_0, 0, CAN_FMT_EXTID, &filter);

 

change to

filter.id   = 0x07000000;
filter.mask	= 0x00;
can_async_set_filter(&CAN_0, 0, CAN_FMT_EXTID, &filter);

I get every EXTD msg.

 

I searching now for 3 hours on that problem please help me to find my mistake.

 

Thanks