diff --git a/Cargo.toml b/Cargo.toml index 3f0caaf..f958a7a 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -43,6 +43,7 @@ enum-iterator = "0.6.0" paste = "1" dsp = { path = "dsp" } ad9959 = { path = "ad9959" } +smoltcp-nal = "0.1." miniconf = "0.1" generic-array = "0.14" @@ -53,7 +54,7 @@ branch = "develop" [patch.crates-io.minimq] git = "https://github.com/quartiq/minimq.git" -[dependencies.smoltcp-nal] +[patch.crates-io.smoltcp-nal] git = "https://github.com/quartiq/smoltcp-nal.git" branch = "feature/dhcp-support" diff --git a/src/hardware/design_parameters.rs b/src/hardware/design_parameters.rs index d56cb77..9a4279b 100644 --- a/src/hardware/design_parameters.rs +++ b/src/hardware/design_parameters.rs @@ -43,7 +43,7 @@ pub const DDS_SYNC_CLK_DIV: u8 = 4; // The number of ticks in the ADC sampling timer. The timer runs at 100MHz, so the step size is // equal to 10ns per tick. // Currently, the sample rate is equal to: Fsample = 100/128 MHz ~ 800 KHz -pub const ADC_SAMPLE_TICKS_LOG2: u8 = 12; +pub const ADC_SAMPLE_TICKS_LOG2: u8 = 7; pub const ADC_SAMPLE_TICKS: u16 = 1 << ADC_SAMPLE_TICKS_LOG2; // The desired ADC sample processing buffer size.