Channel assignment in Comparator

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

Channel assignment in Comparator

391 Views
ann14
Contributor II

how can i add more than one channel to the same comparator instance. When i try to add it is showing error and saying that there is duplication of instance

0 Kudos
Reply
1 Reply

361 Views
_Leo_
NXP TechSupport
NXP TechSupport

Thank you for reaching out to our technical support team.

If the goal is to compare two external analog input voltages with the same instance you should:

Delete IcuChannel_1 (Cmp >> IcuConfigSet >> IcuChannels)

And in Cmp >> IcuConfigSet >> IcuLpCmp tab use the following parameters:

  • Icu LPCMP Negative Input Muxing
  • Icu LPCMP Positive Input Muxing

Please make sure properly configurate such channels in Pins Tools and in Siul2_Port driver.

We hope this resolves your issue.

0 Kudos
Reply