Re: [Paparazzi-devel] lisa/m with mkk controller = problem
From:
Eduardo Lavratti
Subject:
Re: [Paparazzi-devel] lisa/m with mkk controller = problem
Date:
Thu, 27 Dec 2012 15:07:24 -0200
Well, with i2c new driver the mkk driver work much better but the problem occur . way the i2c1 clockspeed of newdriver is set to 40khz and i2c2 to 300khz ?
On Thu, Dec 27, 2012 at 12:19 PM, Eric BAHIER <address@hidden> wrote:
Hi,
It is not a I2C bus speed problem.
The problem is probably, (it was for me) we try to send to many byte
on the I2Cbus, and the I2C bandwith is too small.
We must refresh the order to the MKK less time, you must reduce the
quantity of data below the bandwith.
it is pssible, but I don't remenber the correct parameters in the
airframe.xml file.... I will need it in few days...
Regards,
Eric
Le 27/12/2012 14:45, Eduardo Lavratti a
écrit :
I think Its not buffer size ... its speed problem.
Anyone know if ppz i2c bus run at 100 or 400khz ?
On Thu, Dec 27, 2012 at 6:48 AM, Eric
BAHIER <address@hidden>
wrote:
Hi,
In the past with booz (and near futur), I fly an hexa.... I
had the same problem.
The problem was an over load of the I2C bus, we put slower
the data refresh for 6 mkk esc...
I dont rember where we make it slower....
Have nice day,
Eric
Le 27/12/2012 01:54, Eduardo Lavratti a écrit :
Hello,
anyone using 6 ou 8 MK esc with lisa/m ?
Today i put my lisa/m board on my BiG hexa.
This hexa fly very well with MK boards.
i have an mini octo that fly very well with mk boards
too.
with lisa_m it fly some time and the lisa HANG
resulting in crash.
in second test crashed again.
i make some tests in the bench.
i tested with big hexa setup and mini octo, all with
i2c escs.
the result:
with 4 esc the lisa never hang.
With 6 esc lisa hang after some time
with 8 esc lisa hang much faster than with 6.
i think it is a i2c buffer problem again.
I remember i configured the buffer last year an tell
felix about this problem.