Part Number: MSP430FR2532
Tool/software: Code Composer Studio
Hi,
I am trying to write a program to measure capacitance from one of the pin of MSP430FR2532. (Like P2.3 (CAP0.2), Single pin, self-capacitance measurement)
CapTivate library is really easy to use and I could figure out how to generate the code using the CapTivate Design Center to do the measurements and it works fine.
However, I have other sensors which should work with a capacitance sensor at the same time. I could also combine the codes together but it stops working after 30 s or one min of working. I think it is because of my limited understanding of CapTivate software.
Do you have an example code for self-capacitance measurement which does not use the CapTivate Library? Measurement of the C-charge is enough in my application (Base count - Measured Count).
Thanks,
Aref
1- Defining the sensor and MC