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.

CCS/CC430F6137: RTC Interface Problem

Part Number: CC430F6137
Other Parts Discussed in Thread: MSP430WARE

Tool/software: Code Composer Studio

Dear Sir/Madam,

      I'm working as cc430f6137 MCU interface Real Time Clock. I download and call my project for your source and header file from download following linq http://www.ti.com/lit/zip/slaa290

is assembly (.ASM) language. I want source code for C language. 

#include <msp430.h>
#include "RTC_Calendar.h"
#include "RTC.h"
#include "RTC_TA.h"

  • Hi Sivanathi,

    We have plenty of code examples in CCS! Open CCS and navigate to View > Resource Explorer. Once you're in Resource Explorer, go to Software > MSP430Ware > Devices > CC430FXX >  CC430F6137 > Peripheral Examples > Register Level 

    If you scroll down you will find "cc430x613x_RTC_01.c". This is an RTC code example in C. 

    Thanks!

    -Mitch

  • Dear Sir,  

                 I'm using CC430F6137 IC. I want RTC Calendar mode to use update date and time. already download your example header and source files from this linq (http://www.ti.com/lit/zip/slaa290) . I'm using ccs

    compiler, when i will call incrementSeconds(); function inside timer interrupt, I will check debug code when reach this line (incrementSeconds();) code s stopped. where is my mistake. how to read Current date and Time

    and send via UART. could you please solve my issue sir. 

  • Hi Sivanathi,

    I am not sure if I understand the issue. Are you asking how to read the current date and time? Or is the code stopping when you do not expect it to?

    I would recommend looking at the user's guide and code examples as resources. The user's guide can be found in the link below:

    http://www.ti.com/product/CC430F6137

    I will be gone on vacation until next Thursday, so if you continue to have issues I will respond toward the end of next week.

    Thanks,

    Mitch