Why can't I route Comparator outputs in CY8C4146 ?

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

cross mob
HuEl_264296
Level 5
Level 5
First like given 25 sign-ins First solution authored

I'm trying to use a Comparator component in a CY8C4146LQI-S432.

However, when I try to assign the output to a pin, I find that it won't let me assign it to any of the pins!  The only thing I can connect it to seems to be the Quadrature Decoder.

Is this right? Surely the comparator can be used for more things than that?

What am I doing wrong?

Hugo

0 Likes
1 Solution
NoriTan
Employee
Employee
25 sign-ins 5 questions asked 10 sign-ins

When I put a Comparator component on the CY8C4146AZI-S433, PSoC Creator suggests P3[6] and P3[7] for the Comparator output pin as follows.

GS003299.png

It seems that P3[6] and P3[7] are assigned to the dedicated comparator output as ctb_dsi_comp for two CTBms.

GS003300.png

The reason why the PSoC Creator do not suggest any pins on CY8C4146LQI-S432 is the QFN32 package does not have both P3[6] and P3[7] pins.

I was looking for a description saying that P3[6] and P3[7] are assigned as dedicated Comparator outputs in the PSoC 4100S datasheet and the PSoC 4100S Technical Reference Manual (TRM) but I found no such descriptions.  So, I would like to request to add some descriptions regarding the dedicated Comparator output pins.

Regards,

Noriaki

View solution in original post

0 Likes
5 Replies
Vasanth
Moderator
Moderator
Moderator
250 sign-ins 500 solutions authored First question asked

Hello Hugo,

Which component are you using ? LP comp or CTB based comparator ? Or is it CSD comparaotor?

Best Regards,
VSRS

0 Likes

I'm just using the component called "Comparator"

pastedImage_0.png

0 Likes
lock attach
Attachments are accessible only for community members.
rola_264706
Level 8
Level 8
50 likes received 25 likes received 10 likes received

I used a sample program and added a comparator to it just to try it and it worked I am sending you the example as you have not given us your program to check.

0 Likes
lock attach
Attachments are accessible only for community members.

I am sorry I sent you the wrong device so I am sending you the same program with the correct device.. One thing however the device you are using doesn't have a lot of digital resources and you may be running out of resources.

0 Likes
NoriTan
Employee
Employee
25 sign-ins 5 questions asked 10 sign-ins

When I put a Comparator component on the CY8C4146AZI-S433, PSoC Creator suggests P3[6] and P3[7] for the Comparator output pin as follows.

GS003299.png

It seems that P3[6] and P3[7] are assigned to the dedicated comparator output as ctb_dsi_comp for two CTBms.

GS003300.png

The reason why the PSoC Creator do not suggest any pins on CY8C4146LQI-S432 is the QFN32 package does not have both P3[6] and P3[7] pins.

I was looking for a description saying that P3[6] and P3[7] are assigned as dedicated Comparator outputs in the PSoC 4100S datasheet and the PSoC 4100S Technical Reference Manual (TRM) but I found no such descriptions.  So, I would like to request to add some descriptions regarding the dedicated Comparator output pins.

Regards,

Noriaki

0 Likes