paparazzi-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Paparazzi-devel] Booz IMU v1.2 on LPC


From: Christoph Niemann
Subject: Re: [Paparazzi-devel] Booz IMU v1.2 on LPC
Date: Sun, 17 Jun 2012 11:14:39 +0200

Hi David,

sounds interesting. The current behavior, trying to use the MS2100 is, the IMU initializes (the ADC gives values and the LEDs glow continuously) but the MAG_RAW message only gives (0,0,0). Do you think this could be a new bug? Which SVN revision do you use? (http://svn.savannah.nongnu.org/viewvc/paparazzi-software/trunk/?root=paparazzi&pathrev=6430) ? Which IMU version do you have? Could you supply the config-file, so I could do some HW-testing with the original mag?
Could someone who has a Booz-Mainboard try, what happens if the define USE_I2C1 is set?

Thanks for your help

Christoph

2012/6/16 David Conger <address@hidden>
Christoph, Have you tried with older paparazzi3 source? I found if I used older SVN paparazzi3 the single axis mag does work. With the newer Git code it does not. AJ was going to create an issue in Git. I have confirmed it many times but not until now did you also see the same issue with v1.1 Booz IMU. 
-David Conger

On Jun 16, 2012, at 9:44 AM, Christoph Niemann wrote:

I forgot: It starts with v1.1 and v1.0 since there is no USE_I2C1 in their makefiles.

2012/6/16 Christoph Niemann <address@hidden>
Yep, it also crashes without anything plugged. As I wrote, normally its a v1.1 IMU with the MS2100 (potentially broken, the SPI works, since the MAX1168 does - I disconnected the DRDY from the MS2100) placed. Currently I build it using the driver for the v1.1. If I load the HMC-Module for I2C0 it doesn't crash. If I don't load the module and do the define for I2C1 it crashes. It doesn't matter if the HMC is plugged or not.
I've got a LA but unfortunaly currently I'm not at home. Do you have a suggestion what to look for?


Christoph

2012/6/16 Gautier Hattenberger <address@hidden>
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 :-)

Cheers

Christoph

2012/6/16 Gautier Hattenberger <address@hidden>
Hi Christoph,

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.

Cheers

Christoph

2012/6/15 Felix Ruess <address@hidden>
Hi Christoph,

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.

Cheers

Christoph

_______________________________________________
Paparazzi-devel mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/paparazzi-devel



_______________________________________________
Paparazzi-devel mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/paparazzi-devel




_______________________________________________
Paparazzi-devel mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/paparazzi-devel

_______________________________________________
Paparazzi-devel mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/paparazzi-devel




_______________________________________________
Paparazzi-devel mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/paparazzi-devel

_______________________________________________
Paparazzi-devel mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/paparazzi-devel



_______________________________________________
Paparazzi-devel mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/paparazzi-devel


_______________________________________________
Paparazzi-devel mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/paparazzi-devel



reply via email to

[Prev in Thread] Current Thread [Next in Thread]