Hi.
I am interested in getting the FlexCAN peripheral supported in MicroPython. Has anybody done any work in this direction, or could point me to any resources to help me? I am an OK c/c++ programmer but have very limited knowledge of MicroPython
Cheers
Phil
[teensy41] CAN BUS support
Re: [teensy41] CAN BUS support
Hi Phil,
CAN support is on our to-do-list. So it will show up someday. But any contribution in this project is good. For designing the API, look at what is impemented already for other ports, like that for PyBoard (https://docs.micropython.org/en/latest/ ... hlight=can) or in the PR which is open it https://github.com/micropython/micropython/pull/8185.
These sources will as well give examples for embedding into the MicroPython framework. Examples for the driver itself can be found at the NXP drivers, e.g. https://github.com/NXPmicro/mcux-sdk/tr ... rs/flexcan. You get examples from NXP if you download a SDK package for the mimxrt1062 from the NXP web site.https://www.nxp.com/security/login?serv ... 2Flogin%2F
CAN support is on our to-do-list. So it will show up someday. But any contribution in this project is good. For designing the API, look at what is impemented already for other ports, like that for PyBoard (https://docs.micropython.org/en/latest/ ... hlight=can) or in the PR which is open it https://github.com/micropython/micropython/pull/8185.
These sources will as well give examples for embedding into the MicroPython framework. Examples for the driver itself can be found at the NXP drivers, e.g. https://github.com/NXPmicro/mcux-sdk/tr ... rs/flexcan. You get examples from NXP if you download a SDK package for the mimxrt1062 from the NXP web site.https://www.nxp.com/security/login?serv ... 2Flogin%2F
Re: [teensy41] CAN BUS support
Thanks Robert.
I will likely have more questions as I work through this.
Phil
I will likely have more questions as I work through this.
Phil