|
From: | Christophe De Wagter |
Subject: | Re: [Paparazzi-devel] Aspirin IMU or PPZUAV 9DOF IMU with LPC21 based autopilots |
Date: | Sat, 19 Mar 2011 14:33:20 +0100 |
HI Jeremy
I have an aspirin. I can help you with that.
you need to create those files
sw/airborne/arch/stm32/subsystems/imu/imu_aspirin_arch.c
sw/airborne/arch/stm32/subsystems/imu/imu_aspirin_arch.h
and then use spi and i2c to talk to the sensors
you need to edit
conf/autopilot/subsystems/shared/imu_aspirin.makefile
add a
ifeq ($(ARCH), lpc21)
else ifeq ($(ARCH), stm32)
endif
to separate between architecture dependant sources and flags
I2C part should be quite the same
you can directly reuse the hardware independant I2C part which is in
sw/airborne/subsystems/imu/imu_aspirin.[ch]
you need to write a hardware dependant SPI driver for the accelerometer
Don't hesitate to ask if you need more details
Poine
> _______________________________________________
On Sat, Mar 19, 2011 at 1:03 AM, Jeremy Reinertsen <address@hidden> wrote:
> Hello,
>
> Is anyone working on integrating Aspirin IMU or PPZUAV 9DOF IMU with LPC21
> based autopilots?
>
> Also, what is the EEPROM used for on the Aspirin IMU?
>
> I started looking through the code last night. Aspirin IMU is already done
> for Lisa/L so it should just be a matter or reusing and reworking existing
> examples. I think the first step is to drop a copy of
>
> imu_aspirin.makefile in to the right place but that's all I know so far.
>
>
>
> Cheers
>
> Jeremy
>
> Paparazzi-devel mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/paparazzi-devel
>
>
_______________________________________________
Paparazzi-devel mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/paparazzi-devel
[Prev in Thread] | Current Thread | [Next in Thread] |