EMRFD Message Archive 10696

Message Date From Subject
10696 2015-01-09 22:23:09 Ashhar Farhan si5351
There has been some interest in the si5351. Now, our man Hans, G0UPL has put out a compact kit to play with this chip. http://www.hanssummers.com/synth

- f
10697 2015-01-10 04:49:41 g6ybc Re: si5351
Also see Paul m0xpd Blog with regards to what he is upto with this great little chip.

http://m0xpd.blogspot.co.uk/

Dennis
10698 2015-01-10 12:30:54 DuWayne KV4QB Re: si5351
Also check NT7S.com Jason has a very nice Arduino library that I have used in a VFO and an antenna analyzer using the  si5351 breakout board from Adafruit.
DuWayne KV4QB
10699 2015-01-11 10:05:16 Bob Re: si5351
Gang-

How does this compare to the ubiquitous DDS 9850 modules?

Thanks,
Bob WA2I
10700 2015-01-11 10:08:45 Dana Myers Re: si5351
10701 2015-01-11 10:25:18 Dennis Anderson Re: si5351

Just read his latest posting Bob along with Jasons and I think you'll get the answer

Dennis
 



10703 2015-01-12 08:33:04 Thomas S. Knutsen Re: si5351
Jason NT7S started a crowdfounding for his SI5351 breakout boards:

They are avaible with quite a temprature stabile TCXO oscillator. 

If you are outside the US, I found the ordering a bit difficult, make sure to read the notes.

73 de Thomas LA3PNA.

2015-01-11 19:25 GMT+01:00 Dennis Anders
10704 2015-01-12 19:10:53 Will Re: si5351
Hi all,

I tried to compile the example in the NT7S but fails. I downloaded the
latest version of the library but it still has an error.

I'm afraid I cannot get on with C++ as it breaks some of the rules I
learnt 30 years ago.

This is failure point. It doesn't like the int

#
#
void Si5351::update_status(void)
{
si5351_update_sys_status(&dev_status);
si5351_update_int_status(&dev_int_status);
}
#
#

Specifically the update_int_status.

It's line 410 in si5351.cpp

Sorry I cannot manage to copy and paste the error text.

Cheers,
Will

10705 2015-01-12 19:36:10 Jim Strohm Re: si5351
Should that be

    si5351_update_int_status(&int_status);

or

    si5351_update_sys_status(&dev_sys_status);
    si5351_update_int_status(&dev_int_status);


?

73
Jim N6OTQ




10706 2015-01-13 02:26:32 Will Re: si5351
Hi Jim,


The lines between the ## are the original in the si5351.cpp.

I wasn't sure if you meant that it should be:

(&int_status)
rather than
(&dev_int_status)

so I tried altering the file in the library. Restarted the Arduino IDE.
It still doesn't like it but now complains about:

&int_status

is not declared in this scope.

So I'm no further ahead.

Thanks,
Will

10707 2015-01-13 02:34:05 Thomas S. Knutsen Re: si5351
Are you using the last version of the library? because this is not a problem I have had.
Alternatively, on github, you can download the library at a earlier commit time, if there have been a problem introduced over the last few days. 

73 de Thomas.

2015-01-13 11:26 GMT+01:00 Will zl1tao@gmx.com [emrfd] <emrfd@yahoogroups.com>:
 

Hi Jim,

The lines between the ## are the original in the si5351.cpp.

I wasn't sure if you meant that it should be:

(&int_status)
rather than
(&dev_int_status)

so I tried altering the file in the library. Restarted the Arduino IDE.
It still doesn't like it but now complains about:

&int_status

is not declared in this scope.

So I'm no further ahead.

Thanks,
Will

10708 2015-01-13 07:00:04 Thomas S. Knutsen Re: si5351
I did some thinking, could you be using the Si5351 C library and not the Arduino library ?
For the reccord, the last version is avaible here: https://github.com/etherkit/Si5351Arduino

If you look in the example file, it shows usage of the library.  I also attached it below.
This example file compiles here, and works as it should, using Arduino 1.5.8 (beta). There will be some issues using this library with the arduino software below 1.0.

73 de Thomas LA3PNA.


#include "si5351.h"
#include "Wire.h"

Si5351 si5351;

void setup()
{
  // Start serial and initialize the Si5351
  Serial.begin(57600);
  si5351.init(SI5351_CRYSTAL_LOAD_8PF);

  // Set CLK0 to output 14 MHz with a fixed PLL frequency
  si5351.set_pll(SI5351_PLL_FIXED, SI5351_PLLA);
  si5351.set_freq(14000000, SI5351_PLL_FIXED, SI5351_CLK0);

  // Set CLK1 to output 20 MHz
  si5351.set_freq(20000000, 0, SI5351_CLK1);
}

void loop()
{
  // Read the Status Register and print it every second
  si5351.update_status();
  Serial.print("SYS_INIT: ");
  Serial.print(si5351.dev_status.SYS_INIT);
  Serial.print("  LOL_A: ");
  Serial.print(si5351.dev_status.LOL_A);
  Serial.print("  LOL_B: ");
  Serial.print(si5351.dev_status.LOL_B);
  Serial.print("  LOS: ");
  Serial.print(si5351.dev_status.LOS);
  Serial.print("  REVID: ");
  Serial.println(si5351.dev_status.REVID);

  delay(1000);
}

2015-01-13 11:26 GMT+01:00 Will zl1tao@gmx.com [emrfd] <emrfd@yahoogroups.com>:
 

Hi Jim,

The lines between the ## are the original in the si5351.cpp.

I wasn't sure if you meant that it should be:

(&int_status)
rather than
(&dev_int_status)

so I tried altering the file in the library. Restarted the Arduino IDE.
It still doesn't like it but now complains about:

&int_status

is not declared in this scope.

So I'm no further ahead.

Thanks,
Will

10709 2015-01-13 23:08:06 Will Re: si5351
Hi Thomas,

I was using the latest from www.github/etherkit. I did download it to
replace version I had downloaded about month before and that fixed some
other errors. The example that didn't compile is the example that comes
with Si5351Arduino from that site.

I was using Arduino 1.01 IDE. but have updated it to 1.06 That has
FIXED the problem. I hadn't done any Arduino stuff for nearly 9 months
due to eye troubles and forgot to update the IDE. I thought it told me
when a new version was available.

Thanks for suggestions.
Cheers,
Will

10730 2015-01-17 23:22:07 ka0ncr Re: si5351
These chips look interesting, and at our local homebrewers meeting
a few weeks ago we were chatting about using them for things 
around the shack.   Driving mixers, clocking the circuits for an I/Q based
system, VFO's under software control ect.
 
I ordered several of the Si5351 boards for our group,  from Adafruit for just a little
 over $7.00 each.  They have a library posted on the web site for 
Ardruino.  I haven't got these yet as I only ordered last Wednesday but
they should be here Tuesday. The SMA connectors can be added for a couple
of bucks more..  They are not as cheap as the 9850's that could be had 
from China, but I think you will find a bit better Q.C. on these boards.

The 5351 chip itself is not putting out a sine wave, where the 9850 can.. but
if you are using it to drive a mixer, I would think that it would be better
to use the square wave...

If you are interested in what I found on Adafruit, heres a link..

Adafruit Si5351A Clock Generator Breakout Board - 8KHz to 160MHz ID: 2045 - $7.95 : Adafruit Industries, Unique & fun DIY electronics and kits