EmbeddedRelated.com
Forums

LPC2129 CAN examples?

Started by embeddednut April 7, 2004
Hi Robert

How is the CAN appnote coming along?

-- CHarles


An Engineer's Guide to the LPC2100 Series

To Philips Apps,

So is CAN on the LPC2000 devices a 'go' or 'no go'?

Which conclusions do you expect us to draw now that 17 days passed
since your last posting on this issue? Is it that difficult to get
the CAN interface working? Please know that three other members of
the group contacted me privately to ask me if I have any updates on
this issue.

I appreciate your openess of telling us that CAN does not work as
documented, but my question now is: does it work at all? And please
do not try to get away with a simple 'yes' (assuming 'no' is not an
option), because the next question will be 'how'?

Thanks,

Peter --- In , "philips_apps" <philips_apps@y...>
wrote:
> Peter,
> Unfortunately full_CAN mode is not functional in the current
> devices. There is a problem with interrupt contention, when this
is
> fully characterized it will be detailed in an errata. In the mean
> time please do not use full-CAN mode. > Philips apps.
>
> --- In , "embeddednut" <embeddednut@y...>
> wrote:
> > Does anyone have an example program yet for using the CAN
> interfaces
> > on the LPC2129? FullCAN mode is what I am trying to use. I have a
> > simple example going, but reception seems to stops as soon as I
> > increase bandwidth :-(
> >
> > Peter





Peter,
Two CAN implementations (For the MCB2100 board) are now available
in the files section. These were recently finished by Embedded
Systems Academy. The "blinky" example provides a minimal
implementation of the CAN interface while the "Full" CAN example
gives a close approximation to the Full CAN mode.

Since these examples have just been completed the documentation will
lag somewhat behind, I will post it as well when it becomes available. Richard

--- In , "embeddednut" <embeddednut@y...>
wrote:
> To Philips Apps,
>
> So is CAN on the LPC2000 devices a 'go' or 'no go'?
>
> Which conclusions do you expect us to draw now that 17 days passed
> since your last posting on this issue? Is it that difficult to get
> the CAN interface working? Please know that three other members of
> the group contacted me privately to ask me if I have any updates on
> this issue.
>
> I appreciate your openess of telling us that CAN does not work as
> documented, but my question now is: does it work at all? And please
> do not try to get away with a simple 'yes' (assuming 'no' is not an
> option), because the next question will be 'how'?
>
> Thanks,
>
> Peter > --- In , "philips_apps" <philips_apps@y...>
> wrote:
> > Peter,
> > Unfortunately full_CAN mode is not functional in the current
> > devices. There is a problem with interrupt contention, when this
> is
> > fully characterized it will be detailed in an errata. In the
mean
> > time please do not use full-CAN mode.
> >
> >
> > Philips apps.
> >
> > --- In , "embeddednut" <embeddednut@y...>
> > wrote:
> > > Does anyone have an example program yet for using the CAN
> > interfaces
> > > on the LPC2129? FullCAN mode is what I am trying to use. I have
a
> > > simple example going, but reception seems to stops as soon as I
> > > increase bandwidth :-(
> > >
> > > Peter





Hi Richard, Robert, ESAcademy,

--- In , "philips_apps" <philips_apps@y...>
> Two CAN implementations (For the MCB2100 board) are now
available
> in the files section. These were recently finished by Embedded
> Systems Academy. The "blinky" example provides a minimal
> implementation of the CAN interface while the "Full" CAN example
> gives a close approximation to the Full CAN mode.
>
> Since these examples have just been completed the documentation
will
> lag somewhat behind, I will post it as well when it becomes
available.

Thank you! Just a little feedback: both programs seem to work fine
for me. I placed the FullCAN demo program under some stress (1MBit,
up to 100% busload) and it looks like everything is working fine. I
did not have a chance to determine the correct number, but it looks
like CPU usage for this case is still below 50% (at 60MHz).

And our current plan is to run at 125kbit anyway...

Recommendations for CANopen solutions for the LPC2129 anyone?

Peter



--- In , "embeddednut" <embeddednut@y...>
> Recommendations for CANopen solutions for the LPC2129 anyone?

Hi Peter,

What kind of functionality do you require? Single CAN interface
supported or multiple? Any dynamic configuration (where PSO message
configuration can change during operation) or static?

We are currently working on a LPC2000 driver for
www.MicroCANopen.com

That will only support one CAN interface and static configurations.

We also know that both CMX and Vector are working on LPC2000 drivers
for their "full-grown" CANopen stacks.

http://www.cmx.com/CMXCANopen.htm
http://www.vector-cantech.com/index.html?../products?canopen.html

Olaf
Tutor at ESAcademy
www.esacademy.com
www.canopen.us
www.canopenbook.com