-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Si5351 #1
Comments
Yes, that is absolutely correct. In the very first shipment of Si5351A that I received, I accidentally got some customer parts with a different address, and my initial library had that address. I must have forgotten to use an up to date file here. I'll change it in the repo right away. I plan to do a big overhaul of all of the derivative libraries from the Si5351Arduino library once I make some changes to it. |
Hi Jason, Just wanted to let you know that I ported your your Si5351 (AVR) library I am confused about something. I see you have several different 73 On 2/6/2016 20:46, Jason Milldrum wrote:
|
Ron, the most well developed version of the library is the Arduino version: https://github.com/etherkit/Si5351Arduino You may want to try to adapt that code for the RasPi. Theoretically, the only changes that would necessary would be to the I2C driver code, so if you already have that in place for this version of the library it shouldn't be too difficult to port to the Arduino version. This version of the Si5351 library was intended for microcontrollers with very limited flash memory space, something that's not an issue for the RasPi, so I would think your best bet would be to use the full-featured Arduino version for your RasPi port. Good luck! |
Hi, Well at the risk of boring you :-) . The reason for porting to the RPi I will take a look at the Arduino version in a few days, after I have Thanks very much for the Si5351 library. It sure saved me a boat load 73 On 2/6/2016 22:13, Jason Milldrum wrote:
|
I would like to thank you again for your Si5351 library. The code is now ported and working on a Cypress PSoC 5 development board. |
Very cool! I love hearing about people extending and porting my code. Thanks much for the report and best of luck in your future endeavors with the Si5351. |
Hi, If I may, I have one question. Really only one :-) . Why is the input 73 On 2/9/2016 14:22, Jason Milldrum wrote:
|
Hello Jason, |
Ron, The question about the uint64 is fair game. Obviously, that much space itself is not needed for the output frequency, but in the course of the math I was doing in the original version of the library, everything was converted to 64-bit math in order to get the required precision, so I just stuck with 64-bits for the input variable as well. In this version of the library, I imagine it could be changed to a uint32, but I haven't really studied all of the implications of that yet, so don't quote it as official word quite yet. Regarding the output above 117.2 MHz, that sounds suspiciously like a bug in my earliest versions of the library, so I'm almost certain it's not a hardware issue. You and your team may want to compare to the latest version of the Arduino library to see if you can find the bug, as I'm going to be out of commission for a few weeks. I'll be happy to merge a pull request if you find the cause. Thanks, |
Hi Jason, Thanks so much for getting back to me. Thanks for the uint64 info. No ON the 10M+ issue. The issue exists in both the Arduino and Attiny 73, On 5/20/2016 17:20, Jason Milldrum wrote:
|
Ron, I wasn't aware of the HobbyPCB transceiver, so thanks for letting me know about that. If it's being seen across both versions, then there's obviously a bigger issue at hand, and I'd like to fix it. I have been able to generate signals in the 2 meter band just fine with the current Arduino library, so I wonder if there's a math problem causing a problem in a certain range of frequencies. I definitely want to investigate this further, unfortunately right now is a bad time, as I'll be away from my lab for the next 10 days. Let me know what you find in the mean time, and I'll get to work on it when I return. If you haven't found anything by then, I'll gather more specifics from you. Also, I assume you are in touch with Jim Veatch, so if you have any specifics about the failure from him to pass along as well, that would be great. Thanks much for your bug report! |
Hi Jason, Thanks for opening the ticket. I am working on the issue as I type I will update the ticket as I progress thru the trouble shooting. Thanks again for taking interest in our problem(s)! 73, On 5/21/2016 12:31, Jason Milldrum wrote:
|
Hello Jason,
I have not preformed an comparison analysis yet. I need to come up to speed on what the various registers do. |
Hi Jason, |
I'm in the middle of doing quite a rewrite of the Arduino library frequency setting methods, and I intend to see if I can adapt the new scheme in that library to this one. Sorry it's taking a while, I've got lots of personal matters I've been attending to, with almost no time for anything else. Those are starting to come to an end, so I'll be able to work more on coding and radio again soon. |
Hello Jason, Thank you very much. Yes, life has a way of interfering with our 73, On 10/5/2016 13:34, Jason Milldrum wrote:
|
Hi,
I am attempting to port this code to a Raspberry Pi 2. I do not know the USI_TWI routings. The question I have is what is the slave address of the Si5351? Is it: define SI5351_BUS_BASE_ADDR 0xC0?
If so, I thought the address of the Si5351 is 0x60.
Regards,
Ron
The text was updated successfully, but these errors were encountered: