CE210311 CapSense ADC Sequential

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

cross mob
lock attach
Attachments are accessible only for community members.
YoIs_1298666
Level 5
Level 5
250 sign-ins 100 replies posted 100 sign-ins

Hello,

We tried CE210311 on CY8CKIT-041-40XX.

Frankly, this main.c code is not correct.

I correct it and can run well.

The "CapSense_AdcReadResult_mVolts" API is a blocking one.

So, it can not run in STATE_CAPSENSE state.

I attached the modified project.

Is this OK?

Best regards,

Yocchi

frankly
0 Likes
1 Solution
RyanZhao
Moderator
Moderator
Moderator
250 sign-ins First question asked 750 replies posted

Ishii-san,

Yes. "CapSense_AdcReadResult_mVolts" API is a blocking function.

The modification in your attached project is OK. I don't have this kit. Does it work well?

May I know why do you want to do this kind of change?

Thanks,

Ryan

View solution in original post

0 Likes
4 Replies
RyanZhao
Moderator
Moderator
Moderator
250 sign-ins First question asked 750 replies posted

Ishii-san,

Yes. "CapSense_AdcReadResult_mVolts" API is a blocking function.

The modification in your attached project is OK. I don't have this kit. Does it work well?

May I know why do you want to do this kind of change?

Thanks,

Ryan

0 Likes

Hello Ryan-san,

Thank you very much for your reply.

It can run well. So, we can observe both the Tuner and tera term.

This is our customer's request. but we will recommend to use SAR ADC for the analog data measurement.

Best regards,

Yocchi

0 Likes

Ishii-san,

Thank you for your quick feedback.

As far I knew, CY8CKIT-041-40XX (PSoC 4000S) doesn't have SAR ADC.

CY8CKIT-041-41XX (PSoC 4100S) or CY8CKIT-149 (4100S Plus) support SAR ADC.

Best Regards,

Ryan

0 Likes

Hello Ryan-san,

I agree with you.

Best regards,

Yocchi

0 Likes