Skip to content

Comments

Core update tone modify#386

Merged
dineshgit411 merged 7 commits into4.0.0-pre-releasefrom
core-update-tone-modify
Sep 5, 2025
Merged

Core update tone modify#386
dineshgit411 merged 7 commits into4.0.0-pre-releasefrom
core-update-tone-modify

Conversation

@dineshgit411
Copy link
Contributor

@dineshgit411 dineshgit411 commented Sep 2, 2025

By creating this pull request you agree to the terms in CONTRIBUTING.md.
https://github.com/Infineon/.github/blob/master/CONTRIBUTING.md
--- DO NOT DELETE ANYTHING ABOVE THIS LINE ---

CONTRIBUTING.md also tells you what to expect in the PR process.

Description
Revert back tone implementation in XMC from PWM method to toggle method due to lack of PWM pins.

Related Issue
As of know [1, 2, 4, 5, 10, 20, 25, 50, 100, 125, 250, 500] this frequencies only working due to non integer calculation for this macros #define FREQUENCY_TO_MILLIS(f) (1000 / (2 * f)).
1Hz to 500Hz only supports in XMC boards.

Context
Modified Frequencies in tone test case and tested in XMC4700 board
image

@dineshgit411 dineshgit411 changed the base branch from master to 4.0.0-pre-release September 2, 2025 06:01
@dineshgit411 dineshgit411 marked this pull request as ready for review September 4, 2025 07:32
Copy link
Member

@jaenrig-ifx jaenrig-ifx left a comment

Choose a reason for hiding this comment

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

Not much I can judge regarding the implementation.
But if it works functionality wise and pass the tests :)

Signed-off-by: MDin <Dinesh.M-EE@infineon.com>
Signed-off-by: MDin <Dinesh.M-EE@infineon.com>
Signed-off-by: MDin <Dinesh.M-EE@infineon.com>
Signed-off-by: MDin <Dinesh.M-EE@infineon.com>
Signed-off-by: MDin <Dinesh.M-EE@infineon.com>
Signed-off-by: MDin <Dinesh.M-EE@infineon.com>
@dineshgit411 dineshgit411 force-pushed the core-update-tone-modify branch from 6e1c24e to 2d744ba Compare September 4, 2025 10:52
Signed-off-by: MDin <Dinesh.M-EE@infineon.com>
@dineshgit411 dineshgit411 merged commit 81e9dbc into 4.0.0-pre-release Sep 5, 2025
33 checks passed
@dineshgit411 dineshgit411 deleted the core-update-tone-modify branch September 5, 2025 08:10
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