LPC5536 HSCMP dont work

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

LPC5536 HSCMP dont work

43 Views
nobodyKnows
Contributor III

Hello everyone,

We are using the HSCMP peripheral of the LPC5536 primarily to monitor a slow voltage. We configured HSCMP2 for "Nano Power Comparison," along with the DAC sub-module. However, we are experiencing instability with the output of HSCMP2, which oscillates. The duty cycle of the oscillation appears to depend on the voltage of the negative input, leading me to suspect that the positive input—the DAC signal—is not stable.

When changing the power mode to "Low Speed Comparison," the oscillation issue is resolved.

Additionally, my colleague has encountered similar problems with HSCMP0 and HSCMP1. He requires switching to "High Speed" mode for stable operation, but another PCB does not function properly with this setting.

Has anyone else faced similar issues? Is there a reliability concern with the internal HSCMP? What steps can we take to achieve stability?

Thank you for your input!

0 Kudos
Reply
1 Reply

5 Views
Habib_MS
NXP Employee
NXP Employee

Hello @nobodyKnows,
In order to support you better, could you provide me more details about when the oscillation occurs? For example:
-Which signals are you comparing?
-Does it happen in 100% of the cases?
-Do you perform any specific actions in your code when it occurs?

Additionally, I highly recommend reviewing these two application notes (AN13540 and AN13714), which provide detailed explanations of the HSCMP and may be helpful.
BR
Habib

0 Kudos
Reply