Regarding RawCount spike noise at CapSense Tuner(Asynchronized mode)

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.
YuMa_1534086
Level 7
Level 7
Distributor - Macnica (Japan)
500 replies posted 250 sign-ins 10 likes received

Hello Cypress.

I sometimes see RawCount spike noise(about 250 counts) like attached PNG file at CapSense Tuner(Asynchronized mode).

Such spike noise does not occur in Synchronized mode.

Q1)

Spike noise seems to be occurred due to read RawCount(2byte) during updating(RawCount update is not complete).

For example, spike noise occurs when reading RawCount data at below timing.

===============================================

RawCount MSB was updated, but LSB was not updated yet(LSB is previous data)

Or

RawCount LSB was updated, but MSB was not updated yet(MSB is previous data)

===============================================

Is my understanding correct?

Attached file is log file of CapSense Tuner.

pastedImage_2.png

Q2)

If Q1 is yes, which will be updated first, MSB or LSB of CapSense data?

Is LSB updated first because Cortex M0 uses little-endian format?(LSB -> MSB?)

Or MSB first?(MSB -> LSB?)

Best Regards.

Yutaka Matsubara

0 Likes
1 Solution
Hari
Moderator
Moderator
Moderator
750 replies posted 500 replies posted 250 solutions authored

Hi YuMa_1534086

The explanation for Q1 is correct. The random noise that you are observing is due to timing mismatch between the tuner reads and the CapSense processing. The data is read while it is being updated.

Q2)

-> The data is written with LSB updated first, that is, LSB->MSB

Thanks and regards

Hari

View solution in original post

0 Likes
2 Replies
Hari
Moderator
Moderator
Moderator
750 replies posted 500 replies posted 250 solutions authored

Hi YuMa_1534086

The explanation for Q1 is correct. The random noise that you are observing is due to timing mismatch between the tuner reads and the CapSense processing. The data is read while it is being updated.

Q2)

-> The data is written with LSB updated first, that is, LSB->MSB

Thanks and regards

Hari

0 Likes
YuMa_1534086
Level 7
Level 7
Distributor - Macnica (Japan)
500 replies posted 250 sign-ins 10 likes received

Dear Hari-san.

Thank you for your response.

I understand.

Best Regards.

Matsubara / Macnica

0 Likes