Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Code polls for STC bit using I2C instead of waiting for interrupt on GPIO2 #72

Open
abraxa opened this issue Mar 16, 2024 · 0 comments
Open

Comments

@abraxa
Copy link

abraxa commented Mar 16, 2024

The datasheet https://media.digikey.com/pdf/Data%20Sheets/Silicon%20Laboratories%20PDFs/Si4703-B16.pdf says on page 17:

The Si4703-B16 seek/tune performance may be affected by data activity on the SDIO bus when using the integrated internal oscillator. SDIO activity results from polling the tuner for status or communicating with other devices that share the SDIO bus. If there is SDIO bus activity while the Si4703-B16 is performing the seek/tune function, the crystal oscillator may experience jitter, which may result in mistunes and/or false stops.
SDIO activity during all other operational states does not affect performance.
For best seek/tune results, Silicon Laboratories recommends that all SDIO data traffic be suspended during Si4703-B16 seek and tune operations. This is achieved by keeping the bus quiet for all other devices on the bus, and delaying tuner polling until the tune or seek operation is complete. The STC (seek/tune complete) interrupt should be used instead of polling to determine when a seek/tune operation is complete.

This project violates this recommendation as https://github.com/mathertel/Radio/blob/master/src/SI4703.cpp#L510 shows.

Are there plans to remedy this?

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

No branches or pull requests

1 participant