k7mdl2 / keithsdr Goto Github PK
View Code? Open in Web Editor NEWTeensy4.X with PJRC audio card Arduino based SDR Radio project.
Teensy4.X with PJRC audio card Arduino based SDR Radio project.
The new library form has many dependencies on externs.
Need to make the library usage simpler and remove all externs, passing into the lib function all params (values, pointer to structures).
There are a few duplicated #defines (FFT_SIZE and RA887x display type choice). Find a way to make these dynamic rather than #defines.
Move Spectrum Display Code into an Arduino Library
UI framework supports RX and TX but any TX functions are stubbed out and incomplete. Surely some new TX related functions will be required. Up to now I only had RX hardware. Now have a NT7V RX/TX board to start TX dev.
Hi
I have tried to compile this project with no success.
My setup: Win10, Arduino 1.8.16, Teensyduino 1.55
Below is the error messages from compilation:
73 de Niels, OZ9NY
Arduino: 1.8.16 (Windows 10), TD: 1.55, Board: "Teensy 4.1, Serial, 600 MHz, Faster, US English"
SDR_CAT.cpp:64: warning: 'msg' defined but not used
static char msg[S_BUFF];
^
SD_Card.cpp: In function 'void SD_CardInfo()':
SD_Card.cpp:177: error: no matching function for call to 'SdFile::openRoot(SdVolume&)'
root.openRoot(volume);
^
In file included from C:\Program Files (x86)\Arduino\hardware\teensy\avr\libraries\SdFat\src/FsLib/FsLib.h:32:0,
from C:\Program Files (x86)\Arduino\hardware\teensy\avr\libraries\SdFat\src/SdFat.h:35,
from C:\Program Files (x86)\Arduino\hardware\teensy\avr\libraries\SD\src/SD.h:27,
from C:\Users\Niels\Documents\hamradio\KEITHSDR\SDR_RA8875\SDR_RA8875.h:19,
from C:\Users\Niels\Documents\hamradio\KEITHSDR\SDR_RA8875\SD_Card.cpp:7:
C:\Program Files (x86)\Arduino\hardware\teensy\avr\libraries\SdFat\src/FsLib/FsFile.h:458:8: note: candidate: bool FsBaseFile::openRoot(FsVolume*)
bool openRoot(FsVolume* vol);
^
C:\Program Files (x86)\Arduino\hardware\teensy\avr\libraries\SdFat\src/FsLib/FsFile.h:458:8: note: no known conversion for argument 1 from 'SdVolume' to 'FsVolume*'
Multiple libraries were found for "SD.h"
Used: C:\Program Files (x86)\Arduino\hardware\teensy\avr\libraries\SD
Not used: C:\Program Files (x86)\Arduino\libraries\SD
Multiple libraries were found for "Audio.h"
Used: C:\Users\Niels\Documents\Arduino\libraries\Audio
Not used: C:\Program Files (x86)\Arduino\hardware\teensy\avr\libraries\Audio
no matching function for call to 'SdFile::openRoot(SdVolume&)'
This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.
I have burned though about 4 PJRC SGTL5000 Rev D audio cards (Teensy Audio backpack card). I think most of these have been the same scenario. My 4.3" RA8875 packaged into a small box along with the V2 Teensy motherboard and a RS-HFIQ. On random 12V power ups the card is damaged. 12V feeds the RS-HFIQ and a 12 to 5V DC-DC converter for the Teensy board. Sometimes the failure pulls the Teensy 3.3V to near 0V. Sometimes the audio chip is very hot. Other times the Line In does not work but the Line out might. This has not happened yet on my test bench setup where the RS-HFIQ is normally powered on and only the Teensy is power cycled or reset. The 4.3" unit the reset/program switch is not normally accessible, so power cycling is used. My best guess so far is there is a large voltage spike on the RS-HFIQ Line Out on power up killing the input circuit of the SGTL5000 line in pin. Perhaps the timing affects this (12V comes on first due to a slight 5V delay through the DC-DC converter).
I plan to investigate this more with a digital storage o'scope, maybe catch a spike or power up sequence problem.
Using the Arduino IDE get the following compilation error when "USE_RS_HFIQ" is not defined:
Controls.cpp: In function 'void VFO_AB()':
Controls.cpp:503: error: 'RS_HFIQ' was not declared in this scope
if (RS_HFIQ.find_new_band(old_VFOB, &curr_band)) // return the updated band index for the new freq
^
Only discovered this by accident. I thought that USE_RF_HFIQ had been defined, but that was in your personal definitions.
Jim G3ZQC
The code to manually input time over the serial connection went missing, likely during the RS-HFIQ menu integration summer 2022. Commented out the menu item for now.
A long standing problem I get is duplicate glcdfont array definition errors. I believe this comes from the array being defined in the glcdfont.c RA8875 library file and also various included ILI9488_t3 and IL9341_t3 libraries which are included to leverage some fonts. I work around this by renaming glcdfont.c in the ili9488_t3/src lib folder to something else like glcdfont.c.unused.
With the new Arduino IDE 2.0.2 compiling for RA8876 I get dupes for _font_ComicSansMS in IL9488_t3 and RA8876_t3 folders. Renaming the 2 _font_ComicSansMS files.x to _font_ComicSansMS.x.unused in the ILI9488_t3 lib removes those errors.
Eventually will fix this with suitable fonts not requiring ILI9*** libs and make this issue go away.
Keith has significant DSP chain update that I plan to merge into this program. Existing DSP work is based off his previous versions.
When USB Audio and Serial is used for external app such as WSJTX, after some random time, hours to days, the USB function stops - no USB serial, no USB audio. The main program and analog audio continue on fine. This has been the same over a few revisions of Arduino and TeensyDuino. A program restart or power cycle is required to restore USB operation.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.