Part Number: MSP430G2553
Other Parts Discussed in Thread: MSP430FR2676,
Hello Team,
Good day.
My Customer is working for MSP430G2553 and MSP430FR2676. They would like to understand deeply the functioning of the block Capacitance to Digital Converter and what kind of conversion it carries out.
To be more clear this is an excerpt from their code (the scope is to do capacitive sensing):
TI_CAPT_Custom(&one_button,&dCnt);
if(TI_CAPT_Button(&one_button))
{
P1OUT |= BIT0; // Turn on center LED
}
else
{
P1OUT &= ~BIT0; // Turn off center LED
}
Focusing on the function: TI_CAPT_Custom (const struct Sensor *groupOfElements, uint16_t *deltaCnt), which measures the change in capacitance of the sensor. Then, they display on CCS the tool graph setting its address to &dCnt, so to see on this graph the behaviour of the sensing pin. In output, it gives unsigned digital values such as 8000, 7000 and so on, so their question is if there a chance to know how many farads (pF, uF, etc.) correspond to these unsigned values?
Regards,
Renan