CAN bus implementation
-
- Posts: 32
- Joined: Mon Mar 10, 2014 1:32 am
Re: CAN bus implementation
Thanks! I built from source and it worked wonderfully. For anyone wondering, the instructions on dfu-util's site work perfectly (Ubuntu 14.04 64-bit).
http://dfu-util.gnumonks.org/build.html
http://dfu-util.gnumonks.org/build.html
Re: CAN bus implementation
I am glad I am motivating you to work on the CAN implementation. I also asked to see if I can get some official support as well. Not sure how busy people are who are involved with this project... hope not too busy.
I do not want to steer the thread away from the issue you are seeing so I will keep this short.
I do not want to steer the thread away from the issue you are seeing so I will keep this short.
_______________
Travis Travelstead
Travis Travelstead
-
- Posts: 32
- Joined: Mon Mar 10, 2014 1:32 am
Re: CAN bus implementation
I'm not sure what kind of officiality you're looking for - if you mean part of the pyboard module, then that's exactly what I'm working on. I am working to add source code to the micropython project, not just an independent library/add on.
If you want to see the current progress, check out this thread: http://forum.micropython.org/viewtopic.php?f=3&t=176
If you want to see the current progress, check out this thread: http://forum.micropython.org/viewtopic.php?f=3&t=176
Re: CAN bus implementation
SwinDude0614, how is your CAN bus project? I am also planning to add CAN to Micropython. I plan to first use the STM32Cube utility to make a standalone project and get the two CANs on the stm42f407 to talk to each other. Then add it into Micropython. I am using a STM32F407 discovery board and emblocks IDE as the software as my downloader/debugger tool.
-
- Posts: 32
- Joined: Mon Mar 10, 2014 1:32 am
Re: CAN bus implementation
I'm afraid I haven't touched it since my last post. I've picked a previous personal project and have been working entirely on that.
Re: CAN bus implementation
SwimDude0614 - Hope your new project is going well, sorry to hear that you won't be working on uPy CAN for the time being. I just wanted to thank you for putting your preliminary work on creating a new micropython module in C up on the dev wiki. It saved me a lot of time that I would have spent figuring out the basic structure of the modules, very useful as I made a small tweak to the I2C class and will be useful as I attempt to tackle I2S (any week now…)
Re: CAN bus implementation
I have been away for a bit working on other project and came back to see if I found any updates. On another thread I found what appears to be a working implementation of CAN.
http://forum.micropython.org/viewtopic. ... +bus#p2596
Is it true that it is now working? Has any of you tried it?
I will look into the code to also see if there is hardware level filtering.
http://forum.micropython.org/viewtopic. ... +bus#p2596
Is it true that it is now working? Has any of you tried it?
I will look into the code to also see if there is hardware level filtering.
_______________
Travis Travelstead
Travis Travelstead
-
- Posts: 32
- Joined: Mon Mar 10, 2014 1:32 am
Re: CAN bus implementation
That's great news! I have not tried it. Looking forward to hearing from someone with the hardware that can confirm it works
Re: CAN bus implementation
Yes, I am excited also. This is what was holding me back from using this on projects that I can really put my time into.
Also found this reference that also included filters, which makes me happy.
http://forum.micropython.org/viewtopic. ... ages#p3062
Also found this reference that also included filters, which makes me happy.
http://forum.micropython.org/viewtopic. ... ages#p3062
_______________
Travis Travelstead
Travis Travelstead
Re: CAN bus implementation
Sorry for the multiple messages
Here is the Class references
http://docs.micropython.org/en/latest/l ... b.CAN.html
https://github.com/micropython/micropyt ... yb.CAN.rst
Here is the Class references
http://docs.micropython.org/en/latest/l ... b.CAN.html
https://github.com/micropython/micropyt ... yb.CAN.rst
_______________
Travis Travelstead
Travis Travelstead