When is "ad9361_adc_xx_data" data valid?

Discussions related to modulation techniques, filtering, error correction and detection, wireless link layer implementations, etc
Post Reply
Naper
Posts: 2
Joined: Fri Sep 25, 2020 5:05 am

When is "ad9361_adc_xx_data" data valid?

Post by Naper »

Hi,
I have a BladeRF 2.0 A9. I would like to implement my code in the FPGA. My code, takes the I/Q samples of the RX0 and RX1 channels in input and processes them.

Studying the hdl of the BladeRF, I believe that the signals of my interest, in the case of channel i0, will be the following signals in output from the Nios II:

Code: Select all

ad9361_adc_i0_enable
ad9361_adc_i0_valid
ad9361_adc_i0_data
What I cannot understand, and would like to ask you, is the timing of the enable and valid signals.
When is "valid" activated? When is "enable" activated?
What is important for me is to understand when to get valid data from the AD9361. Or rather, understand when the data of the "ad9361_adc_i0_data" signal is valid.

note: I tried to simulate the behavior of the BladeRF with the Nios II using ModelSim, following the instructions in the AN 351 guide, and in the chapter 6.5 of the Embedded Design Handbook. Unfortunately I get an error when I go to generate "Create testbench simulation model". (maybe it's because I'm using the free version of Quartus)

Code: Select all

Error: arbiter_0: arbiter does not support generation for Verilog Simulation. Generation is available for: Quartus Synthesis.
Error: Generation stopped, 20 or more modules remaining
Error: qsys-generate failed with exit code 1: 2 Errors, 3 Warnings
Error: There were errors creating the testbench system.
I also tried to see the signals with the SignalTap, but it put me even more doubts, especially on the ad9361_adc_xx_valid signal.

Thank you.
Jacobjsdhfg
Posts: 1
Joined: Thu Dec 21, 2023 4:15 am

Re: When is "ad9361_adc_xx_data" data valid?

Post by Jacobjsdhfg »

It seems like you're encountering challenges with understanding the timing of the enable and valid signals in the context of implementing your code in the FPGA for the BladeRF 2.0 A9. Additionally, you've faced issues with simulating the behavior of the BladeRF using ModelSim and encountered errors when generating the testbench simulation model. It's a complex situation, and seeking assistance from the community or relevant forums might provide valuable insights and solutions to your queries. Good luck with your project! Drive Mad 2
cootabaft
Posts: 1
Joined: Fri Jan 12, 2024 12:33 am

Re: When is "ad9361_adc_xx_data" data valid?

Post by cootabaft »

The "enable" signal typically serves as a control signal to indicate that the operation or processing of a specific module or component should be enabled or activated. In the case of the "ad9361_adc_i0_snake gameenable" signal, it likely enables the ADC (Analog-to-Digital Converter) for the I0 channel, allowing it to start capturing and processing I/Q samples.
Post Reply