P2 can do SDR !!
thej
Posts: 232
in Propeller 2
Just found this!
We are all excited to get our hands on the P2 and start doing cool stuff but now I'm really drooling!
A guy found a way to use an FT232RL UART to do SDR and control a 27MHz remote control car.
Check it out here:
https://hackaday.com/2018/12/06/your-usb-serial-adapter-just-became-a-sdr/
He's using a 2Mbaud data rate to do it.
What baud rates can the P2 output?
I've heard 4Mbaud mentioned for serial and higher for the USB. What's the top end?
j
We are all excited to get our hands on the P2 and start doing cool stuff but now I'm really drooling!
A guy found a way to use an FT232RL UART to do SDR and control a 27MHz remote control car.
Check it out here:
https://hackaday.com/2018/12/06/your-usb-serial-adapter-just-became-a-sdr/
He's using a 2Mbaud data rate to do it.
What baud rates can the P2 output?
I've heard 4Mbaud mentioned for serial and higher for the USB. What's the top end?
j
Comments
That said, this is not the right way to do it. The square wave output has a ton of harmonics that pepper the spectrum with noise. You will note in the article that there are very significant off-frequency peaks in their spectrum sample.
It could be possible to use the DACs to generate a 27Mhz sine wave, given that they can do 1080p component video, which is 60Mhz+
How fast can it update the DAC? What's the max bandwidth of the DACs?
DACs update in 2ns. They can update at the clock rate.
You basically square-wave and then use a LPF to clean it up.
The P2 is going to make a glorious Global Balloon payload once it reaches general availability.
A 270MHz DAC can generate signals up to 135MHz. In practice you'd want to stay below 120MHz or so to keep the low pass filter rolloff requirement reasonable. In Nyquist We Trust
Thanks,
-Phil
No problem, Phil. Because we output actual sine waves, we don't have those nasty edges appearing in the wrong places. At any phase, the DAC level will be appropriate.
It will actually be pretty good, because you won't hit the same phase samples every time through the loop. So, on average, you will be very accurate with a high Q.
Feeding the P1 NCO into the PLL doesn't do much to clean up the output. The PLL has a wide bandwidth that can pass a lot of jitter. And the VCO has a fair amount of phase noise itself.
There will still be some jitter from the sysclock PLL itself. Hopefully on the P2 is it improved from the P1. Measurements here:
https://forums.parallax.com/discussion/comment/1429445/#Comment_1429445
-Phil
It will be very interesting to see similar curves, done for P2.
True, but the Goertzel is slower than the DACs, and can it feed the streamer/DACs directly, or does it need a software loop ?
Dedicated DDS chips, run a wide adder at SysCLK speeds and feed the upper bits into a Sine LUT then to a DAC.
It's not clear yet where P2 will be able to get to, with DDS widths and LUT sizes / feed rates ?
That is exactly what the Goertzel circuit does. Plus, it does the Goertzel MAC's using the ADC bitstream.