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?
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.
SENSE_INSEL Selects how the Cmodcapacitor is connected to CSD modulator
Default Value: 0
Direct connection from Cmod to CSD modulator; direct connection is called channel1
Cmod capacitor is connected CSD modulator through AMUXBUS-A.
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.