This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CapTIvate library, calibration data

Other Parts Discussed in Thread: MSP430FR2633

Hi,

I`m using the library for CapTIvate on a MSP430FR2633. It works quite good with my first pcb and prototyped electrodes. But now I need better access to some of the library functions.

i.e. I can not find the code of

CAPT_calibrateSensor()

Esspecially the returned calculated calibration values like coarse gain, fine gain and offset subtraction are interesting to me. I think they have to be in some kind of global variable.

Does anybody know where this data is found and how to manipulate it??

Thank you

Georg

  • Hello Georg,

    The CAPT_calibrateSensor(), as with many of the CapTIvate library functions are not provided as source code and reside in the MSP430FR2633 ROM. These functions were designed to provide a high-level of abstraction of CapTIvate peripheral with the goal to simplify code development for the user.

    In regards to CAPT_calibrateSensor(), there is API documentation as part of your CapTIvate Design Center documentation available that describes the global variables for gain and offset (see link below). Data structures representing the sensors and elements for every design are included in the file Capt_UserConfig.c created by the design center. There you will find these global variables if you want to examine them.

    A call to CAPT_calibrateSensor() is typically only required once at startup by the main code. There after, the library algorithm monitors sensor thresholds and automatically calls CAPT_calibrateSensor() if/when needed. You shouldn't need

    For most applications, you won't need to be concerned with these parameters, as the library algorithm automatically adjusts these values when needed to maintain a consistent level of sensitivity for each electrode as described above.

    Here is a link to on-line version of CapTIvate Documentation for the API.

    software-dl.ti.com/.../structtCaptivateElementTuning.html

    Dennis - MSP430FR2633 CapTIvate Applications
  • Hello Dennis,

    This struct is enough.

    Thank you!!

**Attention** This is a public forum