8 years, 7 months ago.

CAN Filter always return 0

Hello,

i want to use the CAN hardware acceptance filter on my LPC1768. But the filterhandle always returns 0. I use the following Code:

CAN filterhandle

filterhandle = can2.filter(0xff,0x07ff,CANAny,0);
if(can2.read(msg,filterhandle))
{
    //do something 
}

I searched the web and the mbed Forum but i could not find any solution. Maybe someone has got an idea? Thanks!

Be the first to answer this question.