4 Replies Latest reply on May 21, 2020 10:56 PM by NaMo_1534561

    Difference between CapSense component Ver6 and Ver7

    NaMo_1534561

      Hello,

       

      According to the history of CapSense component Ver7, version 7 is not compatible with the previous version.

      Please tell me the API changed from version 6 specifically.

       

      Component Changes

      ”This version is not backward compatible with the previous version. We tried to keep the established API, but your design may need to be updated to operate with v7.0.”

       

      Best Regards,

      Naoaki Morimoto

        • 1. Re: Difference between CapSense component Ver6 and Ver7
          AH_96

          Hello NaMo_1534561

           

          Most of the APIs are backwards compatible. The note is regarding BIST APIs. All BIST APIs are modified in CapSense V7.0 component to include CapSense_TST_MEASUREMENT_STATUS_ENUM * measurementStatusPtr as a parameter to return the status of measurement.

           

          This includes returning information such as CapSense_TST_MEASUREMENT_SUCCESS, CapSense_TST_MEASUREMENT_LOW_LIMIT etc.

           

          Thanks,
          Hari

          • 2. Re: Difference between CapSense component Ver6 and Ver7
            NaMo_1534561

            Hello Hari-san,

             

            Thank you for your reply. I understand that BIST has many changes.

            Also, I found the following description in the component datasheet ver7.

             

            void CapSense_CSDScanExt (void)

            void CapSense_CSDSetupWidgetExt (uint32 widgetId, uint32 sensorId)

             

            This function is obsolete and kept for backward compatibility only. The CapSense_ScanExt() and CapSense_SetupWidgetExt() function should be used instead.

             

            This is also true for CSX.

            I would like to provide a complete list of changes.

             

            Best Regards,

            Naoaki Morimoto

            • 3. Re: Difference between CapSense component Ver6 and Ver7
              AH_96

              Hello NaMo_1534561

               

              As mentioned previously, BIST was redesigned for improved performance and reliability.

              The following functions were added:

                   cystatus CapSense_SetupWidgetExt(uint32 widgetId, uint32 sensorId)

                   cystatus CapSense_ScanExt(void)

                   uint32_t CapSense_SetInactiveElectrodeState(CapSense_OPERATION_MODE_ENUM mode, uint32_t state)

               

              The return type of CapSense_CSXCalibrateWidget(uint32 widgetId, uint16 target) was changed from void to cystatus.

               

              A few functions are marked as deprecated but not removed. You can still use these functions but it is recommended to move to the new function. These functions have the following text in as note in description: This function is obsolete and kept for backward compatibility only. The <corresponding new function> function should be used instead.

               

              Thanks,
              Hari

              • 4. Re: Difference between CapSense component Ver6 and Ver7
                NaMo_1534561

                Hari-san,

                 

                Thank you for the answer.

                Please close this case.

                 

                Best Regards,

                Naoaki Morimoto