08-04-2012 11:50 AM
Hello, I am working with an MPR121 capacitive sensing IC. I have a working VI that plots the thresholds and the adc counts for all twelve sensors. I can also plot the baseline for the two sensors which is done by reading 0x1E and 0x1F. However, I can not access any of the registers beyond that. I need to be able to access the 0x20-0x29 to get the other baselines and I need to be able to access the 0x5C and 0x5D which contain the global values set by the autoconfiguration so that I can calculate the capacitance. I have tried setting the bytes to read to a number bigger than 32 but the VI probe on the line comming out of the IC2 read shown no data. I have also tried changing the index on the index array to no avail. Is it possible to access those registers? And if so - how? Please help- I am so close to getting where I want to be with this?
I attached image of VI with all my graphing stuff removed.
I also attached link to MPR121 Spec Sheet can be downloadedhttp://ttps://www.sparkfun.com/products/9695
Thanks
Sean
Chemistry Teacher with no prior programming experience.
08-04-2012 11:59 AM
Oh, and in the image above I forgot to delete the 2nd I2C write I used to try to get at the other registers and the index array I was going to use wth it.
Sean