Skip to content

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

Open
@abraxa

Description

@abraxa

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?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions