Forum Discussion
Altera_Forum
Honored Contributor
13 years ago --- Quote Start --- The FSclk is 312KHz which means Fs= 312/16=19.5 KHz --- Quote End --- OK assuming 19.5Ksps is not violating spec then I don't see why you shouldn't get the mean quickly. Your accumulator will settle after 256 samples i.e. within msec(you have 19.5Ksps) You better check in signaltap or simulation what is causing this delay. It should be easy as you can check sum and avg all the way through. your accummulator bitwidth of 20 bits is just right (12 bits + 8bits = 20bits) so there is no overflow.