Skip to content

Conversation

@ZhaoxiangJin
Copy link
Contributor

enable nxp hscmp driver
enable hscmp for lpc55s36
test with gpio_loopback
test result:

Logs
*** Booting Zephyr OS build v4.3.0-1889-g6c5f0d8062c7 ***
Running TESTSUITE comparator_gpio_loopback
===================================================================
START - test_get_output
 PASS - test_get_output in 0.005 seconds
===================================================================
START - test_no_trigger_no_pending
 PASS - test_no_trigger_no_pending in 0.003 seconds
===================================================================
START - test_trigger_both_edges_pending
 PASS - test_trigger_both_edges_pending in 0.004 seconds
===================================================================
START - test_trigger_callback
 PASS - test_trigger_callback in 0.004 seconds
===================================================================
START - test_trigger_falling_edge_pending
 PASS - test_trigger_falling_edge_pending in 0.004 seconds
===================================================================
START - test_trigger_rising_edge_pending
 PASS - test_trigger_rising_edge_pending in 0.004 seconds
===================================================================
TESTSUITE comparator_gpio_loopback succeeded

------ TESTSUITE SUMMARY START ------

SUITE PASS - 100.00% [comparator_gpio_loopback]: pass = 6, fail = 0, skip = 0, total = 6 duration = 0.024 seconds
 - PASS - [comparator_gpio_loopback.test_get_output] duration = 0.005 seconds
 - PASS - [comparator_gpio_loopback.test_no_trigger_no_pending] duration = 0.003 seconds
 - PASS - [comparator_gpio_loopback.test_trigger_both_edges_pending] duration = 0.004 seconds
 - PASS - [comparator_gpio_loopback.test_trigger_callback] duration = 0.004 seconds
 - PASS - [comparator_gpio_loopback.test_trigger_falling_edge_pending] duration = 0.004 seconds
 - PASS - [comparator_gpio_loopback.test_trigger_rising_edge_pending] duration = 0.004 seconds

------ TESTSUITE SUMMARY END ------

===================================================================
PROJECT EXECUTION SUCCESSFUL

SOC_LPC55S36 has 119 IRQs.

Signed-off-by: Zhaoxiang Jin <Zhaoxiang.Jin_1@nxp.com>
add HSCMP clock support.

Signed-off-by: Zhaoxiang Jin <Zhaoxiang.Jin_1@nxp.com>
Add high-speed comparator support

Signed-off-by: Zhaoxiang Jin <Zhaoxiang.Jin_1@nxp.com>
@ZhaoxiangJin ZhaoxiangJin changed the title Enable hscmp Enable nxp high speed comparator (hscmp) driver Dec 7, 2025
enable hscmp for lpc55s36

Signed-off-by: Zhaoxiang Jin <Zhaoxiang.Jin_1@nxp.com>
enable gpio_loopback for lpcxpresso55s36

Signed-off-by: Zhaoxiang Jin <Zhaoxiang.Jin_1@nxp.com>
@sonarqubecloud
Copy link

sonarqubecloud bot commented Dec 7, 2025

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants