Commit 859794c5 authored by Alessandro Rubini's avatar Alessandro Rubini

softpll: make PPS 10ms wide

Signed-off-by: Alessandro Rubini's avatarAlessandro Rubini <rubini@gnudd.com>
parent 759372ca
......@@ -323,7 +323,8 @@ void spll_init(int mode, int slave_ref_channel, int align_pps)
SPLL->DEGLITCH_THR = 1000;
PPSG->ESCR = 0;
PPSG->CR = PPSG_CR_CNT_EN | PPSG_CR_CNT_RST | PPSG_CR_PWIDTH_W(100);
PPSG->CR = PPSG_CR_CNT_EN | PPSG_CR_CNT_RST
| PPSG_CR_PWIDTH_W(10 * 1000 * 1000 / 16 /* 10ms */);
if(mode == SPLL_MODE_GRAND_MASTER)
{
......
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