Si5351Arduino icon indicating copy to clipboard operation
Si5351Arduino copied to clipboard

need definition of error messages

Open steeley opened this issue 2 years ago • 3 comments

I'm using this library with a 4351b, 27Mhz Xtal and it seems to work well.

However I would like to see what LOS and REVID actually mean. in my case they always show 1 'indicating some kind of error"?? as show below. but my device seems to be working....

PLLA: 800000000 PLLB: 800000000 SYS_INIT: 0 LOL_A: 0 LOL_B: 0 LOS: 1 REVID: 1

Thanks

steeley avatar Oct 16 '21 10:10 steeley

I have same issue with Si5351, 25MHz and work well. I do not know what mean SYS_INIT: 0 LOL_A: 0 LOL_B: 0 LOS: 1 REVID: 1. I know that must be SYS_INIT: 0 LOL_A: 0 LOL_B: 0 LOS: 0 REVID: 3.

Thanks

evg2 avatar Jun 22 '23 03:06 evg2

LOL means "loss of lock" (of the PLL), and LOS means "loss of signal" of the crystal or external clock. There's a few registers for these per generated clock. One set is "sticky" (meaning they have to be deliberately cleared), and the other is transient. These can be read from the device and used as desired. The library example sketch <si5351_example.ino> shows their use. In this case, just to confirm the device is working properly.

For detailed information on these and other registers, see Silicon Labs/Skyworks "AN619: Manually Generating an Si5351 Register Map."

tcarney57 avatar Jun 22 '23 04:06 tcarney57

What is REVID doing. Why changes from 1 to 3 if status is normal?

evg2 avatar Jun 22 '23 13:06 evg2