This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Best solution for low power RTC code using the MSP430FR6989

Other Parts Discussed in Thread: MSP430FR4133, MSP430FR6989, MSPWARE, MSP-EXP430FR6989

Hi all,

I'm starting to learn how to use TI uCs, I've done some testing with a MSP430FR4133 using its RTC in low power mode (LPM3.5) and I managed to achieve really low power consumption, really impressive.

Now I'd like to do the same with a MSP430FR6989 and TI-RTOS but I'm confused with the different options. I didn't find a RTC register but from TI-RTOS I have Clock, Timer, Power... What would be the best solution to have my date/time variables updated each second in low power mode?

Thanks in advance,

Pedro

  • Pedro,

    We don't have power examples for the MSP430 devices. As you have discovered, SYS/BIOS provides basic power control with the Power module. From there, the rest is up to you.

    You will have to port your existing MSP430FR4133 example to the MSP430FR6989 device. You could duplicate your existing code and then change the linker command file and start from there. Or you can import a SYS/BIOS example for the MSP430FR6989 and then add your own code to it.

    The two devices a similar with respect to power management, so I would think that you can use the same power code for both.

    Have you seen the following page regarding SYS/BIOS on MSP430. There is a short section on power management (Section 3).

    http://processors.wiki.ti.com/index.php/SYS/BIOS_for_the_MSP430

    ~Ramsey

  • Ramsey, thank you for the link (one more document to read :-)
    I'm not at ease with CCS projects yet so I'll start from a new TI-RTOS project for the FR6989 and I'll add the new code for the LPM3.5.
    I just found another example in MSPWare/Libraries/FRAM Utilities/Example Projects/CTPL/MSP-EXP430FR6989/ctpl_ex2_rtc_lpm35 so now I'm not sure if I'll end up using TI-RTOS or not.
    What do you think? Is it better to stick to TI-RTOS and add these extra functions by hand or just forget TI-RTOS and do it all by hand, if you want a low power solution?
  • Pedro,

    If your application is simple enough, then you don't really need an RTOS. But if you have a complex system, then using an RTOS like SYS/BIOS will be very helpful. For example, if you need to tasks using SYS/BIOS will be helpful. Also, SYS/BIOS provides drivers for peripherals. Some of these drivers can be used without SYS/BIOS, but not all.

    Adding SYS/BIOS will increase complexity, but if you have an complex application then learning SYS/BIOS will get you to the finish line faster compared to writing everything yourself.

    ~Ramsey