Minor Improvement (Extending_min_CLK_out_from_10khz_to_4khz) (#1675)

This commit is contained in:
Brumi-2021 2023-12-26 07:11:14 +01:00 committed by GitHub
parent 7bf3e02f6c
commit a85357a8af
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

@ -194,8 +194,8 @@ SetRadioView::SetRadioView(
field_clkout_freq.set_value(pmem::clkout_freq()); field_clkout_freq.set_value(pmem::clkout_freq());
field_clkout_freq.on_change = [this](SymField&) { field_clkout_freq.on_change = [this](SymField&) {
if (field_clkout_freq.to_integer() < 10) if (field_clkout_freq.to_integer() < 4) // Min. CLK out of Si5351A/B/C-B is 2.5khz , but in our application -intermediate freq 800Mhz-,Min working CLK=4khz.
field_clkout_freq.set_value(10); field_clkout_freq.set_value(4);
if (field_clkout_freq.to_integer() > 60000) if (field_clkout_freq.to_integer() > 60000)
field_clkout_freq.set_value(60000); field_clkout_freq.set_value(60000);
}; };

View File

@ -77,7 +77,7 @@ constexpr modem_repeat_range_t modem_repeat_range{1, 99};
constexpr int32_t modem_repeat_reset_value{5}; constexpr int32_t modem_repeat_reset_value{5};
using clkout_freq_range_t = range_t<uint32_t>; using clkout_freq_range_t = range_t<uint32_t>;
constexpr clkout_freq_range_t clkout_freq_range{10, 60000}; constexpr clkout_freq_range_t clkout_freq_range{4, 60000}; // Min. CLK out of Si5351A/B/C-B is 2.5khz , but in our application -intermediate freq 800Mhz-,Min working CLK=4khz.
constexpr uint16_t clkout_freq_reset_value{10000}; constexpr uint16_t clkout_freq_reset_value{10000};
enum data_structure_version_enum : uint32_t { enum data_structure_version_enum : uint32_t {