Mozilla/5.0 (X11; Linux i686; rv:12.0) Gecko/20120430 Thunderbird/12.0.1
Does it also crash on the booz board without the HMC plugged ? Does
it start with imu v1.0 or others without the magnetometer code ? By
any chance, do you have a logical analyzer ?
Gautier
Le 16/06/2012 16:43, Christoph Niemann a écrit :
Hi Gautier,
thank you very much, but if I use v1.2 (which already has the I2C1
define) or v1.1 (in this case by loading the hmc module and
changing the I2C to I2C1 (because it is connected to this port,
because I want to use I2C0 for the MKK ESCs and the hmc is 3.3V
I2C)) the Booz-Main board doesn't flash the LEDs anymore, when
aligning the AHRS and there is no telemetry. I tried to reproduce
it using a TWOG and the fixiedwing fw and there is still
telemetry. I have absolutely no clue, what could be the problem,
so if somebody has an idea, I would be really happy! The fact the
HMC isn't needing the DRDY-line is really good :-)
The HMC58XX driver is polling the sensor, so their is no
need of the DRDY pin. Also the flag USE_I2C1 is already
define by the subsystem, so you should not be necessary to
define it again.
Gautier
Le 16/06/2012 00:13, Christoph Niemann a écrit :
Hi Felix,
thank you very much. As usual your response was very
helpful.I was just using a really old version, since
then it didn't build. Now I'm using the current v3.9
and it builds. But there are still some problems: If I
define USE_I2C1 the LPC won't start at all, I wasn't
able to reproduce this with a TWOG. Might it be a
HW-Problem? I think I should use i2c1 since it should
be 3.3V I2C.
Second: I'm using this (http://www.sparkfun.com/products/9371)
Breakout Board from Sparkfun. It doesn't have the
DRDY-Pin. I was able to solder a wire to the pad and
could solder it accordingly, but: Will it work if I
define HMC5843_NO_IRQ without DRDY for the AHRS?
Last but not least I saw the "original b2_v1.2 has a
1.8V Vreg. Is it really needed?
If there is somebody, who has answers for this
questions help would be highly appreciated.
the driver for the booz imu v1.2 on LPC21xx uses
the arch independent driver hcm58xx, so you don't
need an arch file...
See
conf/firmwares/subsystems/shared/imu_b2_v1.2.makefile
Cheers, Felix
On Thu, Jun 14, 2012 at 9:53 AM,
Christoph Niemann <address@hidden>
wrote:
Hi everyone,
currently I'm trying to get some old booz
Hardware to work. Everything is fine and
works, but the mag doesn't. It's a Booz
PCB set v1.1 . So the mag is currently a
MS2100. I can see the LPC sends somesthing
like 0x4B to the mag, but it doesn't pull
DRDY. So I guess the MS2100 is broken. I
have a HMC5843 here. So what I want to try
to do is to just change the type of the
IMU from v1.1 (MS2100) to v1.2 (HMC5843).
But the arch file for the HMC on the LPC
seems to miss. Am I making a misstake or
do I have to implement it? Or has somebody
already implemented it? Every help would
be appreciated.