Re: [USRP-users] UHD Converter for X310 series with unsupported data format

2018-01-31 Thread Kei Nguyen via USRP-users
s16 (int16_t) -> f32 (float) is not implemented.
https://files.ettus.com/manual/structuhd_1_1stream__args__t.html
I also checked the converters in host/lib/convert/ and couldn't find it.
Am I missing something?
Also, when I create a new converter do I have to rebuild the UHD?

Thanks.

On Tue, Jan 23, 2018 at 12:13 PM, Kei Nguyen 
wrote:

> I mean s16 -> f32 not sc16 -> fc32, which is already implemented.
> I looked through the document but it's not clear to me. I'm not sure about
> UHD code structure. Could you explain in more details?
>
> Sorry for any confusion.
>
___
USRP-users mailing list
USRP-users@lists.ettus.com
http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com


Re: [USRP-users] UHD Converter for X310 series with unsupported data format

2018-01-23 Thread Martin Braun via USRP-users
On Tue, Jan 23, 2018 at 12:13:48PM -0500, Kei Nguyen via USRP-users wrote:
>I mean s16 -> f32 not sc16 -> fc32, which is already implemented.
>I looked through the document but it's not clear to me. I'm not sure about
>UHD code structure. Could you explain in more details?
>Sorry for any confusion.

Like I said, s16 -> fc32 is already implemented. Assuming your FPGA code
produces real samples (s16), you then select f32 as your output format.
Select appropriate values in your uhd::stream_args_t struct.

Cheers,
Martin


signature.asc
Description: PGP signature
___
USRP-users mailing list
USRP-users@lists.ettus.com
http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com


Re: [USRP-users] UHD Converter for X310 series with unsupported data format

2018-01-23 Thread Kei Nguyen via USRP-users
I mean s16 -> f32 not sc16 -> fc32, which is already implemented.
I looked through the document but it's not clear to me. I'm not sure about
UHD code structure. Could you explain in more details?

Sorry for any confusion.
___
USRP-users mailing list
USRP-users@lists.ettus.com
http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com


Re: [USRP-users] UHD Converter for X310 series with unsupported data format

2018-01-22 Thread Martin Braun via USRP-users
s32 is unusual, as Jeff mentions. s16 -> f32 are already available.

-- M

On 01/22/2018 03:35 PM, Jeff Long via USRP-users wrote:
> Maybe start here:
> 
> https://files.ettus.com/manual/page_converters.html
> 
> Adding new formats to the host software should be easy, but adding new
> formats to the FPGA is more work. Why do you want s32 OTW?
> 
> On Mon, Jan 22, 2018 at 3:11 PM, Kei Nguyen via USRP-users
> > wrote:
> 
> Hello,
> 
> I'm very new to UHD and USRP stuff. I want to ask if it is possible
> to integrate a converter with format unsupported by UHD, for
> example, s32 on device (otw) and f32 on host (cpu)? Also, is there
> any explicit document for how I can do this?
> Sorry if my question is rather unclear because I'm really unfamiliar
> with UHD yet.
> 
> Thanks,
> Hai
> 
> ___
> USRP-users mailing list
> USRP-users@lists.ettus.com 
> http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com
> 
> 
> 
> 
> 
> ___
> USRP-users mailing list
> USRP-users@lists.ettus.com
> http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com
> 


___
USRP-users mailing list
USRP-users@lists.ettus.com
http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com


Re: [USRP-users] UHD Converter for X310 series with unsupported data format

2018-01-22 Thread Jeff Long via USRP-users
Maybe start here:

https://files.ettus.com/manual/page_converters.html

Adding new formats to the host software should be easy, but adding new
formats to the FPGA is more work. Why do you want s32 OTW?

On Mon, Jan 22, 2018 at 3:11 PM, Kei Nguyen via USRP-users <
usrp-users@lists.ettus.com> wrote:

> Hello,
>
> I'm very new to UHD and USRP stuff. I want to ask if it is possible to
> integrate a converter with format unsupported by UHD, for example, s32 on
> device (otw) and f32 on host (cpu)? Also, is there any explicit document
> for how I can do this?
> Sorry if my question is rather unclear because I'm really unfamiliar with
> UHD yet.
>
> Thanks,
> Hai
>
> ___
> USRP-users mailing list
> USRP-users@lists.ettus.com
> http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com
>
>
___
USRP-users mailing list
USRP-users@lists.ettus.com
http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com


[USRP-users] UHD Converter for X310 series with unsupported data format

2018-01-22 Thread Kei Nguyen via USRP-users
Hello,

I'm very new to UHD and USRP stuff. I want to ask if it is possible to
integrate a converter with format unsupported by UHD, for example, s32 on
device (otw) and f32 on host (cpu)? Also, is there any explicit document
for how I can do this?
Sorry if my question is rather unclear because I'm really unfamiliar with
UHD yet.

Thanks,
Hai
___
USRP-users mailing list
USRP-users@lists.ettus.com
http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com