interrupts and the canbus

04 Feb 2010

How do you attach an interupt event to the canbus recieve line?

I want to hook severel MBED boards together in a hardware lab, and use message

passing over the can bus, but I will need recieve interupts, as I can't leave the boards

polling the bus.

Thanks

Pete

04 Feb 2010

The hardware is capable of supporting it, but as far as I am aware the current mbed library isn't.

So you may have to implement it yourself.

05 Feb 2010

Looks like a weekend reading the philips data sheet, :-(, thanks for your pointer

 

Pete

14 May 2013

Hi Peter,

I am facing a similar conundrum. I had assumed that the attach() function would work, as it was referenced in the CAN library documentation. However, I now see that it does not work.

Have you achieved your goal of message passing over the CAN bus using mbeds? Which microcontroller did you use? If you used the LPC1768, and if you have the function that implements the interrupt, may I be allowed to use it? I am a student working on a project of mine and I will be happy to acknowledge you as the author of the code.