mirror of
https://github.com/portapack-mayhem/mayhem-firmware.git
synced 2025-12-03 10:51:50 +00:00
Switch RFFC5072, MAX2837 back to 40MHz reference.
Turns out the MAX2837 can't tune the necessary range when given a 50MHz reference. Oops.
This commit is contained in:
@@ -163,24 +163,16 @@ constexpr si5351::MultisynthFractional si5351_ms_10m {
|
||||
};
|
||||
constexpr auto si5351_ms_3_10m_reg = si5351_ms_10m.reg(3);
|
||||
|
||||
constexpr si5351::MultisynthFractional si5351_ms_50m {
|
||||
constexpr si5351::MultisynthFractional si5351_ms_40m {
|
||||
.f_src = si5351_vco_f,
|
||||
.a = 16,
|
||||
.a = 20,
|
||||
.b = 0,
|
||||
.c = 1,
|
||||
.r_div = 0,
|
||||
};
|
||||
|
||||
// constexpr si5351::MultisynthFractional si5351_ms_40m {
|
||||
// .f_src = si5351_vco_f,
|
||||
// .a = 20,
|
||||
// .b = 0,
|
||||
// .c = 1,
|
||||
// .r_div = 0,
|
||||
// };
|
||||
|
||||
constexpr auto si5351_ms_rffc5072 = si5351_ms_50m;
|
||||
constexpr auto si5351_ms_max2837 = si5351_ms_50m;
|
||||
constexpr auto si5351_ms_rffc5072 = si5351_ms_40m;
|
||||
constexpr auto si5351_ms_max2837 = si5351_ms_40m;
|
||||
|
||||
constexpr auto si5351_ms_4_reg = si5351_ms_rffc5072.reg(clock_generator_output_first_if);
|
||||
constexpr auto si5351_ms_5_reg = si5351_ms_max2837.reg(clock_generator_output_second_if);
|
||||
|
||||
Reference in New Issue
Block a user