[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4789: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3916)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4791: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3916)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4792: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3916)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4793: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3916)
AutoQuad Forum • View topic - CAN conexions
Page 1 of 1

CAN conexions

PostPosted: Thu Apr 24, 2014 8:21 pm
by afernan
UPDATE:
SOLVED. Was my bad: a wrong mix in my Tx that created an extrange behaviour. All the procedure described below is correct. I leave it for interest to others.
__________________________________________________________________________

I´m testing for first time CAN with the new ESC32 (version "ESC32v20r49") and DIMU v1.1

The connection done is shown in the figure below. I´ve set ESC32 to ESC_ID =1.I´ve asigned MOT_CAN = 1 in QGC parameters page and the mixing table on Motor A, ID=1, Thrust = 100, P,R,Y = 0. Comunication console has show
"ESC32: CAN ID: 1, ver: 2.0.0 "

Working well

Re: CAN conexions

PostPosted: Thu Apr 24, 2014 8:36 pm
by Jdmagoo

Re: CAN conexions

PostPosted: Fri Apr 25, 2014 9:19 am
by afernan
@James, thanks for your help.

I´ll try r54. I´ve compiled it using Makefile (attached the hex). There is already a Makefile prepared for that (Thanks for that, very useful!). The use is similar to AQ fw. In summary:
1.- Download r54 from repo. Copy STM32 library folders: “STM32” y “STM32F4xx_DSP_StdPeriph_Lib_V1.3.0” at same level of "/onboard"
2.- Change your compiler path in "makefile", line 64 . In my case is "CC_PATH ?= C:\CW"
3.- Open a CMD (Windows command prompt) starting in folder /onboard and run: "MAKE ALL". You´ll get the hex under "build" folder

Anyway, did you (or anyone) get ESC32 running properly using CAN?

Angel

Re: CAN conexions

PostPosted: Fri Apr 25, 2014 9:29 am
by Jdmagoo

Re: CAN conexions

PostPosted: Fri Apr 25, 2014 10:15 am
by aBUGSworstnightmare

Re: CAN conexions

PostPosted: Fri Apr 25, 2014 10:31 am
by Jdmagoo
Another note as well Angel, is Im using Mennos custom Firmware for the Hott telemetry which is based on R380. What FC firmware are you using?

Re: CAN conexions

PostPosted: Fri Apr 25, 2014 2:27 pm
by afernan
I´m using AQ r372.

About impedance, I´m using the R120 Ohm sugested in between both lines H-L (see drawing above). Is that correct?. Can I measure the impedance simply with the Resistance measurement of the tester machine?.

Angel

Re: CAN conexions

PostPosted: Fri Apr 25, 2014 2:34 pm
by bn999
Angel - can you describe or show a video of the behavior that seems incorrect?

With CAN, you either have an open channel or you do not. The fact that the FC reports connecting with ESC ID # 1, means that your CAN bus is likely ok.

Also, as CAN support has been refined over time, I'd recommend going with the latest firmware revision - rev 381. I've got a fair bit of time on it in the air using CAN & DIMU so you won't be the first.

Re: CAN conexions

PostPosted: Fri Apr 25, 2014 3:21 pm
by Jdmagoo

Re: CAN conexions

PostPosted: Fri Apr 25, 2014 7:16 pm
by afernan
SOLVED

Was my bad: a wrong mix in Tx that created that extrange behaviour.

@jdmagoo: thanks for your test. I measured the impedance and was 60 Ohms. I use only one R = 120 Ohms (as in scheme).

I´m using r54 on ESC32 (the one attached above).

Angel