1. S

    Best practice, writting software based SPI and I2C

    I'm going to write software SPI and I2C for PIC 8 bit MCU where I need to write command and read sensor data. I want to know what is the best practice to write such library. As we can use delay statement for clock high and low state but its not a good practice (sounds to me) because delay...
  2. Pentinic

    I2C No longer finding SSD1306 display

    Hi all, I have a design for a SSD1306 display driver below that I tested last night and worked (given the I2C address sometimes changed out of nowhere and every couple hundred frames would have artefacts), however this morning the display is no longer even being detected by an I2C bus scan. I...
  3. S

    Using LTC6811 as an I2C master

    I'm trying to understand using LTC6811 as an I2C master. If I understood correctly the commands to the LTC are sent by pulling the CSB pin low and sending the clock and data to SCK and SDI pins? For LTC to send a command to the I2C bus you need to write data to it's COMM register, so you use...
  4. dabo

    Not able to read Interrupt Status Register and reset Interrupts on MAX30102

    I am currently trying to develop a pulse oximeter. For this I use the MAX30102 sensor and the NXP LPC1768 microcontroller. The communication is done via I2C. I have configured the MAX30102 sensor to generate an interrupt as soon as the FIFO is full. As soon as I start the program in debug...
  5. J

    I2C Implementation in FPGAs

    Hi Community, I'm an Application Engineer and I need to design an interposer board that connects to an FPGA module. More specifically, the module is an ALINX AC7100B, which uses Xilinx Artix-7 XC7A100T FPGA. I heard complaints from my colleagues that some FPGAs do not have pads with Schmitt...
  6. Belmont1010

    Problems writing data into registers. TPL1401 I2C Digital Potentiometer.

    Hello, and sorry for my English. I want to use a I2C digital potentiometer (TPL1401) so, before I use it, I'm reading the datasheet (I'm not doing any specific application, I just want to improve my few skills in i2c). In this moment I don't have the IC physically to test, but in page number 31...
  7. marcotecnovolt

    EEPROM Broken after some hundred writes

    Hi community, I'm Marco from Italy, I'm an electronic developer and I like automation in general. I would like to share my problem with community, to know what do you think about this. I'm developing an electronic board for general automation purposes, on this board there is a STM32F104 that...
  8. S

    HELP!! I2c adc pic16, pic1LCD

    I want to use two or more adc channel using I2C and lcd. Can someone help me where i am doing wrong? I don't get a code error but also I can't get number on the lcd. I2c.c #include <xc.h> #include "I2c.h" unsigned char RS, i2c_add, BackLight_State = LCD_BACKLIGHT; //---------------[ I2C...
  9. pralayp

    MSP430FR6047: Calculating current limiter values for SCL,SDA,LCD-COM,TXD & RXD lines to increase battery life.

    Hello Experts, My application is a commercial battery powered device. The 2 most important thing for me is to achieve "accuracy in metering" and "Increase battery life" of my product. 1st thing I'm able to achieve using MSP430FR6047 chip for water metering. 2nd thing is what I'm working on...
  10. D

    I cannot save data sent from Arduino Uno to Raspberry Pi.

    I am trying to send sensor reading from Arduino Uno to raspberry pi and I want to save this incoming sensor reading to SQLite which I downloaded to Raspberry pi. I used lm35 sensor on Arduino Uno and i used the i2c way for communication between Arduino Raspberry pi. I managed to transmit the...
  11. M

    How to bypass BIOS password on an SPI EEPROM

    Hey, first of all I would like to say that basically all of what I'm talking about is far far away from my comfort zone and everything I know is from a 30 minute research on this topic. So I am trying to reset BIOS password on an old ASUS X51L laptop because everytime I turn it on I first have...
  12. R

    Auto increment I2C addresses for PI4IOE5V96224ZLEX

    I am using PI4IOE5V96224ZLEX for one of the project. It's a stackable I2C design, each stack shall have common hardware and will be stacked one upon the other. The base unit shall have an MCU which shall act as I2C master, while all other stacks as I2C slaves. PI4IOE5V96224ZLEX datasheet...
  13. beic

    i2c Pull-up resistors for multiple chips

    Hi there, I wish to connect multiple i2c chips together on the same PCB board, these chips are DS1307, DS1621 and AT24C256. My question is, do I need to put 6 x 4.7k pull-up resistor (2 resistor / chip) or 2 x would be Ok for those three chips as shared? Also what will happen if I would...
  14. Younes Thabet

    Can I2C and PWM be in the same connector?

    Hello all, I have a daughter board that resides about 1m far from main board, this daughter board contains buzzer and some ICs. I am already worried that I2C won't work properly over this long distance and now that I added PWM, I am afraid that will disturb I2C and lose connection between the 2...
  15. V

    Arduino i2c communication hangs while running motor

    I have a Arduino uno board connected with PCA9698(I/O expander) through i2c communication. Controlling if input and output were working correctly. The data pins from the PCA9698 is connected to the 24v DC motor driver(BTS7960) and also sensors(PROXIMITY sensors). While reading the sensors there...
  16. 8

    BNO085 - Bringup

    Hello, I tried to breakout the BNO085. I used a known good design from Adafruit (attached the schematic). Now unfortunately it doesn't work. I written software for the Adafruit board and it works fine. Then I replaced the Adafruit board with my breakout board ("schematic_not working" in the...
  17. C

    Array of I2C buses

    Hi! I am new to FPGAs and I am working on a project that involves an array of I2C sensors. I need to record real-time data from all sensors at the exact same time. For now, I am just trying to plan and understand more about how I would do this with an FPGA. For an FPGA such as the LCMXO2...
  18. E

    Communication failure using PCA9615 Differential I2C Bus Extender

    I have used PCA9615 differential I2C bus driver in one design to extend the I2C bus over CAT5 cable. (datasheet https://www.nxp.com/docs/en/data-sheet/PCA9615.pdf) The design has been done according to the datasheet recommendation and with the help of a reference design of a popular open-source...
  19. Lucky-Luka

    16x02 LCD + I2C module problem

    Hi all I was trying to make my 16x02 LCD+I2C module work. I failed. This is my LCD: LCD+I2C PCF8574T is written on the I2C module chip. I've tried two different pin configurations of the I2C module in the sketch however nothing still appears on the monitor (yes, I've tried to adjust the...
  20. electrocataru

    Proteus ISIS 7- I2C debugger

    hello everyone. can i use a sensor with i2c and a i2c debugger just to see if it's working? and how? (without the microcontroller) for example i attached a photo. thx!
Top