My question was different, I'm using an evaluation kit with Cmod already integrated in it. I'm only connecting an external PCB for the proximity sensing with a sensor loop and a shield hatch. For this reason, Cmod has to be assigned to the correct pin. The problem is that I found a mismatch between what is written in the code and in the electronic diagram of the Cypress board.
From the diagram P4 should be connected to Cmod (Picture 2 above) while P4 was automatically assigned for the shield by PSoC when I turned on it (Picture 1 above). The problem is that in the desctiption of the port in "Pins" tab and in the "Analog" tab I see that P4 should be for shield and P4 for Cmod, as is shown in the pictures 3 and 4 above.
So should I change the ports as written in the descriptions? Or is it ok with the actual configuration? What are the correct pins for Cmod and Shield?
Please ignore the figure .cydwr->Analog.
You can assigned the Cmod pin in P4.1. It is Ok.
In addition, P4 not the shield pin, any pin which can be assigned as the touch sensor, it can be configured as the shield.
Ok, thank you!
One more question, to understand a little bit more: why in the "Analog" Tab the port P4.1 is written to be connected to the shield_pad instead of Cmod? And why if I select P4.1 it connects with the pink line to the sense instead of Cmod?
Any answer to my question?
It just display, there is the switch inside of the chip. The pin can be switched to the IP Cmod.