paparazzi-devel
[Top][All Lists]
Advanced

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

Re: [Paparazzi-devel] Baro MS5611-01BA01


From: Árni Þorvaldsson
Subject: Re: [Paparazzi-devel] Baro MS5611-01BA01
Date: Wed, 6 Feb 2013 14:04:04 +0000

Thanks alot, I changed the address and it works very well now.

regards Arni
________________________________________
Frá: address@hidden address@hidden fyrir hönd Tilman Baumann address@hidden
Sent: 6. febrúar 2013 12:04
To: address@hidden
Efni: Re: [Paparazzi-devel] Baro MS5611-01BA01

On 06/02/13 11:33, Árni Þorvaldsson wrote:
> Sorry meant either GND or VDD.
>
> My wiring now is:
> 100nf capacitor between gnd and 3.3v
> 10kohm pullup resistor to 3.3 v from SDA and from SCL
> PS pulled up with 3.3 v
>
> it's just like on the datasheet but i am not sure what to do with CSB pin.

>From the datasheet:
> I2C MODE
> The external microcontroller clocks in the data through the input SCLK 
> (Serial CLocK) and SDA (Serial DAta).
> The sensor responds on the same pin SDA which is bidirectional for the I2C 
> bus interface. So this interface type
> uses only 2 signal lines and does not require a chip select, which can be 
> favorable to reduce board space. In
> I2C-Mode the complement of the pin CSB (Chip Select) represents the LSB of 
> the I2C address. It is possible to
> use two sensors with two different addresses on the I2C bus. The pin CSB 
> shall be connected to VDD or GND
> (do not leave unconnected!).


So, it needs to be connected to EITHER GND or VDD. Which you choose
determines which i2c device address that device will have.

> TheMS5611-01BA address is 111011Cx, where C is the complementary value of the 
> pin CSB.

So if CSB is high, the address will be 1110110 if it is low it will be
1110111. That is binary of course.

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