Re: N210 DAC and ADC usage

2022-03-06 Thread Marcus Müller
Hi Fabien! Sadly, as said, the AUX ADC and DAC are asynchronous, by design. You can't make them synchronous without developing a different streaming architecture for the N210; that would be a major change to the FPGA design, I'd presume, not just a little change :( The thing I could imagine y

Re: N210 DAC and ADC usage

2022-03-05 Thread Fabien PELLET
The problem is that the latency using a sound card is terrible, even using jackd. Using N210's sink ans source for audio purposes give very good latencies but it limites me to half-duplex. This is for what I'm interested by using that ADC and DAC. Marcus D. Leech a écrit >On 2022-03-

Re: N210 DAC and ADC usage

2022-03-05 Thread Marcus D. Leech
On 2022-03-05 14:16, Fabien PELLET wrote: Hi Marcus, Thanks for the detailed answer. I already know get_rx_dboard_iface method as it is it that I use to access the IO of LFRX and LFTX. The problem is that this is asynchrous. For my need, I would like to feed it synchronously at a defined sam

Re: N210 DAC and ADC usage

2022-03-05 Thread Fabien PELLET
Hi Marcus, Thanks for the detailed answer. I already know get_rx_dboard_iface method as it is it that I use to access the IO of LFRX and LFTX. The problem is that this is asynchrous. For my need, I would like to feed it synchronously at a defined sample rate for audio purpose for example. Do y

Re: N210 DAC and ADC usage

2022-03-05 Thread Marcus Müller
Just realized that there *is* a C++ API: usrp_block->get_device()->get_rx_dboard_iface()->read_aux_adc(); replace _rx_ with _tx_ for the LFTX, and read_aux_adc with write_aux_dac for the DAC. Best regards, Marcus DISCLAIMER: Any attached Code is provided As Is. It has not been tested or vali

Re: N210 DAC and ADC usage

2022-03-05 Thread Marcus Müller
Hi Fabien, no need to modify the FPGA. The functionality is there – it's just not exposed to the user. Also, note that interacting with the auxiliary ADC and DAC is going to be asynchronous to the sample flow – there might be millions of samples from the main ADC that have flown by before an A

Re: N210 DAC and ADC usage

2022-03-04 Thread Marcus D Leech
See here for the schematics which will help you find the full specs for the AUX ADC and DAC. https://files.ettus.com/schematics/n200/ Yes you can certainly modify the FPGA and UHD to support these. But you’ll mostly be on your own. Sent from my iPhone > On Mar 4, 2022, at 9:35 AM, Fabien PE

Re: N210 DAC and ADC usage

2022-03-04 Thread Fabien PELLET
Yes, sorry indeed I was talking about AUX_DAC and AUX_ADC that are replicated from the motherboard. I already use IO which works very well. So there is no way to send samples (or receive) at a specific sample rate using that AUX_DAC or ADC. It is just some "analog IOs" for reading some externa

Re: N210 DAC and ADC usage

2022-03-04 Thread Marcus Müller
Sorry, hit "send" accidentally: Dear Fabien, there's no ADC on these daughterboards. Just an EEPROM for identification, opamps for amplification and signal conditioning, and on the LFTX a switch-mode power supply. You're right, they do exppose the AUX DACs and ADC lines from the motherboad.

Re: N210 DAC and ADC usage

2022-03-04 Thread Marcus Müller
Dear Fabien, there's no ADC on these daughterboards. Just an EEPROM for identification, opamps for amplification and signal conditioning, and on the LFTX a switch-mode power supply. Best regards, Marcus On 04.03.22 10:30, Fabien PELLET wrote: Hello, As there are IOs available on LFTX and LF

N210 DAC and ADC usage

2022-03-04 Thread Fabien PELLET
Hello, As there are IOs available on LFTX and LFRX, there are also ADC and DAC available. Is there a way to use them as SOURCE and SINK in gnuradio for low speed conversion ? Thanks, Best regards, Fabien, F4CTZ.