FDC2214: Looking for MSP432 code for FDC2214

Part Number: FDC2214


I am looking for some code that runs on a MSP432 Launchpad that will configure and read a FDC2214 in a continuous loop.

I actually wrote some code and it seems to work, but I am not getting as consistent of readings as using the EVM gui. I am trying to copy all the register settings as in the EVM, but when I try to set the RCOUNT values to 0xFFFF, all the data I read is 0 for every channel. Also, when I use a SETTLECOUNT higher than ~4, the readings get really inconsistent. So, I am assuming I am doing something wrong.