Microcontroller no-OS Drivers
Attached a snippet from customer main.c, while trying to use the initialize parameter and FIR structure from attached file we get below errors.
Please help to resolve this issue.
ad9361_init : AD936x Rev 2 successfully initialized
ad9361_validate_enable_fir: Calculating filter rates failed -22 using min frequency
ad9361_calculate_rf_clock_chain: Failed to find suitable dividers: ADC clock below limit
ad9361_calculate_rf_clock_chain: Failed to find suitable dividers: BBPLL rate above limit
Your post doesn't have any files attached. Can you try again?
By the way, did you use our MATLAB Filter Design Wizard (MATLAB Filter Design Wizard for AD9361 [Analog Devices Wiki] ) for generating that configurations?
I have attached the files now .
Yes , the MATLAB Filter Design Wizard was used for generating the configurations .
I am also attaching the filter configuration file generated from Filter Wizard with some slight modifications .
You should use the ad9361_trx_load_enable_fir() API - it will enable the filters simultaneously and it will load the coefficients and the frequencies information too.
Awaiting your response on this query .