Keyboard Shortcuts
Likes
- SoftwareControlledHamRadio
- Messages
Search
Re: T41 SDT Code Issues
If a new main board was designed... I think I would do what John did... sort
toggle quoted message
Show quoted text
of... I would put the main board right on the back of the display. That way there is no display cable. The thing is already a 4 layer board so the noise from the display encroaching into the audio portions should be relatively small (although I'd want to check that). Dr. William J. Schmidt - K9HZ J68HZ 8P6HK ZF2HZ PJ4/K9HZ VP5/K9HZ PJ2/K9HZ VP2EHZ Owner - Operator Big Signal Ranch ¨C K9ZC Staunton, Illinois Owner ¨C Operator Villa Grand Piton ¨C J68HZ Soufriere, St. Lucia W.I. Rent it: www.VillaGrandPiton.com Moderator: North American QRO Group at Groups.IO. Moderator: Amateur Radio Builders Group at Groups.IO. email:? bill@... -----Original Message-----
From: [email protected] <[email protected]> On Behalf Of jerry-KF6VB Sent: Friday, February 21, 2025 9:50 AM To: [email protected] Cc: Greg KF5N via groups.io <greg.electricity@...> Subject: Re: [SoftwareControlledHamRadio] T41 SDT Code Issues If we were to redesign the Teensy - or just do a Main Board with a directly soldered iMXRT1062 - I'd want to free up the JTAG port for *hardware debug*!!!! It would speed up software development by an order of magnitude. - Jerry, KF6VB |
Re: T41 SDT Code Issues
Hi Tim-
?
Yes, you can add a lot of external memory.? There are pros and cons.? This memory, being physically external to the Teensy (System On Chip), is going to be slower than the memory on the same die as the microcontroller.
The worst part about the external memory is that you can't use it for functions.? It is restricted to data.? So the use case for the external memory is a requirement for (volatile) storage of a lot of data.
What we need is more stack and heap, and the only way to fix that is to re-design the Teensy.? Other than that, diligent software design with conservation of memory is the only option.
?
--
73 Greg KF5N |
Re: [AmateurRadioBuilders] RF Board update.
¿ªÔÆÌåÓýAl was working on the TX calibration routines and noticed that the calibration worked fine above 350hz but not below.? There was too much phase shift between I and Q caused by the corner frequency of the Sallen-Key filter in the TC chain.? He changed the sampling (in software) and did some simulations to opened up the filters to a much higher frequency by changing the corner frequency of the filters.? Now the phase shift is much lower and the works to about 100hz (about the limit of the current Hilbert transforms as-is).? This effectively makes the calibrated radio easily meet FCC specifications and operate with a transmit audio frequency down to 100hz which is adequate for FT8 transmission (the upper end cutoff is above 4khz). ? So what does all of this gibberish mean for the average guy building a T41?? Well, you make the following changes to your V12 RF board and use the latest software (to be released shortly): ?
? ? Dr. William J. Schmidt - K9HZ J68HZ 8P6HK ZF2HZ PJ4/K9HZ VP5/K9HZ PJ2/K9HZ VP2EHZ ? Owner - Operator Big Signal Ranch ¨C K9ZC Staunton, Illinois ? Owner ¨C Operator Villa Grand Piton ¨C J68HZ Soufriere, St. Lucia W.I. Rent it: ? Moderator: North American QRO Group at Groups.IO. Moderator: Amateur Radio Builders Group at Groups.IO. ? email:? bill@... ? ? From: [email protected] <[email protected]> On Behalf Of John G0SDF via groups.io
Sent: Friday, February 21, 2025 4:28 AM To: [email protected] Subject: Re: [SoftwareControlledHamRadio] [AmateurRadioBuilders] RF Board update. ? Bill So what are the changes that Al is referring to? John G0SDF |
Re: T41 SDT Code Issues
In its current state, I would say No, but others (Greg?) have added the extra memory chip but I don't know their results...perhaps they could enlighten us. Right now, our T41 code uses less than 3% of flash space, but eats about 70% of SRAM. I have been lax about getting rid of globals, which is a horrible admission on a number of fronts (e.g., encapsulation, memory use efficiency, etc). I'd like to say I'm going to go back after this next software release and clean that up, but that would likely be a lie as both Al and I have been at this for almost 7 years and we're getting a little burned out.? Also, I have other distractions now. At some time yesterday my main data drive died which I need to recover as it appears my backup hasn't run for several months! The good news is I've sent all the T41 code to Al all along, so he's never more than a few hours behind me. The bad news is everything else from current tax records to personal photos are on the lost drive. There's a lesson here, people... Jack, W8TEE
On Friday, February 21, 2025 at 09:27:29 AM EST, Tim via groups.io <w4yn@...> wrote:
Jack
I see that there are additional memory options that can added to Teensy.
At some point does it make sense to swap out current Teensy for one with added memory chips?
I see that it does not add a great deal of $$ to build.
Tim W4YN
-- Jack, W8TEE |
Re: T41 SDT Code Issues
Peter: Try recompiling with the options set to "Smallest code with LTO". You should get something similar to: ? FLASH: code:205768, data:127192, headers:9052?? free for files:7784452 ?? RAM1: variables:178176, code:195112, padding:1496?? free for local variables:149504 ?? RAM2: variables:462432? free for malloc/new:61856 The critical value is highlighted above and represents the stack space that's available. This chunk of memory gets chewed up as functions are called and, if that goes to zero, the stack collides with the heap space and it's anyone's guess what happens next. That number should be at least 50K, preferably more. Let us know what happens after the compiler adjustment. Jack, W8TEE
On Friday, February 21, 2025 at 07:10:07 AM EST, Peter McCracken EI3JCB via groups.io <peter.mccracken@...> wrote:
?
Folks,
?
Looking for some ideas for an issues I am having compiling SDT code, to be clear it compiles and loads just fine but when running I get very jittery performance and a sort of "bip bip bip bip bip bip" from the audio, the movement of the waterfall display is in sync with the bip bip effect.
?
In an effort to troubleshoot this I configured a new Arduino IDE 2.3.4, remove all of the old arduino library folders out of c:\users\.. so that I would have a clean slate, then installed Teensy 1.59, then all of the various required libs as per below...
?
Using library Adafruit MCP23017 Arduino Library at version 2.3.2 in folder: N:\arduino\libraries\Adafruit_MCP23017_Arduino_Library?
Using library Adafruit BusIO at version 1.17.0 in folder: N:\arduino\libraries\Adafruit_BusIO? Using library Wire at version 1.0 in folder: C:\Users\peter\AppData\Local\Arduino15\packages\teensy\hardware\avr\1.59.0\libraries\Wire? Using library SPI at version 1.0 in folder: C:\Users\peter\AppData\Local\Arduino15\packages\teensy\hardware\avr\1.59.0\libraries\SPI? Using library Chrono at version 1.2.0 in folder: N:\arduino\libraries\Chrono? Using library Regressino at version 1.5 in folder: N:\arduino\libraries\Regressino? Using library Regression at version 1.0.1 in folder: N:\arduino\libraries\Regression? Using library Adafruit GFX Library at version 1.11.11 in folder: N:\arduino\libraries\Adafruit_GFX_Library? Using library OpenAudio_ArduinoLibrary-master in folder: N:\arduino\libraries\OpenAudio_ArduinoLibrary-master (legacy) Using library Audio at version 1.3 in folder: C:\Users\peter\AppData\Local\Arduino15\packages\teensy\hardware\avr\1.59.0\libraries\Audio? Using library SD at version 2.0.0 in folder: C:\Users\peter\AppData\Local\Arduino15\packages\teensy\hardware\avr\1.59.0\libraries\SD? Using library SdFat at version 2.1.2 in folder: C:\Users\peter\AppData\Local\Arduino15\packages\teensy\hardware\avr\1.59.0\libraries\SdFat? Using library SerialFlash at version 0.5 in folder: C:\Users\peter\AppData\Local\Arduino15\packages\teensy\hardware\avr\1.59.0\libraries\SerialFlash? Using library Time at version 1.6.1 in folder: C:\Users\peter\AppData\Local\Arduino15\packages\teensy\hardware\avr\1.59.0\libraries\Time? Using library Metro in folder: C:\Users\peter\AppData\Local\Arduino15\packages\teensy\hardware\avr\1.59.0\libraries\Metro (legacy) Using library Bounce in folder: C:\Users\peter\AppData\Local\Arduino15\packages\teensy\hardware\avr\1.59.0\libraries\Bounce (legacy) Using library Timer at version 1.2.1 in folder: N:\arduino\libraries\Timer? Using library RA8875 at version 0.7.11 in folder: C:\Users\peter\AppData\Local\Arduino15\packages\teensy\hardware\avr\1.59.0\libraries\RA8875? Using library EEPROM at version 2.0 in folder: C:\Users\peter\AppData\Local\Arduino15\packages\teensy\hardware\avr\1.59.0\libraries\EEPROM? Using library ArduinoJson at version 7.3.0 in folder: N:\arduino\libraries\ArduinoJson? ?
The settings are 600MHz, Faster with LTO and Dual Serial, it all compiles fine and uploads but I still have the issue as per above, now to be clear this is the 064 build of the code which I don't think has been released, BUT I had kind of similar issues using the 050 version of the code whereby if the SDR started up in the 20M band and I moved to the 40m band and then back to the 20m band I would get the same jittery performance, switching the SDR off and back on again it would start up just fine on the 20m band. Similarly if it booted in 40 or 80 meters and I moved up to anything higher than 10MHz I would get the same jittery performance until the SDR was powered off and on again. REALLY weird behavior.
?
Now out of interest I loaded the hex file Jack posted a few weeks back for 064 and the SDR works perfectly with this image, no jittery performance at all, so this is definitely an issue with my build environment or something I am doing wrong in the config, can't think what though and moreover the build environment should be a blank slate. I just have the Main and RF boards at present.
?
Kind of stumped and looking for ideas, can anyone spot an anomalies in the above libs perhaps ?
?
Jack could you share your config.hf file in case I am missing something obvious ?
?
Thanks and Best regards, Peter EI3JCB
?
-- Jack, W8TEE |
T41 SDT Code Issues
?
Folks,
?
Looking for some ideas for an issues I am having compiling SDT code, to be clear it compiles and loads just fine but when running I get very jittery performance and a sort of "bip bip bip bip bip bip" from the audio, the movement of the waterfall display is in sync with the bip bip effect.
?
In an effort to troubleshoot this I configured a new Arduino IDE 2.3.4, remove all of the old arduino library folders out of c:\users\.. so that I would have a clean slate, then installed Teensy 1.59, then all of the various required libs as per below...
?
Using library Adafruit MCP23017 Arduino Library at version 2.3.2 in folder: N:\arduino\libraries\Adafruit_MCP23017_Arduino_Library?
Using library Adafruit BusIO at version 1.17.0 in folder: N:\arduino\libraries\Adafruit_BusIO? Using library Wire at version 1.0 in folder: C:\Users\peter\AppData\Local\Arduino15\packages\teensy\hardware\avr\1.59.0\libraries\Wire? Using library SPI at version 1.0 in folder: C:\Users\peter\AppData\Local\Arduino15\packages\teensy\hardware\avr\1.59.0\libraries\SPI? Using library Chrono at version 1.2.0 in folder: N:\arduino\libraries\Chrono? Using library Regressino at version 1.5 in folder: N:\arduino\libraries\Regressino? Using library Regression at version 1.0.1 in folder: N:\arduino\libraries\Regression? Using library Adafruit GFX Library at version 1.11.11 in folder: N:\arduino\libraries\Adafruit_GFX_Library? Using library OpenAudio_ArduinoLibrary-master in folder: N:\arduino\libraries\OpenAudio_ArduinoLibrary-master (legacy) Using library Audio at version 1.3 in folder: C:\Users\peter\AppData\Local\Arduino15\packages\teensy\hardware\avr\1.59.0\libraries\Audio? Using library SD at version 2.0.0 in folder: C:\Users\peter\AppData\Local\Arduino15\packages\teensy\hardware\avr\1.59.0\libraries\SD? Using library SdFat at version 2.1.2 in folder: C:\Users\peter\AppData\Local\Arduino15\packages\teensy\hardware\avr\1.59.0\libraries\SdFat? Using library SerialFlash at version 0.5 in folder: C:\Users\peter\AppData\Local\Arduino15\packages\teensy\hardware\avr\1.59.0\libraries\SerialFlash? Using library Time at version 1.6.1 in folder: C:\Users\peter\AppData\Local\Arduino15\packages\teensy\hardware\avr\1.59.0\libraries\Time? Using library Metro in folder: C:\Users\peter\AppData\Local\Arduino15\packages\teensy\hardware\avr\1.59.0\libraries\Metro (legacy) Using library Bounce in folder: C:\Users\peter\AppData\Local\Arduino15\packages\teensy\hardware\avr\1.59.0\libraries\Bounce (legacy) Using library Timer at version 1.2.1 in folder: N:\arduino\libraries\Timer? Using library RA8875 at version 0.7.11 in folder: C:\Users\peter\AppData\Local\Arduino15\packages\teensy\hardware\avr\1.59.0\libraries\RA8875? Using library EEPROM at version 2.0 in folder: C:\Users\peter\AppData\Local\Arduino15\packages\teensy\hardware\avr\1.59.0\libraries\EEPROM? Using library ArduinoJson at version 7.3.0 in folder: N:\arduino\libraries\ArduinoJson? ?
The settings are 600MHz, Faster with LTO and Dual Serial, it all compiles fine and uploads but I still have the issue as per above, now to be clear this is the 064 build of the code which I don't think has been released, BUT I had kind of similar issues using the 050 version of the code whereby if the SDR started up in the 20M band and I moved to the 40m band and then back to the 20m band I would get the same jittery performance, switching the SDR off and back on again it would start up just fine on the 20m band. Similarly if it booted in 40 or 80 meters and I moved up to anything higher than 10MHz I would get the same jittery performance until the SDR was powered off and on again. REALLY weird behavior.
?
Now out of interest I loaded the hex file Jack posted a few weeks back for 064 and the SDR works perfectly with this image, no jittery performance at all, so this is definitely an issue with my build environment or something I am doing wrong in the config, can't think what though and moreover the build environment should be a blank slate. I just have the Main and RF boards at present.
?
Kind of stumped and looking for ideas, can anyone spot an anomalies in the above libs perhaps ?
?
Jack could you share your config.hf file in case I am missing something obvious ?
?
Thanks and Best regards, Peter EI3JCB
? |
Re: RF Board update.
¿ªÔÆÌåÓýYep sorry.. .that¡¯s it.?? It IS on the new schematic.? I think what happened is I tried to put it on the schematic (gave it one designator) and then I asked Oliver to do it and we got different part designators between us.? I¡¯ll get that cleaned up tonight. ? ? Dr. William J. Schmidt - K9HZ J68HZ 8P6HK ZF2HZ PJ4/K9HZ VP5/K9HZ PJ2/K9HZ VP2EHZ ? Owner - Operator Big Signal Ranch ¨C K9ZC Staunton, Illinois ? Owner ¨C Operator Villa Grand Piton ¨C J68HZ Soufriere, St. Lucia W.I. Rent it: ? Moderator: North American QRO Group at Groups.IO. Moderator: Amateur Radio Builders Group at Groups.IO. ? email:? bill@... ? ? From: [email protected] <[email protected]> On Behalf Of Phil Taylor via groups.io
Sent: Thursday, February 20, 2025 5:51 PM To: [email protected] Subject: Re: [SoftwareControlledHamRadio] RF Board update. ? Hi Bill ? Did you mean C85 rather than C74? ? ? ? Regards ? On Thu, Feb 20, 2025 at 02:48 PM, K9HZ wrote:
? -- Regards |
Re: CAT
On 2025-02-20 15:54, K9HZ wrote:
SO send him an email and find out what he did to get it running......Did that. - Jerry Dr. William J. Schmidt - K9HZ J68HZ 8P6HK ZF2HZ PJ4/K9HZ VP5/K9HZ PJ2/K9HZ |
Re: CAT
SO send him an email and find out what he did to get it running...
toggle quoted message
Show quoted text
Dr. William J. Schmidt - K9HZ J68HZ 8P6HK ZF2HZ PJ4/K9HZ VP5/K9HZ PJ2/K9HZ VP2EHZ Owner - Operator Big Signal Ranch ¨C K9ZC Staunton, Illinois Owner ¨C Operator Villa Grand Piton ¨C J68HZ Soufriere, St. Lucia W.I. Rent it: www.VillaGrandPiton.com Moderator: North American QRO Group at Groups.IO. Moderator: Amateur Radio Builders Group at Groups.IO. email:? bill@... -----Original Message-----
From: [email protected] <[email protected]> On Behalf Of jerry-KF6VB Sent: Thursday, February 20, 2025 5:30 PM To: [email protected] Cc: Joerg DB2OO via groups.io <db2oo.ju@...> Subject: Re: [SoftwareControlledHamRadio] CAT On 2025-02-20 14:51, Joerg DB2OO via groups.io wrote: Hello Jerry,*** Oooh, that's exactly what I needed! A predefined usb_desc.h section with the exact functions - two serials and one audio. I copied that into my code, and am now compiling. Rats. It behaves the same as mine. "Composite device did not start", no USB audio, no USB serial. - Jerry, KF6VB |
Re: RF Board update.
Hi Bill
?
Did you mean C85 rather than C74?
?
?
?
Regards
Phil VK2KKZ ?
On Thu, Feb 20, 2025 at 02:48 PM, K9HZ wrote:
?
--
Regards
Phil VK2KKZ |
Re: CAT
On 2025-02-20 14:51, Joerg DB2OO via groups.io wrote:
Hello Jerry,*** Oooh, that's exactly what I needed! A predefined usb_desc.h section with the exact functions - two serials and one audio. I copied that into my code, and am now compiling. Rats. It behaves the same as mine. "Composite device did not start", no USB audio, no USB serial. - Jerry, KF6VB |
Re: CAT
Hello Jerry,
?
You might want to have a look at the "Teensy SDR Project" by K7MDL:
?
That is a complete SDR fitting into a 160x100mm Hammond box including a 5" touch screen. The SDR software is running on a Teensy 4.1 leveraging the USB-Interface for USB Audio (input and output) and 2 virtual serial interfaces over the same physical USB connector. One virtual serial interface is used for CAT control and the other for debugging purposes.?
You can find the full source code with explanations how to configure the Arduino environment on github: https://github.com/K7MDL2/KEITHSDR ,
https://github.com/K7MDL2/KEITHSDR/wiki
?
I think it would even be possible to modify the code, so that it could control the T41 hardware. The display is essentially the same (just different size, but same resolution using an RA8875) and it is leveraging the Teensy Audio board for RX and TX.
--
73, Joerg - DB2OO |
Re: CAT
¿ªÔÆÌåÓýOk¡ same as the 2036 with an extra port (for inside the radio).?? Hmmm I have to look into this stuff to see what I can do with it. ? ? Dr. William J. Schmidt - K9HZ J68HZ 8P6HK ZF2HZ PJ4/K9HZ VP5/K9HZ PJ2/K9HZ VP2EHZ ? Owner - Operator Big Signal Ranch ¨C K9ZC Staunton, Illinois ? Owner ¨C Operator Villa Grand Piton ¨C J68HZ Soufriere, St. Lucia W.I. Rent it: ? Moderator: North American QRO Group at Groups.IO. Moderator: Amateur Radio Builders Group at Groups.IO. ? email:? bill@... ? ? From: [email protected] <[email protected]> On Behalf Of Doug W via groups.io
Sent: Thursday, February 20, 2025 10:45 AM To: [email protected] Subject: Re: [SoftwareControlledHamRadio] CAT ? On Thu, Feb 20, 2025 at 10:17 AM, K9HZ wrote:
To add to this, My IC-7300 has a TUSB2046BIVFRG4 |
Re: RF Board update.
¿ªÔÆÌåÓýYes¡ Its shown on the BOM that is out there currently¡ ? ? Dr. William J. Schmidt - K9HZ J68HZ 8P6HK ZF2HZ PJ4/K9HZ VP5/K9HZ PJ2/K9HZ VP2EHZ ? Owner - Operator Big Signal Ranch ¨C K9ZC Staunton, Illinois ? Owner ¨C Operator Villa Grand Piton ¨C J68HZ Soufriere, St. Lucia W.I. Rent it: ? Moderator: North American QRO Group at Groups.IO. Moderator: Amateur Radio Builders Group at Groups.IO. ? email:? bill@... ? ? From: [email protected] <[email protected]> On Behalf Of jjpurdum via groups.io
Sent: Thursday, February 20, 2025 10:17 AM To: [email protected] Subject: Re: [SoftwareControlledHamRadio] RF Board update. ? My bad, I loaded the wrong schematic. If I want to add C74, is it a 0.1?F bypass cap like C85? ? Thanks! ? Jack, W8TEE ? On Thursday, February 20, 2025 at 11:07:07 AM EST, K9HZ <bill@...> wrote: ? ? It¡¯s out there¡ Here it is: ? ? ? Dr. William J. Schmidt - K9HZ J68HZ 8P6HK ZF2HZ PJ4/K9HZ VP5/K9HZ PJ2/K9HZ VP2EHZ ? Owner - Operator Big Signal Ranch ¨C K9ZC Staunton, Illinois ? Owner ¨C Operator Villa Grand Piton ¨C J68HZ Soufriere, St. Lucia W.I. Rent it: ? Moderator: North American QRO Group at Groups.IO. Moderator: Amateur Radio Builders Group at Groups.IO. ? email:? bill@... ? ? From: [email protected] <[email protected]> On Behalf Of jjpurdum via groups.io ? Mornin' Bill: ? I'd like to order one of the new RF boards. Is there a new schematic for the board? I didn't see it on your web site. ? Jack, W8TEE ? On Wednesday, February 19, 2025 at 10:48:23 PM EST, K9HZ <bill@...> wrote: ? ? BTW¡ the new stack of RF Boards here¡ have the following updates: ?
? This is not intended as a replacement for existing V12.6 RF boards¡ but rather convenience upgrades if you need a new RF board. ? I think the RF board is incredible.? It rivals many of the commercial radios I have in my radio room.? Lots of people here and all over the world helped with prototyping, building, suggestions and insight, and testing to make this so. ? ? ? Dr. William J. Schmidt - K9HZ J68HZ 8P6HK ZF2HZ PJ4/K9HZ VP5/K9HZ PJ2/K9HZ VP2EHZ ? Owner - Operator Big Signal Ranch ¨C K9ZC Staunton, Illinois ? Owner ¨C Operator Villa Grand Piton ¨C J68HZ Soufriere, St. Lucia W.I. Rent it: ? Moderator: North American QRO Group at Groups.IO. Moderator: Amateur Radio Builders Group at Groups.IO. ? email:? bill@... ? ?
|