You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think I found an issue when I wanted to sample on channel1 using capdac.
I hope I'm using it right...
The compensation value is being added in line #174, but the capdac itself seems to not get set correctly.
Searching the code, I found that in line #234, always FDC1004_CONF_MEAS_CHB_DISABLED is used, turning CHB completely, instead of switching it to the capdac.
So I implemented
#define FDC1004_CONF_MEAS_CHB_CAPDAC (0x4)
and since I use it, it works as expected.
So, FDC1004_CONF_MEAS_CHB_DISABLED should only be used if capdac == 0.
Hope my assumption (and solution) is correct?
Best regards