Skip to content

Commit

Permalink
plugins/ad9084: Add CFIR and PFILT support
Browse files Browse the repository at this point in the history
Add some random coefficient FIR filters, which allow to test
functionality. No expressed other purpose.

Signed-off-by: Michael Hennerich <[email protected]>
  • Loading branch information
mhennerich committed Mar 21, 2024
1 parent 45e5eed commit 18ad338
Show file tree
Hide file tree
Showing 7 changed files with 2,675 additions and 1,019 deletions.
24 changes: 24 additions & 0 deletions filters/ad9084/cfir_hp_rx.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# coeffs_16_hp0.txt
dest: rx cfir_all profile_1 datapath_all
gain: 0
complex_scalar: 32767 0
enable: 1 profile_1
selection_mode: direct_regmap
coeff_transfer: 0
bypass: 0
64515 64515
65535 65535
0 0
0 0
3598 3598
65535 65535
45971 45971
32767 32767
45971 45971
65535 65535
3598 3598
0 0
0 0
65535 65535
64515 64515
0 0
25 changes: 25 additions & 0 deletions filters/ad9084/cfir_lp_rx.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# pfilt_coeffs_16_lp0.txt
dest: rx cfir_all profile_2 datapath_all
gain: 0
complex_scalar: 32767 0
enable: 1 profile_2
selection_mode: direct_regmap
coeff_transfer: 0
bypass: 0
242 242
541 541
151 151
64329 64329
63642 63642
650 650
6461 6461
11575 11575
11575 11575
6461 6461
650 650
63642 63642
64329 64329
151 151
541 541
242 242

25 changes: 25 additions & 0 deletions filters/ad9084/cfir_lp_tx.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# coeffs_16_lp0.txt
dest: tx cfir_all profile_all datapath_all
gain: 0
complex_scalar: 32767 0
enable: 1 profile_2
selection_mode: direct_regmap
coeff_transfer: 0
bypass: 0
242 242
541 541
151 151
64329 64329
63642 63642
650 650
6461 6461
11575 11575
11575 11575
6461 6461
650 650
63642 63642
64329 64329
151 151
541 541
242 242

43 changes: 43 additions & 0 deletions filters/ad9084/pfilt_hp_rx.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
# pfilt_coeffs_16_lp0.txt
mode: real_n2 real_n2
gain: 6 6 6 6
scalar_gain: 63 63 63 63
dest: rx pfilt_all bank_0
hc_delay: 0
mode_switch_en: 0
mode_switch_add_en: 0
real_data_mode_en: 1
quad_mode_en: 0
0x00F2
0xFDE3
0x0096
0x04B8
0xF89A
0xFD75
0x193D
0xD2CA
0x2D36
0xE6C3
0x028B
0x0766
0xFB48
0xFF6A
0x021D
0xFF0E
0x00F2
0xFDE3
0x0096
0x04B8
0xF89A
0xFD75
0x193D
0xD2CA
0x2D36
0xE6C3
0x028B
0x0766
0xFB48
0xFF6A
0x021D
0xFF0E

40 changes: 40 additions & 0 deletions filters/ad9084/pfilt_off_rx.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
# pfilt_coeffs_16_lp0.txt
mode: disabled disabled
gain: 0 0 0 0
dest: rx pfilt_a0 bank_0
hc_delay: 0
mode_switch_en: 0
mode_switch_add_en: 0
real_data_mode_en: 0
quad_mode_en: 0
0x0027
0xFE01
0xFE58
0x0538
0x0063
0xF23E
0x0A98
0x3FC3
0x3FC3
0x0A98
0xF23E
0x0063
0x0538
0xFE58
0xFE01
0x0027
0x0027
0xFE01
0xFE58
0x0538
0x0063
0xF23E
0x0A98
0x3FC3
0x3FC3
0x0A98
0xF23E
0x0063
0x0538
0xFE58
0xFE01
Loading

0 comments on commit 18ad338

Please sign in to comment.