Adding ability to use clock block for clock div#83
Open
XMOS-JoeG wants to merge 1 commit intoxmos:developfrom
Open
Adding ability to use clock block for clock div#83XMOS-JoeG wants to merge 1 commit intoxmos:developfrom
XMOS-JoeG wants to merge 1 commit intoxmos:developfrom
Conversation
Contributor
|
I've run a sw_usb_audio nightly with this branch of lib_spdif and dont see any regression. |
xross
reviewed
Nov 17, 2025
| on tile[1]: in port p_mclk_in = XS1_PORT_1D; | ||
| on tile[1]: clock clk_audio = XS1_CLKBLK_1; | ||
|
|
||
| #define USE_DEDICATED_CLKBLK 0 // This allows larger ratios of MCLK_FREQ/SAMPLE_FREQ (>768) but requires a dedicated clock block. |
Contributor
There was a problem hiding this comment.
we should move this to the header with prepended with SPDIF_ (inside an ifndef)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This allows using higher MCLK frequencies for spdif tx.
Addresses issue #56