Using ECAN peripheral for dsPIC using Simulink blockset
Hi all, hi Lubin,
I cannot express how grateful I am to Microchip for offering this blockset. It has aided me tremendously with multiple projects. Right now I am looking into the ECAN peripheral configuration. From what I understood, there is no official ECAN block available, as there are just too many use cases for this peripheral that it makes little sense to develop such a solution.
Going through the datasheets and application notes, I really believe that offering basic functionalities in a couple blocks can be achieved.
In any case, I cannot seem to wrap my head around the CANOpen implementation which is recommended by Lubin. What's more, there is no working example available. Manuals for the official blockset are already scarce, let alone some third-party library, so I am out of luck on that front, as well.
Has any of you successfully deployed this ECAN library via C functions? If so, if you guys don't mind, can you share with the rest of us how that can be achieved?
Having spent a couple days on this issue, I gradually started looking into other solutions. I found this interesting repository :https://github.com/Susurrus/ECAN_dspic
The "TODO.md" file states :
Push this back up to Lubin for incorporation into his blockset.
I guess somebody had been disappointed some seven years ago.
Thank you all in advance. Any help is greatly appreciated.