AnsweredAssumed Answered

Implemmenting  CANOpen starting from LPCOpen

Question asked by abderrezak on Jul 20, 2016
Latest reply on Aug 24, 2016 by Kerry Zhou


Dear All,

Because of many people, such me, searching for an open source implementation of the CANOpen layer on NXP µC, I have decide to start this project. I can start a discussion and a repository if some people are interested (Using LPCXpresso and LPCOpen)

I have found an open source layer of the CANOpen (CANOpenNode) below

GitHub - CANopenNode/CANopenNode: CANopen stack base.

Now, I'm trying to use the LPCOpen periph_can example to merge it with this work to implement all work on LPC1788.

Because I have never use CAN before I have some difficulties to understand the example, specially the setup of the Acceptance Filter LookUpTable.

For example I can't understand the following code

     CAN_STD_ID_ENTRY_T FullCANSection[] = {

       {CAN_CTRL_NO, 0, 0x03},

       {CAN_CTRL_NO, 0, 0x05},

       {CAN_CTRL_NO, 0, 0x07},

       {CAN_CTRL_NO, 0, 0x09},

     };

how it accept 0x03, 0x04, 0x07, 0x09 as said in the readme, and confirmed by CAN analyzer.

What is the difference between Full CAN Section, Individual Standard ID Section and Standard ID Range Section

 

Thank you

Outcomes