Page 1 of 1
Can't find MOT_CAN
Posted:
Thu Apr 17, 2014 2:15 pm
by Astudillo
Hey Guy's,
im trying to test my esc32 on the CAN bus, on the esc side i put the CAN ID on 1.
Motor1 is on CAN and motors 2-4 are on PWM so its 1000 = 8 on decimal right?
But in the qgc i can't find CAN_MOT, only CAN_MOTL and CAN_MOTH. What should i fill in there?
I'm using firmware r373.
Cheers,
Ray
Re: Can't find MOT_CAN
Posted:
Thu Apr 17, 2014 2:39 pm
by chschmid
Hi Ray
Use MOT_CANL.
Best
Christof
Re: Can't find MOT_CAN
Posted:
Thu Apr 17, 2014 2:57 pm
by bn999
For a single CAN ESC with ID # 1, MOT_CANL == 1 and MOT_CANH == 0
Re: Can't find MOT_CAN
Posted:
Tue Apr 22, 2014 3:33 pm
by afernan
So, for an HEXA full CANed:
00111111 = decimal 63.
MOT_CAN = 15
So:
MOT_CANL = 15
MOT_CANH = 0
Is that correct? (some more explanation in wiki is wellcome)
Re: Can't find MOT_CAN
Posted:
Tue Apr 22, 2014 3:38 pm
by joebar.rc
Re: Can't find MOT_CAN
Posted:
Tue Apr 22, 2014 11:13 pm
by afernan
Sorry: was a typo:
I mean for an HEXA full CANed:
MOT_CANL = 63
MOT_CANH = 0
Is that correct?
Re: Can't find MOT_CAN
Posted:
Wed Apr 23, 2014 1:11 am
by JussiH
Yes, thats what I use for Hexa with CAN adress 1 thru 6.
Binary 111111 is 63 in decimal.
Sanity check tool:
http://acc6.its.brooklyn.cuny.edu/~gurw ... 2tool.html
Re: Can't find MOT_CAN
Posted:
Thu Apr 24, 2014 10:16 am
by Jdmagoo
Re: Can't find MOT_CAN
Posted:
Fri Apr 25, 2014 9:34 am
by afernan
Using QGC, you need to define the "MOT_CAN" value in the params table. In the case of a full "CANed" hexa MOT_CAN = 63.
What happen with the MOT_CANH and MOT_CANL? do we need to assign also? (this requires compilation). I guess not.
Re: Can't find MOT_CAN
Posted:
Fri Apr 25, 2014 9:44 am
by joebar.rc
If you have mot_can than you don't use the latest svn release. That's fine and you don't have to worry about mot_canl &h. Some time ago support for uart over can for the future pdb was implemented and that required the split in can_l & h params.
so... When you use a new release you will see them...
Menno