2379761_en-US

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

2379761_en-US

2379761_en-US

Comparator pin description

Hi,

In 172-pin QFP part MCXN247VPBT, pins 135 & 139 only show CMP1_IN1 and do not have any suffix to indicate if these are CMP1_IN1P or CMP1_IN1N. Similarly, pins 156, 157, 162, 163 also have the same issue in datasheet as well as Config tool.  


Can someone from NXP update this information in datasheet as well as config tool?

 Thanks,

Satish Acharya

MCXNRe: Comparator pin description

Thank you, Celeste. This answers my question.

Re: Comparator pin description

Hello @acharya_satishb ,

Thanks for your post. 

I think there is no issue with either the datasheet or the Config Tool.
The reason is that the pins you mentioned can be configured as either CMPx_INxP or CMPx_INxN.
For example, pin 135 (also referred to as P0_3). As shown in “Table 375. CMP input connections” in reference manual, both CMP1_IN1P and CMP1_IN1N are mapped to P0_3.

Celeste_Liu_0-1781148101856.png

Celeste_Liu_1-1781148118393.png


The same applies to other pins such as 139, 156, 157, 162, and 163.
According to the table, only the inputs with index 4 and 5 are special cases. Therefore, these are explicitly differentiated in the pinmux. For instance, P4_15 is defined as CMP0_IN4P in the pinmux.

About selecting the input used for the positive or negative mux, you can sconfigure the MSEL and PSEL bits in the CCR2 register.  And noted that PSEL should not be same as MSEL.

Celeste_Liu_2-1781148389923.png


Hope it helps. If you needs further help please do not hesitate to reach out.

Any new issues, welcome to create a new post.

BR

Celeste


--------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the "ACCEPT AS SOLUTION" button. Thank you!
--------------------------------------------------------------------------------------------------------------------


Tags (1)
No ratings
Version history
Last update:
Friday
Updated by: