EmbeddedRelated.com
Forums

MCB2100 - BlinkCAN example

Started by Rodrigo June 22, 2004

I can’t use the COS feature of the MicroCanOpen implementation...

I’m using a 300ms inhibit time in the AD message, but it always get an error

 

Original Initialization of AD TPDO ( user_LPC2.c)

MCO_InitTPDO(2,0,200,0,4,IN_ana_1);

  // TPDO2, default ID (0x280+nodeID), 200ms event, 0ms inhibit, 4 bytes

 

What I have changed

MCO_InitTPDO(2,0,0,300,4,IN_ana_1);

 

I’ve changed the mco files for the version 2.01 and it’s working Ok with timed events.

 

There’s another change I have to do in order to use the COS feature?

 

 

Rodrigo Martins

Dpto. Projeto

Intermetric Instrumentos Ltda

 




An Engineer's Guide to the LPC2100 Series

Please note that the BlinkCAN example provided in the Files section
of this group is not a complete MicroCANopen implementation. The
purpose here was to provide an additional example for how to use the
CAN interface - not to provide a CANopen implementation.

To download the full version of MicroCANopen, please make sure to get
the latest version from www.MicroCANopen.com.

If you have more (Micro)CANopen related questions, please either
email us directly or use the CANbus or CANopen groups on Yahoo.

Thanks

Olaf
Tutor at ESAcademy --- In , "Rodrigo" <rodrigo@i...> wrote:
> I can't use the COS feature of the MicroCanOpen implementation...
>
> I'm using a 300ms inhibit time in the AD message, but it always get
an
> error >
> Original Initialization of AD TPDO ( user_LPC2.c)
>
> MCO_InitTPDO(2,0,200,0,4,IN_ana_1);
>
> // TPDO2, default ID (0x280+nodeID), 200ms event, 0ms inhibit, 4
bytes
> What I have changed
>
> MCO_InitTPDO(2,0,0,300,4,IN_ana_1); >
> I've changed the mco files for the version 2.01 and it's working Ok
with
> timed events. >
> There's another change I have to do in order to use the COS
feature?
>
>
> Rodrigo Martins
>
> Dpto. Projeto
>
> Intermetric Instrumentos Ltda