¿ªÔÆÌåÓý

how to change arduino/si5351 output


 

hello guys!

i think i am having a problem on my si5351?

i am suspecting that it may have low output, not enough drive
it has only 40mVpp on LSB and zero on USB?
checking with a DMM, clk2 (pin6) ?has low resistance to ground
while clk1 and clk0 has high resistance to ground

I have zero programming skills,
how do I edit the sketch so that the output moves from clk2 to clk1?

btw, I am using Allard's V1.20.1

thanks and 73!
jonathan/DV2NAH


 

¿ªÔÆÌåÓý

I don't have the code in front of me, but look for a function near the top named something like "set_freq" Note that one of the parameters to that function is the channel number.

Then search the rest of the program for where that function is called. Note that the channel number parameter is always 2. Change that to which ever channel you intend to use instead: 1, or 0.?

Then recompile and upload. Let me know how it works for you!

-Mark

On Sep 3, 2017, at 10:46 PM, jrea79 via Groups.Io <jrea79@...> wrote:

hello guys!

i think i am having a problem on my si5351?

i am suspecting that it may have low output, not enough drive
it has only 40mVpp on LSB and zero on USB?
checking with a DMM, clk2 (pin6) ?has low resistance to ground
while clk1 and clk0 has high resistance to ground

I have zero programming skills,
how do I edit the sketch so that the output moves from clk2 to clk1?

btw, I am using Allard's V1.20.1

thanks and 73!
jonathan/DV2NAH


Dale Brooks KG7SSB
 

When I checked my output from the si5351 I was seeing about 3 volts PP but this is without it hooked up to the BITX board. I suggest measuring it with it disconnected. The BITX will load this line down and you will only see about 40mv which may be normal. I was having birdies developing at 7.2mhz and I designed a tuned circuit at 4.8mhz using a toroid coil and 3 caps that brought the signal up to 5 v pp. It greatly improved the output sine wave shape and solved the interference problem. I think it has also improved the audio quality on receive and maybe the audio transmit. You may not need to change the output format on the raduino. Good luck, 73's Dale

On Mon, Sep 4, 2017 at 8:16 AM, Smitty, KR6ZY <mark-groupsio@...> wrote:
I don't have the code in front of me, but look for a function near the top named something like "set_freq" Note that one of the parameters to that function is the channel number.

Then search the rest of the program for where that function is called. Note that the channel number parameter is always 2. Change that to which ever channel you intend to use instead: 1, or 0.?

Then recompile and upload. Let me know how it works for you!

-Mark

On Sep 3, 2017, at 10:46 PM, jrea79 via Groups.Io <jrea79@...> wrote:

hello guys!

i think i am having a problem on my si5351?

i am suspecting that it may have low output, not enough drive
it has only 40mVpp on LSB and zero on USB?
checking with a DMM, clk2 (pin6) ?has low resistance to ground
while clk1 and clk0 has high resistance to ground

I have zero programming skills,
how do I edit the sketch so that the output moves from clk2 to clk1?

btw, I am using Allard's V1.20.1

thanks and 73!
jonathan/DV2NAH



 

hi dale!

the si5351 remains at 40mVpp even when not connected on the ?bitx40

smitty,

can you please be more specific? but i'll try

thanks and 73!

jonathan/DV2NAH




 

¿ªÔÆÌåÓý

Apparently, I can't git today.? I tried to make another pull-request for Allard with just this one change, but every time I tried, it kept getting mixed up with the existing pull request to swap PTT_Sense and Spot, which he's already said he's not interested in.? I'm still trying to figure that out.

Anyway.? For those who are comfortable with diff and patch, you'll find my suggestion attached. I'm just adding somewhere near the top:

----- snip! -----
#define CLOCK_VFO (2)
----- snip! -----

Then using CLOCK_VFO everywhere si5351bx_setfreq() is called, which appear to be around lines: 538, 543, 582, 584, and 1866.? I've made some changes to my code, so your line numbers will be plus or minus some from those.? But, look for something like this:

----- snip! -----
si5351bx_setfreq(2, [other stuff]
----- snip! -----

and change the "2" to "CLOCK_VFO" like:

----- snip! -----
si5351bx_setfreq(CLOCK_VFO, [same stuff]
----- snip! -----

That just makes which clock to use a "variable" (not really, but we're splitting hairs in this context.)? If you need to change the output to CLK1 for example, then change the #define to:

----- snip! -----
#define CLOCK_VFO (1)
----- snip! -----

Then recompile and upload.? Your Raduino will be outputting on CLK1 now.

-Mark

On 09/04/2017 02:41 PM, jrea79 via Groups.Io wrote:

hi dale!

the si5351 remains at 40mVpp even when not connected on the ?bitx40

smitty,

can you please be more specific? but i'll try

thanks and 73!

jonathan/DV2NAH





Dale Brooks KG7SSB
 

Hi Jonathan, I am using a reconstructed version of the Raduino board that came with the kit that is being made by?Michael Hagen Wa6ISP. Maybe he has added amplification to his design
so I stand corrected. His board does put out 3 volts PP and I'm not sure?
how much the original unit put out. I have the parts to fix my original board?
so when I get back home I will see if I can fire it up and check the volts out.?
I would say if you are getting 40 mv output it is too low to function correctly.
As a general rule it takes about 2 volts and more to work into this mixer
configuration. Thanks for letting me know. Dale


On Mon, Sep 4, 2017 at 4:13 PM, Smitty, KR6ZY <mark-groupsio@...> wrote:
Apparently, I can't git today.? I tried to make another pull-request for Allard with just this one change, but every time I tried, it kept getting mixed up with the existing pull request to swap PTT_Sense and Spot, which he's already said he's not interested in.? I'm still trying to figure that out.

Anyway.? For those who are comfortable with diff and patch, you'll find my suggestion attached. I'm just adding somewhere near the top:

----- snip! -----
#define CLOCK_VFO (2)
----- snip! -----

Then using CLOCK_VFO everywhere si5351bx_setfreq() is called, which appear to be around lines: 538, 543, 582, 584, and 1866.? I've made some changes to my code, so your line numbers will be plus or minus some from those.? But, look for something like this:

----- snip! -----
si5351bx_setfreq(2, [other stuff]
----- snip! -----

and change the "2" to "CLOCK_VFO" like:

----- snip! -----
si5351bx_setfreq(CLOCK_VFO, [same stuff]
----- snip! -----

That just makes which clock to use a "variable" (not really, but we're splitting hairs in this context.)? If you need to change the output to CLK1 for example, then change the #define to:

----- snip! -----
#define CLOCK_VFO (1)
----- snip! -----

Then recompile and upload.? Your Raduino will be outputting on CLK1 now.

-Mark

On 09/04/2017 02:41 PM, jrea79 via Groups.Io wrote:
hi dale!

the si5351 remains at 40mVpp even when not connected on the ?bitx40

smitty,

can you please be more specific? but i'll try

thanks and 73!

jonathan/DV2NAH