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: Tilman Baumann
Subject: Re: [Paparazzi-devel] Baro MS5611-01BA01
Date: Wed, 06 Feb 2013 12:04:52 +0000
User-agent: Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20130107 Thunderbird/17.0.2

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.



reply via email to

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