Quantcast
Channel: MCS Electronics Forum
Viewing all articles
Browse latest Browse all 20563

Share your working BASCOM-AVR code here : Enhanced Software for Si4735 Elektor DSP-Radio : REPLY

$
0
0
Hi Roger, [quote:5ceefce5c7]Well I think that the Si4735 is such an interesting IC and Burkhards Hard- and Software are so well designed, that it fascinated me from the very first moment it appeared in Elektor-magazine.[/quote:5ceefce5c7] Me too !! I took me a while to design a pcb and learn to understand the code/BASCOM, then add my additions. [quote:5ceefce5c7]Of course it would be great to have expanded hardware for easier handling. But I wanted to stick with Burkhards design and see what could be achieved with the existing hardware. I mainly use it for FM-reception. Thus the emphasis on the RDS-features. For LW/MW/SW I have a couple of other receivers. One of them (TECSUN PL-390) incidentally also uses one of the Si47xx chips Smile Your hardware is a bit "overkill" for me. It was enough work for me to get all of "my" new features implemented and working (some of them are even not fully tested due to lack of time). [/quote:5ceefce5c7] I understand your reasons for sticking with the original HW. I complement you on what you have achieved and posting it for me and others to use. I also use it mostly for FM reception. Sadly RDBS is not the same as RBS, so we miss out here in N/A. I only display RT and PI. [quote:5ceefce5c7]Yeah. I've seen it, but as I mentioned, the ATMega 328´s flash is "full" and I personally don't need the IR-functionality. I have used the new background-mode for decoding RC5 in another project and it works great and is a real progress compared to the "normal" GETRC5 function. [/quote:5ceefce5c7] Thanks for the feedback on background-mode RC5 decoding feature. This is one problem with going to xmega, not all the libs are ported, so if Mark Albert's or someone else does not do them, then I have to do it myself. Lots to learn. If I get xmega getrc5 -background going, I'll post it for others to use and maybe Mark can use it in the distribution. [quote:5ceefce5c7]Your hardware is a bit "overkill" for me. It was enough work for me to get all of "my" new features implemented and working (some of them are even not fully tested due to lack of time). [/quote:5ceefce5c7] Yes, I understand everyone has there own requirements. I made my own hardware as I wanted to make a complete stereo and not only a radio/tuner. [quote:5ceefce5c7]As long as only some register addresses are changed it should be easy to change the code. [/quote:5ceefce5c7] For -D50, it is a few registers re-mapped/added and the stereo blend control is now based on both RSSI and SNR metrics. They also have added a FM BW filter control, some other stuff as well. [quote:5ceefce5c7]Perhaps I will at one time adapt a larger ATMega in TQFP-package with an adaptor/breakout-board. So thanks for your suggestion to help but my (life-) time is limited[/quote:5ceefce5c7] Sure, I understand that this is the best way to enhance the HW that you have and that it is not a full time job for you :-) Surprisingly there is not that many changes to make, to port the code to xmega. [quote:5ceefce5c7]I am happy of having mastered BASCOM with the "normal" ATMega/ATTiny, but still have some respect for learning to cope with the new features of the XMega and the sometimes different BASCOM syntax. [/quote:5ceefce5c7] You have done an excellent job at mastering BASCOM. Better than I, so I have more to learn, from your code. In your code I see uses of instructions that I have never used before like "read" & "restore". [quote:5ceefce5c7]Si4735_lib.inc[/quote:5ceefce5c7] [quote:5ceefce5c7]Well. Up to now I never have considered to work myself into the "lib-creating" business. It's totally new to me and I would have a lot of questions. As I understand it, a lib would be useful to create kind of new BASCOM-instructions, so that others can simply use the Si47xx chips without having to deal with all the details of the hardware, internal registers etc. If that is so it depends on the amount of interest of other users, it it is worthwile to invest the time for me. Or does a dedicated lib have still other advantages (speed, space-saving), that are essential in this application? a lib would be useful to create kind of new BASCOM-instructions[/quote:5ceefce5c7] It is just a collection of Si4735 routines in a file to be included with the main program, so that you can keep your code more organized. It is not meant to be a core compiler library like "*.lbx", it is device specific instructions only. I have translated your documents into English, so that I could better understand your enhancements, see attached. A couple of lines did not translate properly, so my edits are in "red" It is great work that you have authored, cheers and many thanks to you. Best Regards Rick Savas

Viewing all articles
Browse latest Browse all 20563

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>