KL03Z data-sheet and reference indicate pin 10 of QFN16 or 14 of QFN24 as CMP0_IN5, an input to the comparator.
The MCUXpresso_Config_Tools_V4 however does not list this pin as a comparator input!
I suppose that the documentation is right and the tool is wrong. Am I correct?
This pin is default as CMP0_IN5 function if VREF_OUT is disabled.
Thanks, so the SDK is wrong?
This pin is default as CMP0_IN5 function if VREF_OUT is disabled.
Alought the MCUXpresso Tool didn't generate PORT_SetPinMux(PORTB, 2U, kPORT_PinDisabledOrAnalog); in BOARD_InitPins.
Customer still can use this pin as CMP0_IN5 function.
You can refer the cmp interrupt project in SDK_2.3.0_FRDM-KL03Z.(modify shown below)
Best Regards,
Robin
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Hello NXP, somebody knows if it is possible to use the comparator with this pin?