Go to advanced search

by cdan
Thu Jan 03, 2013 9:40 pm
Forum: Other projects
Topic: Linux device drivers for Rapberry Pi on-board I/O
Replies: 97
Views: 50608

Re: Linux device drivers for Rapberry Pi on-board I/O

Hello, I am trying to read the temperature from a MLX90614 over the I2C bus. The device needs the following I2C transaction: | START | WR ADR | REG | REP_START | RD ADR | BYTE | STOP | The REG is the register's address (inside the slave device) you want to read the value from. Is the BSC able to gen...
by cdan
Thu Jan 03, 2013 8:34 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: i2c repeated start transactions
Replies: 55
Views: 40721

Re: i2c repeated start transactions

Hello,
I am stuck on this problem too, with a MLX90614. Isn't there any way to get support from Broadcom on this matter?

Best regards,
Dan.
by cdan
Thu Jan 03, 2013 8:14 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: MMA8453Q accel - I2C problems
Replies: 5
Views: 1953

Re: MMA8453Q accel - I2C problems

Looking at the BCM2835 ARM Peripherals document, on Page 37 it states in point 6 that by setting certain register bits, the device will send a repeated start. This gives me hope that it is just a driver problem. AstroMidas I am afraid that on page 37 is described a READ transaction for a 10 bit SLA...
by cdan
Thu Jan 03, 2013 7:16 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: reading MLX90614 IR sensor
Replies: 36
Views: 29204

Re: reading MLX90614 IR sensor

Not sure if this is any help but... http://www.kernel.org/doc/Documentation/i2c/smbus-protocol That documentation shows using i2c_smbus_read_word_data() as being <start><addr><ack><command><ack><start><addr><ack><data><nack><stop> You are right, this is what i2c_smbus_read_word_data() should do but...
by cdan
Thu Dec 06, 2012 8:49 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: reading MLX90614 IR sensor
Replies: 36
Views: 29204

Re: SOLVED-Re: reading MLX90614 IR sensor

Hi all, I've used bit-banging for the I2C protocol over GPIO and the wiringPi library from https://projects.drogon.net/raspberry-pi/wiringpi I was able to read the sensor without problems... I hope developers could improve the ordinary I2c interface on raspy... Bye. Hi, would it be possible for you...

Go to advanced search