Skip to content

Si5351::init does not initialize the ref_freq[] nor corr[] entries for CLKIN #98

@conr2286

Description

@conr2286

The ref_freq[] and core[] entries for SI5351_PLL_INPUT_CLKIN are uninitialized by Si5351::init(uint8_t xtal_load_c, uint32_t xo_freq, int32_t corr) nor anywhere else that I found. Consequently, the use of CLKIN causes pll_calc to divide by 0, the uninitialized ref_freq.

I will propose a workaround later today on a branch resolving the problem in Si5351::init.

JimC, KQ7B
conr2286 at gmail

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions