¿ªÔÆÌåÓý

ctrl + shift + ? for shortcuts
© 2025 Groups.io

Re: Codec & ADC's

 

It would be interesting to do a battery experiment, but it is tricky to do.?? The voltage, per spec, should be 4.5 to 5.5 V.? Three AA's, when new, should do that, but barely.?? A question comes up as to the source resistance, as we are assuming that to be low when we assume it is the "reference test case."? I'll try to run the 1808 off a new batteries (maybe D cells) and see what happens.
?
The battery has advantages at low frequencies, around power line frequencies.? But, I think our interest for radios is mainly up 10 kHz or higher.? There, a good capacitor like the 100 uF ceramic would seem to be a really low impedance source.? At 10 kHz, the cap looks like around Z = 0.002 - j0.16 which the battery can't do.??? On the other hand, for applications that include 10 to 100 Hz, the battery may be the standard.?? But remember, at those frequencies are are multiple 1/f effects that raise the noise floor, making outside noise less of an? issue.? You can see those in the Codec page graphs.
?
Bob


Re: Codec & ADC's

 

The short answer is that the 8-bits, or at least part of them are useful.? I'm attaching a plot of the output of the PCM1808 while receiving "no signal" to help explain what is happening.
The magenta trace is the direct 24-bit output of the ADC coming through AudioInputI2S_F32 path.? The blue trace is derived as the nearest I16 value to the 24-bit value.? Examine a couple of vertical pairs and it becomes obvious.
?
OK, two things happen.? The conversion increases the noise by a dB or so, as computed from the variances of the two data sets.? Probably more important is that the 16-bit noise no longer has a continuum of values, but in this case they are quantized to either -6, -7 or -8.? If that quantized signal is amplified up and applied to the human ear, it does not sound right and to some ears is offensive.? The classic solution is to add dither noise, which improves the sound, but also reduces the S/N and uses up dynamic range.?? All of this is avoided by the using the 24-bit data generated by the PCM1808, and the benefits are real.
?
On the question about the Teensy adapter with the SGTL5000.? If you look back at Figures 1 and 2 of the Codec page, you see that the SGTL5000 spectrum, when not in an idle tone, is about 6 dB noisier than the PCM1808.? When you are including idle tones, the spectrum is way higher.? So, running the SGTL5000 with 24 data is probably going to be of minimal value.?
?
Fun stuff.


Re: Morse Code Tutor pcb...

 

Thanks Jack, Doug and Terrance!

Assuming I decide to pursue having a PCB made, what are the current challenges (if any) using the available board manufacturers? Are they still mostly in Asia, and how have the tariffs affected getting small quantities made?

On Monday, May 12, 2025 at 12:17:30 PM PDT, Terrance Robertson, KN6ZDE via groups.io <tmrob4@...> wrote:


Bruce has a groups.io for the Morse Code Tutor.? It has a link to his that seems to have all of the needed files.


Re: New SI5340-based RF Board in development

 

Just had a look at what the Si5340 is. It will have a place in high performance radios, but it's not going to replace the Si5351 in all applications. It's a much more expensive part; the cheapest version is over $16 in quantity one (the Si5351 is a bit over $2) and doesn't do fractional dividers so its frequency flexibility will be more limited. The least expensive one that does is over $21. It's in a 44-QFN?package that isn't as friendly to hand soldering as the Si5351 is (10-MSOP isn't ideal for hand soldering but 44-QFN is worse), and takes up more board real estate so it may not be well suited to small portable designs. Finally, it appears to be a much more power hungry device; the typical power consumption is listed on the datasheet as 680 mW. It requires both 1.8V and 3.3V power rails.

The Si5341 is basically the same device, but with 10 outputs. But not ten fully independent outputs, as there are only five MultiSynth blocks. The Si5340 has four, so each output can be programmed completely independently.

Doing an RF board with the Si5340 is very much in the spirit of the T41 project. We'll get to see how much the higher performance synthesizer makes in real world operation. Well done, AE0AM.

On Mon, May 12, 2025 at 2:44?PM jjpurdum via <jjpurdum=[email protected]> wrote:
Very interesting, John. Do you plan to release the Gerbers for the board and the supporting software? Please keep us posted on your progress going forward.

Jack, W8TEE

On Monday, May 12, 2025 at 02:12:04 PM EDT, John Bennett via <jkb=[email protected]> wrote:


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

--
Jack, W8TEE


Re: New SI5340-based RF Board in development

 

If the Si5340 has a mode with 180 degree outputs, then a very trivial change to the flip-flop circuits will allow divide-by-2.
That gets you to 6M with ease.? Also note that John is using the LVC variant, which has a specified higher upper frequency.
The other thing is the changes to the code for low-frequency operation are not necessary.? The requirement for quadrature code management in the other bands also goes away.
?
--
73 Greg KF5N


Re: New SI5340-based RF Board in development

 

Hi John-
?
That looks really excellent!
?
I note that you have independent outputs from the 5340 to the QSD and QSE.? That means there is a good chance that automated transmit calibration will work!
The exact mechanism for the current V12 design TX auto-calibration failure is unknown.? It is possibly an isolation issue, in which case there would still be an issue,
because the QSD and QSE are still in close proximity.? BUT if it is a different mechanism, then perhaps it has a better chance to work.
Also, since you have indendent control of the LOs to QSD and QSE, you can try the 48kHz offset rather than direct conversion.? That may be a big improvement in itself.
?
So this will be an interesting test!? It's also good news for T41-2, which uses a PLL module rather than integrating the function into one of the primary radio boards.
I did that with the intent of upgrading to a higher performance LO in the future.? The Si5340 may be it! ?Modularization is a good thing! ?
?
--
73 Greg KF5N


Re: New SI5340-based RF Board in development

 

¿ªÔÆÌåÓý

You know, the other benefit of this approach is that you can use the fourth output for RX2 and that could easily be a second RX chain placed as a daughter card. ?

Has me thinking. ?


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@...

?


On May 12, 2025, at 1:37?PM, John Bennett via groups.io <jkb@...> wrote:

?
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
<AE0AM_RF_Bd.jpg>
<AE0AM_T41_RF_Prototype.pdf>


Re: New SI5340-based RF Board in development

 

¿ªÔÆÌåÓý

I like that part a lot and have used it for several things. ?The only downside side is that you must iss 7474¡¯s to generate the quadrature, and while it covers the MF and LF frequencies in a better way, the 7474¡¯s are not reliable above 30 Mhz (from my testing and basis their datasheet). ??


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@...

?


On May 12, 2025, at 1:37?PM, John Bennett via groups.io <jkb@...> wrote:

?
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
<AE0AM_RF_Bd.jpg>
<AE0AM_T41_RF_Prototype.pdf>


Re: Morse Code Tutor pcb...

 

Bruce has a groups.io for the Morse Code Tutor.? It has a link to his that seems to have all of the needed files.


Re: Morse Code Tutor pcb...

 

W8BH did put gerbers on his github as linked from ??
?
?


Re: Morse Code Tutor pcb...

 

Hi Vern:

Good for you!! It's never too late to learn CW. BTW, the G4FON software () is very good for learning, too. (The video is worth watching.) It uses the Koch method for learning (with a Farnsworth dealy) and I think it works! It teaches you to learn Morse by the rhythm of the letters, rather than counting dits and dahs.

There have evidently been several variations of the Tutor done, but the one by Bruce Hall, W8BH, seems to be the most complete, including the Gerbers and code. I have those, but not the permission to release them. Write to Bruce and see if he will release them.

Jack, W8TEE


On Monday, May 12, 2025 at 02:36:31 PM EDT, Vern VanZ via groups.io <n7gtb@...> wrote:


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

--
Jack, W8TEE


Re: New SI5340-based RF Board in development

 

Very interesting, John. Do you plan to release the Gerbers for the board and the supporting software? Please keep us posted on your progress going forward.

Jack, W8TEE

On Monday, May 12, 2025 at 02:12:04 PM EDT, John Bennett via groups.io <jkb@...> wrote:


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

--
Jack, W8TEE


Morse Code Tutor pcb...

 

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


New SI5340-based RF Board in development

 

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


[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?






Re: Codec & ADC's

 

¿ªÔÆÌåÓý

One thing you could do is power your ADC from a battery. ?That will be the reference test case. ?


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@...

?


On May 11, 2025, at 5:01?PM, Bob Larkin <bob@...> wrote:

?
On the question of Power Supply Filtering:
I have done further measurements on the effect of filtering the PCM1808 power.? This includes the benefits of series inductors.? There are no changes to the previous conclusions, but this should be of interest to SDR designers.? See the .


Re: Codec & ADC's

 

Were the extra 8-bits from the PCM1808 useful?? Paul showed they weren't from the Audio adapter.
?
My F32 quad objects are ported from the Audio library and work fine as I16 to F32.? They are limited though to the standard audio block size and the externally set clock similar to the Audio library quad objects, which is fine with me.? The next step for me is going for I32 to F32, but I'll put it on the back burner for now as I don't have an immediate need.


Re: TestMain.ico compile issues

 

The modified SI5351 library is needed to tune less than 3.2MHz.


Re: Codec & ADC's

 

On the question of Power Supply Filtering:
I have done further measurements on the effect of filtering the PCM1808 power.? This includes the benefits of series inductors.? There are no changes to the previous conclusions, but this should be of interest to SDR designers.? See the .


Re: Codec & ADC's

 

Yes, after catching some interesting bugs in Tympan, I was able to have the same 1808 data run with Open Audio 2-channel and Tympan quad.? OA was 24-bit and Tympan was 16-bit, as you thought.? If you want to pursue any of the Tympan code, I can share my bug list. ? Bob