Commit 59775109 authored by Peter Jansweijer's avatar Peter Jansweijer

Increase wait time after switching from dmtd to ref_clock.

Sometimes there was an issue that the link didn't came up or the slave halted in state "listening".
This might have been due to the sysclk PLL not yet being in lock after switching to ref_clock.
parent ee45de9b
......@@ -259,7 +259,8 @@ int spec7_ad9516_init(int ext_10mhz)
pp_printf("Switch clk_sys source from free running clk_dmtd to AD9516 output.\n");
/* AD9516 now initialized so switch clk_sys from free running clk_dmtd to AD9516 output */
gpio_out(GPIO_PLL_CLK_SEL, 1);
timer_delay(10);
timer_delay(1000);
pp_printf("now running on ref clock.\n");
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment