sit5356 RCC worker
Implementation of the sit5356 RCC worker for the SiTime sit5356 Super-TCXO.
Detail
The equation for the Control Word Value can be found in the sit5356-datasheet and should be reviewed when determining input values (dig_pull_range_ctrl, ppm_shift_from_nominal) for a desired (clock) frequency shift (shifted_frequency).
The sit5356_proxy worker allows the user to input the Digital Pull Range (dig_pull_range_ctrl) and PPM Shift From Nominal (ppm_shift_from_nominal) values in order to obtain a desired clock frequency shift. The sit5356 proxy worker provides the user the output of the Control Word Value (ctrl_word_value) and Shifted Frequency (shifted_frequency) values so that the user can check these outputs against their desired Control Word Value, and desired Shifted Frequency value.
References:
Issue
OpenCPI Ticket: #2663
When reading a property that uses a ushort (16-bit) register will read the property byte-swapped. This causes confusion when validating the data of a ushort property. To overcome this issue, printf statements have been included in the sit5356_proxy.cc so that property values represent data that accounts for this byte-swap.