jrprogrammer
New member
Thanks Frank! The links provided help...
Cheers,
Jim
Cheers,
Jim
#define HARDWARE_DD4WH
#define HARDWARE_DD4WH_T4
Thanks again for pointing me to the bugs! Now the software compiles for Teensy 3.6 (latest version is on github).
I have also tested the fixed version on my T3.6-based SDR and it plays fine.
For Teensy 3.6, compile with uncommented
and choose Teensy 3.6 180MHz in the Arduino compile optionsCode:#define HARDWARE_DD4WH
For Teensy 4.0, compile with uncommented
and choose Teensy 4.0 in the Arduino compile options.Code:#define HARDWARE_DD4WH_T4
For Teensy 4.0, you will find a menu entry where you can choose the CPU frequency you want. Beware to have a good heatsink installed when going over 600MHz.
I have been able to run the T4 Convolution SDR at 948MHz for hours. Every CPU frequency above 948MHz causes the radio to crash (although not necessarily immediately . . .). But 948MHz is really fast enough for everything you would dream for in this radio.
Have fun with the Teensy Convolution SDR,
Frank DD4WH
#ifdef USE_LOG10FAST
help = 10.0 * log10f_fast(FFT_spec[x] + 1.0) * spectrum_display_scale;
#else
help = 10.0 * log10f(FFT_spec[x] + 1.0) * spectrum_display_scale;
#endif
max_gain = powf (10.0, (float32_t)bands[current_band].AGC_thresh / 20.0);
and found the following errors:
Sorry Frank.. Now fixed I overlooked the switch (again!!)The first one is intended and is no error ? It compiles for me and the fast log-approximation code is being used by the spectrum display code
For the second problem you have to define your own hardware and define the right connections and then use recent code.
If you do not define one of the switches relating to the hardware you use for your radio, the compiler will throw errors.
Hi Joe,
I am pretty sure you did not have the Teensy Convolution SDR on a Teensy 3.2, because the Teensy Convolution SDR does work only with Teensy 3.6 or Teensy 4.0.
It must have been a version of the Teensy SDR, which is a different SDR and works entirely in 16-bit fixed point and makes extensive use of the excellent audio lib.
The Teensy Convolution SDR is the floating point version (and the only one that I have been working on for the past two years). Do not try to compile it for T3.2, it does not work!
For Teensy 3.6: install the CMSIS DSP files before compiling (, for that you have to follow the procedure on the github readme page and the instructions from the link very precisely.
For Teensy 4.0: just compile the ino file as-is and it will compile and hopefully work! (no need to install CMSIS DSP files!)
Make sure you have the very latest versions of Arduino and Teensyduino and the latest version of the Teensy Convolution SDR (extensive changes pushed today).
Have fun with the Teensy Convolution SDR!
All the best,
Frank DD4WH
Joe,
not sure if I understand correctly: Do you mean a sketch to check functioning of the T4 and audio board?
You could use the StereoPassThrough example from the audio lib.
Or try the convolution filter object by Brian Millier.
Or try a convolution filter like this:
https://forum.pjrc.com/threads/5726...nd-audio-board?p=217492&viewfull=1#post217492
You would have to add an object for the SGTL5000 and initialisation of the codec in the setup (but that is a good training if you would like to get the Convolution SDR running).