Skip to content

Conversation

@lucien-nxp
Copy link
Contributor

  • add some necessary static parameter for pit instances
  • Enable counter_basic_api case by using pit0 instance
  • Test counter_basic_api passed

- Update switch usage for mc_cgm_clock_control_on function
- add pit clock on/get rate feature

Signed-off-by: Lucien Zhao <[email protected]>
- add some necessary static parameter for pit instances
- Enable counter_basic_api case by using pit0 instance
- Test counter_basic_api passed

Signed-off-by: Lucien Zhao <[email protected]>
@lucien-nxp lucien-nxp changed the title Add timer functions owned by npi for mcxe31x Add pit feature for mcxe31x Dec 9, 2025
@sonarqubecloud
Copy link

sonarqubecloud bot commented Dec 9, 2025

overdrive = <12>;
};

&pit_0 {
Copy link
Contributor

Choose a reason for hiding this comment

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

As pit is an optional counter, is it necessary to enable it on board level without any channel enabled?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I think board level only enable instances, and set some specific parameter for this instance in specific application code(except if some common setting for this instances). Channel settings should be put into application level should be better because this should be determined by application code.

@Holt-Sun Holt-Sun self-requested a review December 11, 2025 02:22
@lucien-nxp lucien-nxp requested a review from yvesll December 12, 2025 03:19
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.

5 participants