Forums

Olimex LPC-P2129 CAN example

Started by eabesselsen December 24, 2005
Hello Everybody,

I have bought an Olimex LPC-P2129 prototype board, an ARM-JTAG
Dongle and I have downloaded a trial version of Rowley CrossStudio.
I am able to write a small program to flash a LED and that works.

I am now trying to work with the CAN capabilities of this board, but
I can't seem to get it working. Is there maybe someone who can help
me with some examples? I already tried some examples (CANAll) from
the Keil-website, but these don't seem to work. I connected pin 2
and 7 of both DB9 connnectors with each other, but debugging tells
me that no message is received. Maybe someone can help me with some
easy code?

Thanks in advance.

Regards,

AndrBesselsen


An Engineer's Guide to the LPC2100 Series


> Hello Everybody,
>
> I have bought an Olimex LPC-P2129 prototype board, an ARM-JTAG
> Dongle and I have downloaded a trial version of Rowley CrossStudio.
> I am able to write a small program to flash a LED and that works.
>
> I am now trying to work with the CAN capabilities of this board, but
> I can't seem to get it working. Is there maybe someone who can help
> me with some examples? I already tried some examples (CANAll) from
> the Keil-website, but these don't seem to work. I connected pin 2
> and 7 of both DB9 connnectors with each other, but debugging tells
> me that no message is received. Maybe someone can help me with some
> easy code?
>
> Thanks in advance.

You can't loop CAN like that, you are shorting out the CAN transceiver
pairs. You will need to loop one CAN port to another CAN port to see if its
working or not.

It might also do you some good to search the web and read up on the CAN
network. There is a lot of good info out there...

Fermi National Accelerator Laboratory
Electronic Systems Engineering Group
Greg Deuerling