filtering - What is correct Sampling frequency value? -
what correct sampling frequency (sampling rate) in given code? 8khz? i'm having trouble find it.
this comment suggests 8khz
.equ timeconst, #32000 ;use 32000 samples (4 seconds) constant find peak
and section of code says "8ks/s"
;setup timer 1 sampling delay: tcy = 16mhz (64mhz clock) mov #0x8000,w1 ;8ks/s @ tcy=16mhz mov w1,t1con ;1:1, int clk, on mov #2000,w1 ;load pr1 delay, 8ks/s sample rate @16mhz internal mov w1,pr1
Comments
Post a Comment