Hello all,
Does anyone has any simple example of CANopen implementation (especialy PDO usage)? I found AN11238_1 demo, but there isn't any example or api about PDO. I practice SDO tx and rx with the LPC11Cxx demo and read on internet documentation about PDO, but this was not enough for me to implement PDO.
Thank you!
Hi,
Unfortunatelly, not all features of CANopen are implemented in the demo, but the most-used features of CANopen are supported:
• SDO expedited transfer: client & server.
• SDO segmented transfer: client & server.
• NMT: master, slave & boot-up.
• Heartbeat: producer & consumer.
The demo will demonstrate these features with the aid of a terminal program and the onboard LEDs and buttons.
PDO transfer, synchronization, time stamp and emergency are not realized in the demo, you have to implement PDO yourself.
I suggest to check the guidelines showed in this post:
CANopen PDO sample code for LPC11Cxx - Stack Overflow
Have a great day,
Sol
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------