What should I refer to to confirm parameters obtained with CapSense_GetParam(CapSense_BTN0_SNS_CLK_SOURCE_PARAM_ID, &value) ?

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
JuIn_1625121
Level 5
Level 5
100 sign-ins First solution authored 100 replies posted

Hello,

I got parameters about sense clock settings using CapSense_GetParam(CapSense_BTN0_SNS_CLK_SOURCE_PARAM_ID, &value) .

(CSD automatically selected Sense clock source

Parameteres are

CY8C4125AXI-483 : 0x00000040

CY8C4126AXI-S433 : 0x00000005

What should I refer to to confirm these parameters?

0 Likes
1 Solution

Hi Inoue,

Maybe I make a mistake in the previous response.

If you choose the CY8C4126AXI-S433,

#define CapSense_CLK_SOURCE_SSC1              (0x01u) ------------->SSC6
#define CapSense_CLK_SOURCE_SSC2              (0x02u)-------------->SSC7
#define CapSense_CLK_SOURCE_SSC3              (0x03u)------------->SSC9
#define CapSense_CLK_SOURCE_SSC4              (0x04u)------------->SSC10

#define CapSense_CLK_SOURCE_PRS8              (0x05u)
#define CapSense_CLK_SOURCE_PRS12            (0x06u)
#define CapSense_CLK_SOURCE_PRSAUTO      (0xFFu)

You can find the definition in  file"CapSense_Configuration.h". And When I choose the SSC9, there is no error.

I attached my test project in attachment.

View solution in original post

0 Likes
3 Replies
LinglingG_46
Moderator
Moderator
Moderator
500 solutions authored 1000 replies posted 10 questions asked

1: CY8C4125AXI-483 belongs to "Third-generation CapSense"

1. PRS12--->C0

2. PRS8--->40

3. Direct--->0

2: CY8C4126AXI-S433 belongs to "Fourth- generation CapSense"

1. SSC10--->6

2. SSC9--->5

3. SSC7--->4

4. SSC6--->3

5. PRS12--->2

6.PRS8--->1

7. Direct--->0

Hope it can be helpful for you~

0 Likes

Hi LinglingG_46,

About CY8C4126AXI-S433,

The customer got parameters when he set PRS-8, PRS-12, or Direct.

PRS-8 -> 5

PRS-12 -> 6

Direct -> 0

And, he set SSC9, the project can't build with message "The selected sense clock source is not compatible with the <widget_ID> sense clock frequency."

I think these results do not match following your answer.

>1. SSC10--->6

>2. SSC9--->5

>3. SSC7--->4

>4. SSC6--->3

>5. PRS12--->2

>6.PRS8--->1

>7. Direct--->0

How should I interpret this?

Best regards,

Inoue

0 Likes

Hi Inoue,

Maybe I make a mistake in the previous response.

If you choose the CY8C4126AXI-S433,

#define CapSense_CLK_SOURCE_SSC1              (0x01u) ------------->SSC6
#define CapSense_CLK_SOURCE_SSC2              (0x02u)-------------->SSC7
#define CapSense_CLK_SOURCE_SSC3              (0x03u)------------->SSC9
#define CapSense_CLK_SOURCE_SSC4              (0x04u)------------->SSC10

#define CapSense_CLK_SOURCE_PRS8              (0x05u)
#define CapSense_CLK_SOURCE_PRS12            (0x06u)
#define CapSense_CLK_SOURCE_PRSAUTO      (0xFFu)

You can find the definition in  file"CapSense_Configuration.h". And When I choose the SSC9, there is no error.

I attached my test project in attachment.

0 Likes