Controller Area Network

Discussion related to "under the hood" OpenMV topics.
Hydrorion
Posts: 9
Joined: Mon May 28, 2018 5:39 am

Controller Area Network

Postby Hydrorion » Mon Jul 16, 2018 6:16 am

Hello,
I'm trying to make a Controller Area Network connexion between a Microchip dsPIC33EV 5V and the OpenMV CAM M7. I already implement a transciever CAN "TJA1051" and i have CANoe to test the connection. Since the latest firmware version (3.0.0) i have a probleme, the commande "from pyb import CAN" send an error message : "importerror: cannot import name can" :
error can.PNG
error can.PNG (33.83 KiB) Viewed 50 times
i'm kind of confuse cause 5 days ago the same code worked fine

Anyone got the same probleme ?
User avatar
iabdalkader
Posts: 497
Joined: Sun May 24, 2015 3:53 pm

Re: Controller Area Network

Postby iabdalkader » Mon Jul 16, 2018 8:39 am

Hi, unfortunately CAN was disabled in firmware 3.0 by mistake, I just fixed this, so it's going to be re-enabled in the next release. You can use any older firmware for now if you like or wait for the next release.
Hydrorion
Posts: 9
Joined: Mon May 28, 2018 5:39 am

Re: Controller Area Network

Postby Hydrorion » Mon Jul 16, 2018 8:57 am

Okay thanks for the quick answer !

Return to “Technical Discussion”

Who is online

Users browsing this forum: No registered users and 7 guests