Commit 7549107f authored by Peter Jansweijer's avatar Peter Jansweijer

Merge remote-tracking branch 'remotes/origin/peter_direct_dmtd' into peter_clbv3_ref_design_abscal

parents 27a29906 b7056fd8
Pipeline #238 passed with stages
in 32 seconds
......@@ -18,7 +18,7 @@ void helper_init(struct spll_helper_state *s, int ref_channel)
s->pi.y_min = 5;
s->pi.y_max = (1 << DAC_BITS) - 5;
#if defined(CONFIG_WR_NODE)
s->pi.kp = -150;//(int)(0.3 * 32.0 * 16.0); // / 2;
s->pi.kp = -750;//(int)(0.3 * 32.0 * 16.0); // / 2;
s->pi.ki = -2;//(int)(0.03 * 32.0 * 3.0); // / 2;
#else
s->pi.kp = 150;
......
......@@ -39,7 +39,7 @@ void mpll_init(struct spll_main_state *s, int id_ref,
s->pi.ki = 30; // / 2;
}
#elif defined(CONFIG_WR_NODE)
s->pi.kp = -1100; // / 2;
s->pi.kp = -5500; // / 2;
s->pi.ki = -30; // / 2;
#else
#error "Please set CONFIG for wr switch or wr node"
......
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