Go Down

Topic: What happens when...? I2C Scenarios (Read 643 times) previous topic - next topic

trivialbob

Hi,

I'm going to be using an MPR121 capacitance chip in a touchpad application. It has 12 electrodes. I had some general questions about I2C and a sensor type chip like the MPR121:

-What happens if you try reading the MPR121 but the MPR121 is in the middle of gathering it's sensor (electrode) data?
-What happens if you try reading the MPR121 and in the middle of that the MPR121 needs to sample its electrodes at the same time?

Nick Gammon

What does the datasheet say? Perhaps give a link to it.

fungus


-What happens if you try reading the MPR121 but the MPR121 is in the middle of gathering it's sensor (electrode) data?
-What happens if you try reading the MPR121 and in the middle of that the MPR121 needs to sample its electrodes at the same time?


That depends on the MPR121, not the I2C bus. Read the datasheet.
No, I don't answer questions sent in private messages (but I do accept thank-you notes...)

trivialbob



cache.freescale.com/files/sensors/doc/data_sheet/MPR121.pdf?fpsp=1&WT_TYPE=Data%20Sheets&WT_VENDOR=FREESCALE&WT_FILE_FORMAT=pdf&WT_ASSET=Documentation


Go Up