New SI5340-based RF Board in development
17
In the spirit of posting efforts currently underway, I have been working on a new RF board and associated driver software. In a nutshell, the new board uses the Skyworks SI5340 instead of the SI5351. This change addresses several issues. The SI5340 offers rock solid performance from 100 KHz to 250 MHz with LVCMOS outputs (employed by the prototype RF board), dramatically reduced phase noise and jitter, much improved clock symmetry (upon which the performance of Tayloe mixers depends), and much simpler application-level control software (no mucking about with the PLL, Multisynth, or phase at the application level). The new RF board replaces the 5351 with the 5340, and restores true split operation (the SI5340 has four outputs, three of which are used for RX, TX, and CWTx). The most challenging part of the software was the algorithm for setting output frequency, that is, given a desired frequency, find near-optimal numerator and denominator values for the various dividers used within the SI5340. My software employs a mediant-based algorithm attributed (incorrectly) to Farey, and efficiently produces results comparable to those produced by ClockBuilder Pro (the stand-alone program for configuring Skyworks parts). Current status: 1) Driver and driver example code complete and tested with main board and SI5340 EVB 2) T41 software (forked from V66.9) patched to ifdef choice of SI5340 or SI5351 RF Board compiling and in test 3) New RF board hardware under construction (PCBs back from China; parts on hand) For the curious, prototype schematic and board pic are attached. 73, John Bennett AE0AM
|
Morse Code Tutor pcb...
16
Greetings All, I don't see much mentioned lately regarding the MCT, but having recently purchased the 'Microcontroller Projects for Amateur Radio' book (via Amazon); I've decided I would like to build an MCT of my own. I've been a licensed ham since 1971 and would like to take one last(?) crack at CW. I've been searching the web for either a kit, or at the very least a PCB (as mentioned in the book) but so far haven't found anyone (in my hemisphere) currently offering one that goes with the text. I also understand that the gerbers, schematics, source code etc., have been made available in the files section and github. I just thought I'd ask before messing up square feet of perf board, whilst attempting to wire up the pieces-parts. I also considered trying to have a PCB made, but I've only ever done that once. The results were good enough, I simply don't need a handful of boards when one will suffice. :) Sorry for the ramble. Any advice...? Thanks. 73, Vern - N7GTB
|
[FlexRadioSmartSDR] Hamvention Software Defined Radio Forum, Room #3, Saturday, 5/17 @ 4:10 pm ET
FYI for those going. Dr. William J. Schmidt - K9HZ J68HZ 8P6HK ZF2HZ PJ4/K9HZ VP5/K9HZ PJ2/K9HZ Owner - Operator Big Signal Ranch ¨C K9ZC Staunton, Illinois Owner ¨C Operator Villa Grand Piton - J68HZ Soufriere, St. Lucia W.I. Rent it: www.VillaGrandPiton.com email: bill@... Begin forwarded message: From: "Mark Thompson via groups.io" <wb9qzb_groups@...> Date: May 12, 2025 at 2:27:02 AM CDT To: hpsdr@... Cc: FlexRadioSmartSDR <[email protected]> Subject: [FlexRadioSmartSDR] Hamvention Software Defined Radio Forum, Room #3, Saturday, 5/17 @ 4:10 pm ET Reply-To: [email protected] ? Hamvention Software Defined Radio Forum Forum Room #3 Saturday, May 17th 4:10 - 5:00 pm ET Moderator: Steve Hicks, N5AC
|
TestMain.ico compile issues
8
I'm trying to run the TestMain code in MainBoardTestCodeAndDoc. I got a compile error as it was looking for Adafruit_MCP23X17. I installed that and now get another error from line 30 #include "si5351.h", so I installed the Adafruit Si5351 Library (version 1.4.2), but when I went to compile again it gave the same error. I see there are several other si5351 libraries, i.e. Adafruit, Etherkit Si5351, and PU2REO Si5351 ArduinoLite. Not sure if I should install one of those instead, and if so should I uninstall the Adafruit one? Compilation error: si5351.h: No such file or directory
|
BuyDisplay (EastRising) Display ER-TFTM070-5V4 connections
8
I've been wrestling with the datasheet for this 7" display. I checked all the jumpers and it is configured as 4-wire serial. It seems like there is a typo in the datasheet, as they have two J2 connectors, one with 10 pins and the other with 40 pins (labeled Parallel/Serial Interface and CTP (capacitive touch panel) interface. I want to double check if my assumptions are correct in the following connections to the display: Use only the first 8 pins of the 40 pin connector Pin Number (J2 AKA J3 on the device) 1 and 2 VSSGroundGND 3 and 4 VDDPower SupplyVCC 5 /SCS Serial Mode Chip Select (/CS), Low activeC/S 6 SDO 4-wire SPI Data Output (MISO)MISO 7 SDI 4-wire SPI Data Input (MOSI)MOSI 8 SCLK SPI Clock (SCLK)SCLK I've attached the datasheet. Thanks for you help.
|
Initial Test of Main V12.6 board
15
I'm following the Main Board build instructions. The first tests went well, i.e. 3.3 and 5v tests. On the next test, i.e. loading the i2cscan.ino, the serial monitor reported No I2C devices found. However, in another popup window, it said Press Button on Teensy to manually enter Program Mode, with i2scan.ino.hex 1% used on the status line. With the audio hat on top of the Teensy 4.1, I cannot access the "button". Should I remove the Teensy from the Main board, remove the Audio Hat, and then program the Teensy by itself first? Best regards, John K1JO
|
Undefined reference to. . . When compiling
4
Hi everyone. Its been a LONG time since I've done any compiling, so I don't know how to go about understanding the meaning of : undefined reference to. . . Would someone be so kind to enlighten me? Thanks, Duane - K5CA
|
Boards and Kits to the UK/EU
I shipped the UK/EU T41 V12 /K9HZ /K9HZ+KI3P boards and kits order to Andy Rutter today for sales and distribution in that region. Thanks Andy! And I really appreciate everyone¡¯s patients with me in solving the shipping issues in crazy times. The tracking says the package should arrive in 4 days. Please take it easy on Andy over there as I know what it¡¯s like when boards and kits are announced for sale¡ The emails never stop! Dr. William J. Schmidt - K9HZ J62K(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@...
|
BPF and Teensy Problem
13
I put together the BPF board, only three bands, powered up and had no connection between the teensy and computer. Disconnected the board and had connection with computer. Replaced teensy, now on fifth one, put back together and had connection. Teensy can not find the BPF board. I checked and rechecked the solder connections still nothing. Where or what should be looking for? Tom AB9EK
|
Encoder board differences
7
Hi Bill, In the boards that I have received, I noticed that there are 2 different encoder boards. In my first order I received the skinnier board labeled 3428224AP11-230315. In a recent order I received only 2 of the wider board, labeled 3428224A_P56_250122. What is the new board for and why only 2? Sorry if this was already answered, but I couldn't find it mentioned in my search here. Best regards, John K1JO
|
t41 main board j22 connections
13
I have looked at all schematics and construction files, where is the j22 connector on main board connect to?
|
Latest DSP and SDR book color images
9
Were the new color images uploaded anywhere? I found the old book's images, but they aren't the same. John K1JO
|
Nasa talks on EMC, Grounding, Bonding g& Shielding
2
Some people may be interested https://nescacademy.nasa.gov/video/6575557f0e3a4a78a3e61b63f4ab7f361d Site seems to take an age to load.... The grouding one is interesting ref differitial interconnections and ground bounce. https://nescacademy.nasa.gov/video/6575557f0e3a4a78a3e61b63f4ab7f361d also EMC Fundamentals Part 10: Grounding, Bonding & Shielding https://nescacademy.nasa.gov/video/157dd3713d19419194643a13fd9de0dc1d I'm sure there are loads of others out there -- 73 Chris M0YGH
|
Restructuring the T41 code
20
I wanted to share a little information on how I'm going to go about restructuring the T41 code. The most difficult bugs to track down in the current code have been those caused by the radio being in an unknown state -- some line that controlled a switch on the RF board or a parameter in the DSP chain was inserted or omitted somewhere in the code. Because all variables are global, this could be literally anywhere in the nearly 30,000 lines of code. Finding the source of the bug without the ability to use a debugger is a challenge. It also possible to insert an entirely valid line of code that places the radio in an invalid or undesirable state -- for instance, imagine turning the CAL switch on when trying to transmit SSB. I'm going to solve this problem by using state machines. In the new code structure, the state of the radio hardware will be controlled entirely by a radio mode state machine. This state machine is the only place in the code where the hardware state is changed. Using a state machine to control the hardware ensures that all hardware is always in a known configuration state. I'm working my way through the hardware boards, defining the valid configuration states for that hardware. I will then write functions that put the boards into each valid configuration state. The only way the rest of the code can affect the radio hardware is by calling one of those functions, and the only part of the code that will call those functions is the radio mode state machine. Here's an example of some of the states for the RF board (does not include the calibration states). State machines can be written entirely in C code, but it¡¯s easier to understand how the state machine operates through a visual diagram. I've found an open-source solution, StateSmith, that allows you to draw the state machines in a graphical environment (I'm using draw.io) and then automatically generate the C code that implements the state machine. Here's the state machine I've created for the radio hardware. I'm working on a separate state machine to control the state of the graphical display. Here's how I imagine them all working together: The software runs in a loop as shown in the diagram above. It performs three major functions: Handle interrupt events: if an interrupt was registered by, for example, a button being pressed, then pass the appropriate event on to the state machines to change the hardware and UI states. Perform the appropriate signal processing, based on the current radio mode. Update the display, based on the current UI state. Then go back to step 1 and repeat. This loop should take at most 10ms to execute in order to avoid buffer overflows in the IQ buffers. I'm building this up from a blank canvas. I've spent most of my effort over the last few weeks learning how to use StateSmith and how to build an automated test environment using Google Test. I've now started to write code, starting with the signal processing, and writing unit tests for the code as I go. I've found the unit tests to be very helpful. If I decide to change a function's prototype or modify what the function does, I'll immediately know if that change breaks something somewhere else in the code. It should make the process of getting the code running on the Teensy much faster. I'm going to clean up the code as I move it over, piece by piece, to this new structure -- remove dead code, apply consistent style formatting, minimize the use of global variables, and write tests for every function so we know what it's supposed to do and when it stops doing this.
|
FT8
3
My T41 is working great. Thank you to all that have helped me. I need some more help to use the T41 V12 on FT8. Do I need an external sound card? Is there CAT implemented? dave, n3ds
|
T41-2 and K9HZ Power Amplifier Measurements
4
I've been working on a system to accurately evaluate HF linear power amplifiers. It took quite a while to figure out how to get the system working. Here's the first tangible results in the form of a spreadsheet: https://docs.google.com/spreadsheets/d/138sPdKcTFQpIvmHmLKDrkX9qBx5XPdpHhbpr-ZZSzzw/edit?usp=sharing There are 3 worksheets. The first "PA out cal" is nothing more than measurements between reference plane 1 (PA output), reference plane 2 (radio output), and the input of the power meter. Sheet #2 is the "Small Balun" version of the T41-2 Power Amplifier (final + driver). Sheet #3 is the K9HZ amplifier I built here a couple of years ago. PEP output powers are not as high as expected. Remember to halve the PEP numbers to get average power. Quite low! Note that the K9HZ PA drops to below 2 watts average power on the higher bands. The amplifier was tuned up according to the build instructions. The critical thing seems to be the bias current for the final transistors is probably too low at 250mA each. I've seen comments by others that the part used in the final amplifier (Mitsubishi RD16HFF1) needs quite a bit of quiescent bias current for decent linearity. Thus I've tuned the T41-2 Power Amplifier to a bias of 700mA each. You can see the total current drain in the last column of the measurements. I would be interested to compare my measurements to other's evaluations. Here is a video summary of the measurement system and procedure: The system: https://drive.google.com/file/d/1-3cjIAoKSbCHuvjIMmhjsgW8LgXUU7tV/view?usp=sharing The measurement procedure: https://drive.google.com/file/d/1W--Irsi-DzRKJorHyny76610ldFMG4Ph/view?usp=drive_link -- 73 Greg KF5N
|
More T41 V12 Results
12
Hi Everyone, I have begun evaluating the 20W RF power amp by K9HZ (Dr. Bill Schmidt) with T41 to address the increased T41 V12 frequency and CW capabilities. Some of what I have found is as follows: Frequency Response A Bode plot of the amp stand-alone is shown in the first figure below. The response at both 5W and 15W (RMS) is essentially flat from 1MHz to over 50MHz. This covers the 6M band that the original T41 amp could not reach. Power Output Note that Bill (K9Z) rates the amp at 20W PEP, but it is current limited to about 16W (RMS). I tested the amp with two equal amplitude 7MHz tones but1KHz apart in frequency. at 16W RMS. The PEP of that is well over 20W and a scope plot of the LP filtered PA output (through a 50-ohm attenuator), showing the clean out, is contained in the next figure. A rating of 20W PEP represents a real-world SSB condition, since we rarely transmit sine waves on SSB, but rather complex speech waveforms. I have used the amp quite a bit over the past week, and it performed flawlessly. No overheating at full power for extended periods on the 3.5"x1.5"x1.25" heatsink, with no fan. No thermal run-away. Also, because of the included current limiting, it is not possible to drive the output stage transistors to destruction. Since each final RD16H MOSFET is rated at 16W max dissipation, the amp is conservatively designed. For anyone concerned about less tha20W output, note that the difference between 16W and 20W is about 1dB, or 1/6 of an S unit on the receiver - not much at all. SSB Signal quality That is currently under test and will be reported in the near future (waiting on some hardware components). CW signal quality As contrasted with SSB signals, CW is always a single tone, which is limited to 16W RMS (for sine waves 16W RMS is equivalent to16W PEP). The first CW plot is a narrow band spectrum of a 7.2Mz CW tone from the T41 V12 into the K9HZ amp. The plot is centered on 7.2MHZ with a 20KHz span. Within that bandwidth the signal is almost 80dB above the noise, with no other spurious components. The next plot is a wide band spectrum from 3Mz to 30MH of the 16W 7.2MHz amp output, through the T41 LP filter. The second harmonic is at -51.5dB relative to the 7.2MHz fundamental, well below the -43dB limit. Efficiency The amp draws about 620mA with no signal and 2.46A at 16W, indicating a class AB mode with about 45% efficiency at full power. For reference, a typical 300WH portable 12V battery would provide well over 15 hours of SSB operation with the T41 and K9HZ amp. Bottom line Jack and I fully recommend the K9HZ 20W amp for use with T41, especially for those wishing to have an extended frequency response to 6M, with V12 T41 boards. For readers of the T41 book, please note that we plan to include this material and more regarding V12 performance in a revision of the book to be added in the near future. These additions are reflective of changes suggested by builders of the T41. Afterall, the T41 was designed to be an experimenter's platform and that is exactly what has happened, both in hardware and software innovations. Thanks to all who contributed. For those who already have the book, we will post the additional material to this site in the files section at the same time the book revisions are completed and uploaded. K9HZ 20W power amp Frequency response K9Hz amp output at 16 W with Two-Tone input Narrow-band spectrum T41 CW mode at 16W Wide- band spectrum CW output at 16W
|
Confirmation of T41-EP Open Source Licenses
9
#t41-ep
#licensing
Hi, all. I'm really excited about Al and Jack's T41-EP project, and have just received the Amazon book, which seems to be well written and sensibly formatted. One of the elements of this project, which most appealed to me, was the Open Source nature of the project. As a GNU/ Linux user since 1998, and a much more recent amateur radio enthusiast, I think this is a brilliant idea. Having had a look through the index in the book, and reading the Foreword, I was only able to find one area that mentioned the Open Source nature of the project. I searched through the groups.io messages, for mention of 'license' and 'licence', and the closest I could see what the thread that contains Peter's message, here: /g/SoftwareControlledHamRadio/message/15580 I'm not yet sure how many different code 'trees' exist, by which I mean, different code may exist for different components, rather than everything being munged into one. Would it be possible for each, to confirm which Open Source license is being used? Probably, the most often used license for software, is the GPL v3. The following two links give good background: A quick comparison: https://choosealicense.com/licenses/ A more detailed view: https://en.wikipedia.org/wiki/Comparison_of_free_and_open-source_software_licenses My concern is that if this position isn't clarified, people may fork your code and sell it is a product, or claim the glory that you deserve. If you choose an Open Source license, then this sets out what you are prepared to allow/ permit. GPL v3 for example, states that the software/ code can be re-used for any purpose, but must give attribution to the originators of the code, and if that code evolves, it must be published and the source code made available. This for example, stops a commercial entity from swiping your code, and making money from it, without 'giving back' and acknowledging the person that wrote the code. Looking forward to reading the book, before starting on the build. Many thanks, 73 Chris; chris_debian; 2E0FRU
|
Adding PTT to Main Board
4
I put a jumper on the V12 Main board to add PTT to the microphone jack. I'm finding it handy.
|