Hi Ivan,

Ming is correct. You need to modify this line:

- { srcblk: window0, srcport: out_0, dstblk: fft0,  dstport: *in0* }

to

- { srcblk: window0, srcport: out_0, dstblk: fft0,  dstport: *in_0* }

Jonathon

On Sun, Oct 24, 2021 at 4:04 PM Ming You <[email protected]> wrote:

> Hi Ivan,
>
> I think you might also check the typos, as I think for the fft0 module
> from Ettus should have input port name "in_0" and output port name "out_0",
> unless you've modified it.
>
> Hope this helps and good luck!
>
> Thanks,
> Ming
>
> ________________________________________
> From: Ivan Zahartchuk <[email protected]>
> Sent: 24 October 2021 17:40
> To: Marcus D. Leech
> Cc: discuss-gnuradio; usrp-users
> Subject: [USRP-users] Re: Fwd: Adding a Window block to an RFNOC graph
>
> ** THIS MESSAGE ORIGINATED OUTSIDE LOUGHBOROUGH UNIVERSITY **
>
> Be wary of links or attachments, especially if the email is unsolicited or
> you don't recognise the sender's email address.
>
> I read the manual. And I tried to do everything according to the
> instructions and existing examples. The yaml source file also uses
> x300_radio block
>
> вс, 24 окт. 2021 г. в 18:17, Marcus D. Leech <[email protected]
> <mailto:[email protected]>>:
> On 2021-10-23 5:58 p.m., Ivan Zahartchuk wrote:
>
> I want to create FPGA firmware for USRP E310 with window function but I
> get the error I described above. My yaml file is also attached above. I
> need to do windowing and FFT on the FPGA side. And understand why FFT
> returns zero values even when it is configured to produce complex data.
>
> [image.png]
>
> пт, 22 окт. 2021 г. в 17:55, Marcus D. Leech <[email protected]
> <mailto:[email protected]>>:
> On 2021-10-22 6:05 a.m., Ivan Zahartchuk wrote:
>
> Yes I am setting fft for magnitudes. On the front side, I am doing a log.
> I perfectly understand where infinity comes from. I don’t understand why
> the FFT returns 0. But how can I configure the Window?
>
> What does uhd_usrp_probe show in the "RFNOC Blocks" section on this device?
>
> I think the window RFNOC function in GNu Radio takes a list of the window
> values as a parameter--you can populate that with any of the window.*
> functions
>   within Gnu Radio.
>
>
> пт, 22 окт. 2021 г. в 01:51, Marcus D. Leech <[email protected]
> <mailto:[email protected]>>:
> On 2021-10-21 6:40 p.m., Ivan Zahartchuk wrote:
>
>
> Hello, I have a problem that when receiving samples from the USRP E310
> board, after the FFT block at low gain, zero values are received. After
> that I log them and get infinity. I wanted to figure out what the problem
> is, but I have no idea, maybe the Window block will fix the situation. But
> when building my yaml file, I get the error:
> [ERR] 2 Unresolved connection(s)
> [ERR]     (window0-out_0 -> fft0-in0)
> [ERR]     (fft0-out_0 -> ep1-in_0)
> [INF]         (('radio0', 'ctrl_port', 'master'),)
> [INF]         (('radio0', 'time_keeper', 'listener'),)
> [INF]         (('radio0', 'x300_radio', 'slave'),)
> [INF]         (('_device_', 'ctrlport_radio', 'slave'),)
> [INF]         (('_device_', 'time_keeper', 'broadcaster'),)
> [INF]         (('_device_', 'x300_radio', 'master'),)
> Please tell me what could be the problem and how can I add the Window
> block to my image?
>
>
>
>
>
> _______________________________________________
> USRP-users mailing list -- [email protected]<mailto:
> [email protected]>
> To unsubscribe send an email to [email protected]<mailto:
> [email protected]>
>
>
> Do you have your FFT configured for log output?  Because the logarithm of
> zero is undefined.
>
>
> _______________________________________________
> USRP-users mailing list -- [email protected]<mailto:
> [email protected]>
> To unsubscribe send an email to [email protected]<mailto:
> [email protected]>
>
> I noticed looking at your .yaml file that it references x300_radio blocks,
> and since this is an E310, that may not be appropriate?  I know that there
> have
>   historically been considerable differences between the X300 RFNOC radio
> blocks and those for E310.
>
> _______________________________________________
> USRP-users mailing list -- [email protected]
> To unsubscribe send an email to [email protected]
>
_______________________________________________
USRP-users mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to