Skip to content

Conversation

@nordic-segl
Copy link
Contributor

@nordic-segl nordic-segl commented Apr 17, 2025

Extend comparator drivers with analogue input to GPIO pin mapping.
In comparator test, use other analogue inputs.

manifest-pr-skip

…F54L20

Add mapping from analogue input channel to GPIO number on nRF54L20.
Make changes to both comparator and low power comparator.

Upstream PR #: 88745

Signed-off-by: Sebastian Głąb <[email protected]>
Test uses AIN4 and AIN5.
Unfortunately, these inputs on nRF54L20 are used
by serial port console.

When test is compiled for nRF54L20, use other anlogue inputs.

Upstream PR #: 88745

Signed-off-by: Sebastian Głąb <[email protected]>
@nordic-segl nordic-segl force-pushed the NRFX-7312_Enable-comparator-on-54L20 branch from b5faf5c to 954eaf2 Compare April 18, 2025 12:19
@sonarqubecloud
Copy link

Quality Gate Failed Quality Gate failed

Failed conditions
60.0% Duplication on New Code (required ≤ 3%)

See analysis details on SonarQube Cloud



struct comp_nrf_comp_se_config comp_se_config = {
#if defined(CONFIG_BOARD_NRF54LM20APDK)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There is no such board at upstream, maybe feature flag?

nordic-segl added a commit to nordic-segl/sdk-nrf that referenced this pull request Apr 23, 2025
@nordic-segl
Copy link
Contributor Author

Implemented in a different way.

@nordic-segl nordic-segl deleted the NRFX-7312_Enable-comparator-on-54L20 branch May 14, 2025 05:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants