FIFO random issue
u0078867 opened this issue · 0 comments
u0078867 commented
Did anyone experience random infinite loop while calibrating?
while (samples < 0x1F)
{
samples = (xgReadByte(FIFO_SRC) & 0x3F); // Read number of stored samples
}
When this happens the first time (randomly and seldom), the only solution is to disconnect Vcc...
I think it is safe to put a timeout condition to exit the loop.
What do you think?