Motore di ricerca datesheet componenti elettronici |
|
SI4712 Scheda tecnica(PDF) 10 Page - Silicon Laboratories |
|
SI4712 Scheda tecnica(HTML) 10 Page - Silicon Laboratories |
10 / 14 page AN307 10 Rev. 0.2 set spacing 20; #channel spacing set numBands 5; # number of bands to find best channel set filterWidth 5; # number of channels to average set numChans [expr ($endFreq - $startFreq) / $spacing] set chanBand [expr $numChans / $numBands + 1] set filterMid [expr $filterWidth / 2]; #offset from current freq to middle of filter set minAvg 100 array set filter { 0 0 1 0 2 0 3 0 4 0 } array set bandMin { 0 {0 1000} 1 {0 1000} 2 {0 1000} 3 {0 1000} 4 {0 1000} } #FIR Filter coefficients array set coeff { 0 1 1 1 2 2 3 6 4 2 } set filterWeight 12 ;#Normalization number is 1+1+2+6+2 = 12 #Add an additional 1/2 filter bins to the upper end to make #averaging easier for {set i 0} {$i <= $numChans + $filterMid} {incr i 1} { set currentFreq [expr $startFreq + $i * $spacing] set freqBand [expr $i / $chanBand] set filterPtr [expr $i % $filterWidth] #Handle the top of the band by filling extra array locations with 0 if {$i > $numChans} { set filter($filterPtr) 0 ;#pack upper 1/2 of filter with 0 at top of band } else { txTuneMeasure $currentFreq 0 while {![expr [getIntStatus] & 0x1]} { after 1 } array set measure [d::txTuneStatus 1] set filter($filterPtr) $measure(rnl) } #Don't calculate average for lower channels until 1/2 of filter is full if {$i >= $filterMid} { set avgFreq [expr ($startFreq + ($i - $filterMid) * $spacing)] set newAvg 0 set filterWeight 12 |
Codice articolo simile - SI4712 |
|
Descrizione simile - SI4712 |
|
|
Link URL |
Privacy Policy |
ALLDATASHEETIT.COM |
Lei ha avuto il aiuto da alldatasheet? [ DONATE ] |
Di alldatasheet | Richest di pubblicita | contatti | Privacy Policy | scambio Link | Ricerca produttore All Rights Reserved©Alldatasheet.com |
Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
Family Site : ic2ic.com |
icmetro.com |