# 16Mhz bandwidth when using 8bit sample?

**URL:** <https://www.ruby-forum.com/t/16mhz-bandwidth-when-using-8bit-sample/67468>\
**Category:** GNU Radio\
**Created:** [September 4, 2006, 2:44pm UTC](https://www.ruby-forum.com/t/16mhz-bandwidth-when-using-8bit-sample/67468 "2006-09-04T14:44:15Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![hanwen](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/h/22d042/32.png) [@hanwen](https://www.ruby-forum.com/u/hanwen)\
**Post date:** [September 4, 2006, 2:44pm UTC](https://www.ruby-forum.com/t/16mhz-bandwidth-when-using-8bit-sample/67468/1 "2006-09-04T14:44:15Z")

</div>

Hi, all,

I’ve just found that the USRP can be configure to 8bit sample by the  
following code.  
width = 8  
shift = 8  
format = self.u.make\_format(width, shift)  
print “format =”, hex(format)  
r = self.u.set\_format(format)  
And it is already in the usrp\_fft.py and usrp\_oscope.py.

So I guess that USRP may sample high up to 16Mhz bandwidth when using  
8bit  
sample. Because 8 bit can save the bandwidth of USB interface. That is  
32Mbytes/s / 2bytes/sample = 16samples/s.

But when I execute the follwing code, I get no spectrum or waveform in  
the  
window.  
$ ./usrp\_fft.py -8 -d 4  
$ ./usrp\_oscope.py -8 -d 4

If I don’t use the “-8” parameter, only “-d 4”, spectrum or waveform  
turns  
out, also, a lot of “u0”.

Why? hehe:)
