paparazzi-devel
[Top][All Lists]
Advanced

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

Re: [Paparazzi-devel] Eagletree airspeed sensor problems


From: Eduardo lavratti
Subject: Re: [Paparazzi-devel] Eagletree airspeed sensor problems
Date: Sun, 20 Jan 2013 10:30:16 -0200

OPss ... i am using MASTER (updated today)



Date: Sun, 20 Jan 2013 12:08:47 +0100
From: address@hidden
To: address@hidden
Subject: Re: [Paparazzi-devel] Eagletree airspeed sensor problems

Hi,

Again: please report which versions are you using, as this makes a big difference for some of the drivers/subsystems!

The PPM input works fine in v4.2 as well, _but_ the ADC is then sampling very slow as the use the same timer or something like that.
In master this problem should be fixed and PPM input on PA_01 (UART1_RX) _and_ the ADC should be working properly.

Cheers, Felix


On Sun, Jan 20, 2013 at 12:01 PM, Eduardo lavratti <address@hidden> wrote:
Hello Felix, i am using lisa_m 1.0 with PPM input on UART1.
It work fine.


Date: Sun, 20 Jan 2013 11:12:52 +0100
From: address@hidden

To: address@hidden
Subject: Re: [Paparazzi-devel] Eagletree airspeed sensor problems

Regarding the PPM input on the UART1_RX: it should work in master, would be great if you could test it there...


On Sun, Jan 20, 2013 at 11:06 AM, Felix Ruess <address@hidden> wrote:
Well, what is documented in the manual is for the third party mode (outputs mph or kph), which has to be configured using some eagle-tree windows tool first.
We are using the eagle-tree mode (raw), which is not really documented it seems.


On Sat, Jan 19, 2013 at 12:03 PM, Chris <address@hidden> wrote:
I found this on the airspeed manual"
Here is the pseudo code for accessing the Airspeed and Altimeter sensors:
byte data[2];
signed short reading = 0xFFFF;
i2c_start();
// select sensor in write mode
if (!(i2c_write(SENSOR_ADDRESS | I2C_WRITE_BIT))) {
// send "read data" command to sensor
if (!i2c_write(0x07)) {

>From what i understand in the paparazzi code we are only receiving not transceiving.
  if (airspeed_ets_i2c_trans.status == I2CTransDone)
    I2CReceive(AIRSPEED_ETS_I2C_DEV, airspeed_ets_i2c_trans, AIRSPEED_ETS_ADDR, 2);

Is this correct?

Chris

_______________________________________________
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]