I²C (Inter-Integrated Circuit) is a multi-drop serial bus invented by Philips (now NXP) for communication between ICs on the same PCB, i.e. short distance.

learn more… | top users | synonyms

0
votes
1answer
62 views

Can a slave i2c IC prevent the master from pulling the the signal low?

I have an MSP430F6659 connected to a ISO1541 via I2C with 1.5K pull-ups. The I2C bus is through wire instead of PCB trace so I'm able to swap out identical PCBs with the ISO1541 ICs. One of these ...
1
vote
0answers
101 views

I2C protocol between PIC32mx and Arduino Uno

I am implementing a way to transfer data using I2C protocol between PIC32mx and Arduino Uno. I've decided to establish PIC as master and Arduino as slave. I passed by all the definitions and configs ...
0
votes
2answers
52 views

Using two pressure sensors with same address over I2C

I'm a novice programmer and I have recently purchased the SparkFun Pressure Sensor Breakout - MS5803-14BA and used it to take pressure readings quiet easily with the sample code provided and an ...
0
votes
0answers
30 views

Why does MSP430G2553 get stuck on Transmit()?

I've been banging my head against the wall for days trying to get my LaunchPad to work with Code Composer Studio doing some very simple I2C. I have tried several examples found on the internet and ...
0
votes
1answer
58 views

Design for Multiple I2C slave devices

I'm doing a PCB in which I'm using the Beagle Bone Black to interact with multiple I2C devices. I have attached a schematic. Out of the many I2C devices, I'm connecting some using TI's I2C switch ...
0
votes
0answers
25 views

switched 5V and 0V on my I/O expander IC (i2c)

I'm almost sure i switched the 5V and GND for a while on my MCP23017-SP (thats how the expander IC is called) I need it for my RPi2, i tested for i2c connection on my RPi2 using ...
0
votes
0answers
32 views

Requesting a current sensor 40A [closed]

I am aware of components like acs712, that can measure currents up to 30A, but I need to measure up to 40A. I am unable to find any component able cope with such a current. Ideally the device should ...
-2
votes
0answers
36 views

Peripheral Board Power Issue [This is not a duplicate question, because of original one was removed] [duplicate]

After having designed some custom PCBs, a main one with an ARM MCU and other peripheral boards.But there is one issue when peripheral boards are plugged into the main one. Please, let me introduce ...
2
votes
1answer
36 views

i2c undefined symbols on compile MPLab XC8

I am trying to compile a simple I2C program for a PIC18F45K22 using MPLab XC8 compiler. I am getting the error: :0: error: (500) undefined symbols: apparently relating to _WriteI2C1, _ReadI2C1 ...
-1
votes
1answer
119 views

How can I connect dozens of sensors of the same address to one i2c bus?

I want to connect dozens of i2c sensors of the same type to one arduino. Reprogramming the address is unfortunately not possible for all the sensors. I will illustrate what I mean with the following ...
1
vote
2answers
48 views

I2C level shifting to multiple voltages inside a BMS

We're building a BMS that has a micro on each cell in the pack. I know this isn't standard and the issues that come with it, however the pack isn't a standard layout, and the benefits out weigh the ...
2
votes
1answer
84 views

Assign I²C address to multiple devices on the same bus

I've got a couple of ADCs on the same I²C bus, which all default to the same address. My first instinct tells me to use an I²C multiplexer like the TCA9544A but that would require sending a byte to ...
1
vote
1answer
48 views

Can I requst data too quickly from an I²C ADC?

I'm getting some pretty noisy data from a 12-bit I²C ADC (MAX11617 to be precise). Though it's most likely some very sub-optimal board layout that's introducing a lot of noise to the analog signal, ...
-1
votes
1answer
45 views

how do you typically tie the address pins and WP pin of I2C device? Do these lines need a pull-up/down resistor or just tied directly [closed]

how do you typically tie the address pins and WP pin of I2C device? Do these lines need a pull-up/down resistor or just tied directly.
3
votes
1answer
49 views

Unwrapping measurements from Adxl345 accelerometer

I am trying to read acceleration values from a ADXL345 via I2C. I've successfully configured the accelerometer with a resolution of 16G. Test 1: 180° rotation along the y axis in 16G resolution. The ...
0
votes
3answers
81 views

I2C data line not having correct voltage levels

I've been working on a project with a EFM8UB1 development board and ATECC508 I2C peripheral. Everything works fine but I'm having problems with I2C when moving to a PCB. Here is a trace of the clock ...
0
votes
0answers
51 views

AR1020 correct I2C communication protocol

i have a problem in the right sequence of I2C communication protocol to communicate with the attached device AR1020 Microchip touch controller so does any one have the idea of the correct sequence ...
1
vote
2answers
43 views

I2C bus multiplexing issue

I am seeing an unexpected side effect, and could use some pointers. I am working on a project which uses five TCS34725 color sensors. These sensors are being interfaced via I2C on a TI F28069M DSP ...
0
votes
0answers
69 views

I2C writing is successful, but reading fails

I'm trying to make my Beaglebone Black(rev C, debian 7.9) communicate with OV7670 camera via I2C. Using the i2ctools in the Beaglebone's linux, I could detect the OV7670 camera and see its device ...
3
votes
3answers
54 views

Groovy i2C/SPI peripherals for education?

I'm helping someone teach an embedded programming course at my university, and he's starting to cover i2C in class. SPI is next. We're trying to come up with a groovy, easy-to-interface, low-cost ...
0
votes
0answers
10 views

DS1803 Arduino I2C Wiring [migrated]

I have hooked up the arduino mega to my DS1803 and have put 4.7K resisters as pull up resisters on the SCL and SDA line. When I use a scanner program (http://playground.arduino.cc/Main/I2cScanner) the ...
0
votes
1answer
32 views

I2C Master communication with a Ten bit slave

I have a doubt related to 10-bit mode of I2C protocol for multiple transactions with repeated start: I would like to know how an i2c master / slave has to be designed to support 10 bit addressing for ...
0
votes
1answer
52 views

STM32F303VC I2C works in Debug mode only [closed]

I am interfacing HDC1000 with STM32F303VC. My I2C code works in Debugging mode only. Other Blinky and UART code works properly. Write works perfectly but, Read function code stuck here: ...
0
votes
1answer
48 views

How to make SirfStar IV chip operate as I2C slave only?

I bought a GPS that has SirfStar GSD4e chipset inside. I see with the logic analyser that when in I2C mode it is writing to the bus. I understand by that that it is in master mode. How can I make it ...
1
vote
1answer
52 views

TCA9548A I2C switch register functionality

I'm developing a little program to control the TI DRV2605LEVM-MD evaluation module, similar to the TI Haptics Control Console, but specific for this board. It consists of a MSP430 microcontroller, a ...
1
vote
1answer
59 views

Programming MSP430G2553 with Raspberry Pi 2

So, i want to program a msp430g2553 microcontroller with raspberry pi 2. Since i don't want to use any IDE i would like to do it with clean C and terminal, without any external libraries like ...
5
votes
1answer
85 views

I2C slave not acknowledging consistently

I'm trying to communicate with a Cypress CapSense module, model CY8CMBR3106S. During initial testing, I used Cypress's CY3240-I2USB USB-I2C bridge, which works perfectly. I then moved to an Arduino ...
-3
votes
1answer
129 views

Software i2C communication protocol “MikroC for Pic” halting problem

I work with Pic16f688 , and i do a soft i2C MikroC for pic compiler does not supply its libraries functions code this is the whole code i use for MCU ...
0
votes
2answers
46 views

I2C Voltage levels with difference [duplicate]

I have an I2C slave device in which the maximum input voltage to SCL & SDA is 3.6V. And the I2C Master device is PIC16F877A operating at 20MHz which provides a 5V output on SCL & SDA. Pls ...
1
vote
1answer
56 views

STM8S I2C Master Missing ACK

I use I2C communication with two stm8s boards. My master code: ...
0
votes
1answer
76 views

stm8s I2C Communication

I want to use I2C Communication between two stm8s208cb MCUs. I use stm8s standard peripharel library. My code: Master: ...
1
vote
2answers
196 views

Flickering on PCA9685 PWM controller with 3W RGB LED and Picobuck

I'm hoping someone here has some experience with the PCA 9685 PWM controller (16 channel, I2c interface). So far everything is working pretty well after getting the circuit connected properly. I'm ...
0
votes
1answer
120 views

What is that meaning of “This Sensor uses 5v as a working Voltage only”?

I am trying to understand the meaning of a 3.3v or 5v IC but I don't know how to use the right keyword in search engine to find the explaining article so I'll explain... We know Arduino UNO R3 as ...
9
votes
2answers
561 views

MCP3424, how to read channels in parallel?

About this question I do not have an electronics engineering background, and this is one of my first challenges with communicating via I2C, and with writing to a register, so please do not assume too ...
-2
votes
1answer
91 views

Is it possible to use two communication protocols in one microcontroller?

So I've been trying to communicate between the Beaglebone Black and atmega through I2C for quite such time and have been facing quite a lot of problems with it. On the other hand I can successfully ...
0
votes
1answer
67 views

Arduino and STM8 I2C Communication

I want to I2C communication stm8s(slave) and arduino uno(master), but it does not work. Arduino Uno(master) code: ...
0
votes
0answers
43 views

MCP3221 ADC always returns zero in Proteus

I am interfacing PIC18F2320 with MCP3221 ADC over I2C. When I try to read the converted value from ADC, only zeros are returned. I'm using MPLAB libraries. ADC is in A5 address mode. The AIN voltage ...
0
votes
1answer
96 views

I2C with 1.8V levels without level shifters?

I have problems detecting an MPU-6050 I2C device on the Intel Edison Mini breakout board (it only supports 1.8V levels). According to the thread here, it might be possible to get the sensor working ...
0
votes
3answers
74 views

Why can't masters talk to each other in a I2C bus?

I came across an I2C article which lead me to a question. Specifically this part is creating some confusion: "Also, unlike SPI, I2C can support a multi-master system, allowing more than one master to ...
2
votes
1answer
66 views

Options for video development [closed]

What are my options for video development? I am talking buying a development board, then translate that to custom pcbs and hardware. With the rise of smart phones we have seen a plethora of hardware ...
1
vote
1answer
62 views

TCA9548A I2C Multiplexer - 10k resistors on the address lines

I'm looking over the schematics and PCB layout of the Adafruit TCA9548A I2C Multiplexer breakout board. I've attached the schematic below. I cannot figure out why there are 10k resistors on the ...
7
votes
4answers
476 views

What small IC could give switchable I2C pullups?

My goal is to replace a DPST on pullup resistors with something simple, cheap and very small that can be activated with the I2C bus voltage. I thought that this might be a common enough requirement ...
0
votes
1answer
90 views

wireless I2C/SPI communication over XBEE with multiple slaves

Designing a device for vibration condition monitoring, using multiple wireless accelerometers. Intending to have an arduino as the main controller and peripheral accelerometers sending the vibration ...
3
votes
2answers
138 views

I2C slave not acknowledging

So the setup I am using is a K22FN512 (Arm Cortex M4) along with a AGM01(9DOF sensor board, gyro/accel/mag). The board containing the sensors has an I2C interface to communicate with the two chips ...
0
votes
1answer
61 views

Read a 6DOF IMU (Gyro + Accelerometer) using PRU - Beaglebone black

I plan to use an I2C interface in order to read the IMU (SparkFun 6 Degrees of Freedom IMU Digital Combo Board - ITG3200/ADXL345). Since the communication rate using I2C is 400kHz, I thought I should ...
0
votes
0answers
38 views

FXOS8700CQ Magnetometer Not Outputting Values

I'm currently getting to grips with the FRDM-K64f board and am attempting to access the onboard FXOS8700CQ chip to calculate orientation information. I've managed to get the accelerometer information ...
1
vote
1answer
58 views

Is NXP's PCA9548A compatible with TI's TCA9548A?

I am using TI's TCA9548A in my Projects, but I would like to know if I can substitute it with PCA9548A from NXP. By comparing the datasheets this seems to be indeed the case, but I am wondering why ...
0
votes
0answers
43 views

Atmel SAM D10 i2c slave unknown error

I have stumbled across a problem when trying to get a SAM D10 to communicate with a nordic nrf51422 with the nrf as an i2c master, D10 as slave. The nrf has proven working i2c code, even if it is bit ...
1
vote
1answer
61 views

Trouble initiating I2C communication with MSP430g2553

I am having difficulty getting I2C communication going on the MSP430g2553. After working on this for a couple of days I finally stripped down the code to what I thought should be the bare bones needed ...
0
votes
1answer
45 views

CJMCU-75 — seting the I2C adress

I just got embedded system CJMCU-75 which has LM75A I2C temperature sensor on top of it. I dig into the LM75A documentation and found out that it's I2C address consists of four fixed MSB and three LSB ...