| поискавой системы для электроныых деталей |
|
AD7760BCP датащи(PDF) 18 Page - Analog Devices |
|
|
|||||||||||||||||||||||||||||
AD7760BCP датащи(HTML) 18 Page - Analog Devices |
|
18 / 22 page ![]() AD7760 Preliminary Technical Data Rev. PrN | Page 18 of 22 DOWNLOADING A USER-DEFINED FILTER As previously mentioned, the filter coefficients are 27 bits in length; one sign and 26 magnitude bits. Since the AD7760 has a 16-bit parallel bus, the coefficients are padded with 5 MSB zeros to generate a 32-bit word and split into two 16-bit words for downloading. The first 16-bit word for each coefficient becomes (00000, Sign bit, Magnitude[25:16]), while the second word becomes (Magnitude [15:0]). To ensure that a filter is downloaded correctly, a checksum must also be generated and downloaded following the final coefficient. The checksum is a 16-bit word generated by splitting each 32-bit word mentioned above into 4 bytes and summing all bytes from all coefficients up to a maximum of 192 bytes (48 coefficients × 4 bytes). The same checksum is generated internally in the AD7760 and compared with the checksum downloaded. The DL_OK bit in the Status Register is set if these two checksums agree. The following is the procedure for downloading a user filter: 1. Write to Control Register 1 setting the DL_Filt bit and also the correct filter length bits corresponding to the length of the filter about to be downloaded (See Table 9). 2. Write the first half of the current coefficient data (00000, Sign bit, Magnitude[25:16]). The first coefficient to be written must be the one adjacent to the point of filter symmetry. 3. Write the second half of the current coefficient data (Magnitude [15:0]). 4. Repeat Steps 2 and 3 for each coefficient. 5. Write the 16-bit checksum. 6. There are two methods to verify that the filter coefficients have been downloaded correctly: a. Read the Status Register checking the DL_OK bit. b. Start reading data and observe the status of the DL_OK bit. Table 9. Filter Length Values FLEN[3:0] Num Coeffs Filter Length 0000 Default Default 0001 6 12 0011 12 24 0101 18 36 0111 24 48 1001 30 60 1011 36 72 1101 42 84 1111 48 96 It should be borne in mind that since the user coefficients are stored in RAM, they will be cleared after a RESET operation or a loss of power.. EXAMPLE FILTER DOWNLOAD The following is an example of downloading a short user defined filter with 24-taps. The frequency response is shown in Figure 20. -80 -70 -60 -50 -40 -30 -20 -10 0 10 0 100 200 300 400 500 600 Frequency (kHz) Figure 20. 24-Tap FIR Frequency Response The coefficients for the filter are listed in Table 10. The coefficients are in shown from the center of symmetry outwards. The raw coefficients were generated using a commercially available filter design tool and scaled appropriately so their sum equals +67108863 (0x3FF FFFF). Table 10. 24-Tap FIR Coefficients Coeff Raw Scaled 1 0.365481974 53188232 2 0.201339905 29300796 3 0.009636604 1402406 4 -0.075708848 -11017834 5 -0.042856209 -6236822 6 0.019944246 2902466 7 0.036437914 5302774 8 0.007592007 1104856 9 -0.021556583 -3137108 10 -0.024888355 -3621978 11 -0.012379538 -1801582 12 -0.001905756 -277343 |
|
|
ссылки URL |
| Вашему бизинису помогли Аллдатащит? [ DONATE ] |
Что такое Аллдатащит | реклама | контакт | Конфиденциальность | Ссылка на техническое описание | обмен ссыками | поиск по производителю 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 |