Top "I2c" questions

I2C is a two-wire serial bus.

How can you flush a write using a file descriptor?

It turns out this whole misunderstanding of the open() versus fopen() stems from a buggy I2C driver in the …

c linux stdio i2c
Using Python smbus on a Raspberry Pi - confused with syntax

I am trying to use python-smbus on a Raspberry Pi to communicate with an MMA7660 accelerometer chip using I2C. …

python raspberry-pi i2c
Reading / writing from using I2C on Linux

I'm trying to read/write to a FM24CL64-GTR FRAM chip that is connected over a I2C bus …

c linux ioctl i2c
I2C Driver in Linux

I am aware of I2C in a very basic level which relies inside linux kernel, but no clue to …

linux-kernel linux-device-driver i2c
UART vs I2C vs SPI for inter-processor communication between microcontrollers

I am examining a way to connect two microcontrollers. On the level of serialization I am thinking of using Nano …

embedded microcontroller i2c uart spi
Reading and writing EEPROM via I2C with Linux

I trying to read and write an Atmel 24C256 EEPROM with a Raspberry Pi B+ over I2C, but I'm …

c linux raspberry-pi i2c eeprom
How do I use the STM32CUBEF4 HAL library to read out the sensor data with i2c?

I want to use the latest HAL library instead of Standard Peripheral Library. And i want to readout the BMA250…

stm32 i2c stm32f4
How to properly initialize I2C stm32?

I want to get data from ADXL345 accelerometer,but seems that I incorrectly connect it. SCL- PC6(with 10k resistor) …

arm accelerometer i2c stm32 gpio
I2C_SLAVE ioctl purpose

I am writing code for implementing a simple i2c read/write function using the general linux i2c driver …

linux driver i2c
How to read data from Arduino with Raspberry Pi with I2C

I am trying to read data from an Arduino UNO to Raspberry Pi with the python smbus module. The only …

python-2.7 arduino i2c