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

PSoC™ 4 Forum Discussions

AkKa_1343671
Level 1
Level 1

Hello,

We are trying to use CapSense with PSoC4000.

ArchitectureTRM says that CMOD will be connected to AMUXBUS by clearing SENSE_INSEL bit,

but RegisterTRM says that it will be connected with SET (0x1).

which one is correct?

001-89309_PSoC_4000_Family_PSoC_4_TRM_Architecture.pdf write:

Setting the SENSE_INSEL bit in the CSD_CONFIG register to '1' enables this option.

Clearing this bit connects CMOD to the sensing comparator using AMUXBUS A.

001-90002_PSoC_4000_Family_PSoC_4_Registers_Technical_Reference_Manual_TRM.pdf write:

SENSE_INSEL Selects how the Cmodcapacitor is connected to CSD modulator

Default Value: 0

0x0: SENSE_CHANNEL1:

Direct connection from Cmod to CSD modulator; direct connection is called channel1

0x1: SENSE_AMUXA:

Cmod capacitor is connected CSD modulator through AMUXBUS-A.

Best Regards,

Kanda

0 Likes
1 Solution
BragadeeshV
Moderator
Moderator
Moderator
First question asked 1000 replies posted 750 replies posted

Hi,

The one in the Register TRM is correct. You can follow that one.

You can execute the code example Capsense_CSD_P4_Design and check the value of the register in the CapSense.CSD.c. There the cmod is connected to the comparator via AMUX and the INSEL bit is set to 1.

Refer: http://www.cypress.com/documentation/code-examples/ce95285-capsense-csd-psoc-4

Thanks,

Bragadeesh.

Regards,
Bragadeesh

View solution in original post

0 Likes
1 Reply
BragadeeshV
Moderator
Moderator
Moderator
First question asked 1000 replies posted 750 replies posted

Hi,

The one in the Register TRM is correct. You can follow that one.

You can execute the code example Capsense_CSD_P4_Design and check the value of the register in the CapSense.CSD.c. There the cmod is connected to the comparator via AMUX and the INSEL bit is set to 1.

Refer: http://www.cypress.com/documentation/code-examples/ce95285-capsense-csd-psoc-4

Thanks,

Bragadeesh.

Regards,
Bragadeesh
0 Likes