Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug in ADRV9001 TES auto-generated C-code #2504

Open
AndyZe opened this issue Jun 11, 2024 · 0 comments
Open

Bug in ADRV9001 TES auto-generated C-code #2504

AndyZe opened this issue Jun 11, 2024 · 0 comments

Comments

@AndyZe
Copy link

AndyZe commented Jun 11, 2024

This is probably not the right place to report this bug, but I don't know where the right place is and I'm unable to register for Engineer Zone at the moment.

I have a ADRV9001 device and I used the Transceiver Evaluation Software to auto-generate some C-code for it. In configure.c:

    error_code = adi_adrv9001_Rx_GainControl_Configure(adrv9001Device_0, ADI_CHANNEL_1, &configure_agcCfg_3);
    ADI_HANDLE_ERROR(error_code);

    error_code = adi_adrv9001_Rx_GainControl_Configure(adrv9001Device_0, ADI_CHANNEL_2, &configure_agcCfg_3);
    ADI_HANDLE_ERROR(error_code);

The bug is that both channels are using config configure_agcCfg_3. Instead it should be something like:

    error_code = adi_adrv9001_Rx_GainControl_Configure(adrv9001Device_0, ADI_CHANNEL_1, &configure_agcCfg_2);
    ADI_HANDLE_ERROR(error_code);

    error_code = adi_adrv9001_Rx_GainControl_Configure(adrv9001Device_0, ADI_CHANNEL_2, &configure_agcCfg_3);
    ADI_HANDLE_ERROR(error_code);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant