Jump to content


  • Content Count

  • Joined

  • Last visited

  • Days Won


Posts posted by xv4y

  1. Hi Mau,


    Usually, mixing 5V and 3,3V parts withtout level converter is not recommended.

    By example the 5V part may need to see 3,2V to consider it as HIGH, while the the 3,3V will put out a 3,1V signal at max.

    The 5V part outputs putting 5V into the MSP430 inputs may also fry the latter.


    It can work, I am successfully driving a 5V AD9850 with a 3,3V MSP430G2553, but you need to carefully check the "compatibility".






  2. Hi,


    This will ring a bell to radioamateurs (HAM radio) but other may just ignore...

    I have posted to my blog a code for a simple VFO (Variable Frequency Oscillator) or better said an RF frequency generator using an AD9850 DDS chip.

    This code is simple and has no special trick but might give you inspiration.




    The pins are "wired" for my WSPR agile beacon generator kit, but everything can be changed to your taste or needs.

    The text of the blog article is in french but has no additional information than the one in the source code (commented in english).

    The needed libraries are on my download page :





  3. Hi guys,


    I am a bit far from the forum now... busy working somehow.

    Robert, if you need a mirror I have free data space for you on my professional hosting accounts.

    My website are hosted by OVH, the number one host in Europe.

    I can give you a private FTP login+pwd so you can upload by yourself.

    The base URL will be like energia.radioclub.asia but it may be mirror.energia.nu if you can create a sub-domain and have it pointed to the OVH servers.




  4. Being on OS X this does not apply to me however I would not download and install "flashy" packages from someone who has only 1 post on the forum. This package is not open source anymore and you have no way to check it does not include any virus or bloatware.

    That's just my own opinion and I would be pleased to be demonstrated this package is safe and has a true value for its user...


    Curiouser and curiouser, the author claims to have published the source code but this leads to an empty page. Please moderators have a loot at it.



  5. Hi Graham,


    Sorry but I just came to read your message.

    I have been busy those last days working, and now it is New Year holidays and my two children are at home wanting me to spend some time with them.

    I will try to have a look at what you have done and then publish "our" library on my website.

    It could be in more than a week unfortunately but I will try to do it ASAP.


    I am currently writing a logger weather station.

    However I prefered to use an Arduino Nano with one DS1307 module because :

    - the ATMega328 as 1k EEPROM for saving measurements

    - it has 2ko RAM allowing me to use a cheap NC28J60 ethernet chipset for the web server

    - the DS1307 module is battery saved


    I use a MSP430G2452 for the remote sensor.


    You can have a look at the prototype (missing daily saving points for weekly and monthly trend statistics) here :



    Wishing you happy new year of the Snake.



    I'd just like to point out that Yan (xv4r) did all the hard work with the code, I just tracked down the cause of the timing bug in Energia 9, and tweaked it a little to make it more suited for a couple of uses that I have for it. I still consider it his library, not mine.


    Other than the attachment to the posts in this thread, I haven't set up webpage where it is available for download. Yan you are more than welcome to place it on your website, since it is 90% your work anyway. From experiments I've done with it, if dates are turned off, the resulting library compiles to be exactly the same size as your original library - which is proof that it is your work, not mine.


    Although I won't take much credit for the library, if people do find it useful I would love a PM with a brief rundown of your project.  At the moment I am using it in a clock connected to a 16x2 LCD, where it has run for a couple of weeks and is still within a second of my desktop computer.  I have two plans for projects that will implement this code. One is a logging weather station and the other is a "word clock" - the type that highlights different words to indicate the time.

  6. Hi folks,


    Well the first sRTC lib was quickly written for Energia 006 which did not have the P2_6 and P2_7 forced to GPIO and the ACLK set to VLO. Energia is still in early development stage, and my library was waiting for someone like Grahamf72 to improve it.

    Someone (sorry I forgot who) suggested some modifications to my library for "code cleanliness". I've done the mods and added a ++ operator. It is neat indeed, but uses slightly more Flash worst slightly more RAM. We have not that much RAM on the MSP430 so personally I prefer to use the Inc_chunk routine directly.


    Perhaps I need to upgrade my blog page code, but first I will have a look to Graham's work and see if it is better to directly link to his package if available somewhere for download.



  7. Hi,


    On Arduino you must use PROGRAMSPACE to store the large vector constant in Flash.

    MSP430 is more efficient about the constants handling.

    You can leave PGMSPACE and use constants instead, it should work.

    That said, although I built an audio spectrum scope on Arduino and offer it as a kit, I have not dug enough in the FFT lib to be sure you will port it to Energia easily.

    The sampling must be done differently too, because on the AVR you put the ADC in "free running" mode to reduce the sampling delay. Something similar may be available on MSP430 but the command to issue to the MCU will be different for sure.



  8. Amen Graham,<br />Even more, most MCU now are somewhat "optimized" for C and compilers do a very good job. Of course you can still get a little improvement with assembler if you are good at it, but at what cost. By the way, modern assemblers relies on a lot of macros and pre-processor directives that make them somewhere in the middle between low-level and hi-level.<br />I think one reason for discarding Energia in front of CCS is that Energia is not an "industry standard" as may be CCS. Professional developer could prefer CCS because it has a better "project management".<br />Two arguments to this :<br />- Energia is free and open-source so to no entry cost for a company,<br />- Energia relies on GCC that is an industry standard,<br />- You can use embedXcode and XCode if you'd like a better Project manager and Editor. XCode is an industry standard for those who want to develop on iPad and iPhones terminals...<br /><br />Yan.

  • Create New...