From dc08c382a23329e18f91fc61056d15d5174ac5b6 Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Sun, 13 Aug 2023 13:52:12 +0800 Subject: [PATCH] satman: wait longer for PLL lock (#246) --- src/satman/src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/satman/src/main.rs b/src/satman/src/main.rs index 4af58b2..b2adcf1 100644 --- a/src/satman/src/main.rs +++ b/src/satman/src/main.rs @@ -633,7 +633,7 @@ pub extern "C" fn main_core0() -> i32 { unsafe { csr::drtio_transceiver::stable_clkin_write(1); } - timer.delay_us(20_000); // wait for CPLL/QPLL/MMCM lock + timer.delay_us(50_000); // wait for CPLL/QPLL/MMCM lock let clk = unsafe { csr::sys_crg::current_clock_read() }; if clk == 1 { info!("SYS CLK switched successfully");