This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

LMK04828输入时钟自动切换



在我们的设计中,有这样一个需求,现有三路时钟,分别接入了04828的三个时钟输入端CLKin0,CLKin1,CLKin2(板子上电即有输入),设计中需要对三个输入时钟进行自动切换。一般工作状况下,时钟由CLKin2输入,但是在工作起来后,会通过其他两个输入接入时钟,此时需要自动切换至CLKin0,若CLKin0无输入,则检测CLKin1是否有输入,若有则自动切换至CLKin1,若无CLKin1无输入,则切换至CLKin2,并在芯片工作过程以此规则进行实时切换。芯片手册中提到“When CLKin_SEL_MODE is 4, the active clock is selected in round-robin order of enabled clock inputs starting upon an input clock switch event. The switching order of the clocks is CLKin0 → CLKin1 → CLKin2 → CLKin0,and so forth.”现在不清楚04828对输入是否有优先级选项,且可根据优先级设置进行自动切换(工作过程中三个输入时钟需要不断的进行自动切换)。