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/MSP430F6736: RTC and UART

Part Number: MSP430F6736


Tool/software: Code Composer Studio

hai,

sribabu from hanbitautomations,

i am use msp4306736 when the RTC enble,UART is send Grabage Vaules send serial.

how to reduced this prablem if any one.As soon possible.

  • Hi,

    I just answered you in your initial thread, please have a look.
    I'm closing this thread since we have already one to this topic.

    Lukas
  • Hi Sribabu,

    Note that we recommend to use MSP430F6736A for new design instead of the MSP430F6736.

    please respond to my following questions so that I can help you solve the problem:
    1) Did your UART communication work before implementing RTC?
    2) Do you use different interrupt service routines for UART and RTC?

    To 2) if not, please make sure to differentiate between the wake up sources, i.e. in case you go into LPM and your CPU wakes up check if the source is RTC or UART. It might be that the RTC wakes the CPU up and UART is not ready yet.

    When using Code Composer Studio, open the Resource Explorer and have a look at the code examples for this device. Browse to Resource Explorer-> Software->MSP430Ware->Devices->MSP430F5XX_6XX->MSP430F6736->Peripheral Examples-> Register Level and have a look at the different UART and RTC examples. This could be a good starting point for you.

    Best regards,
    Britta
  • hai Bitrra,
    1.Did your UART communication work before implementing RTC?
    ans:frist enble the UART after that RTC enable.
    2) Do you use different interrupt service routines for UART and RTC?
    ans:#pragma vector=RTC_VECTOR
    __interrupt void rtc_isr(void)
    UART
    #pragma vector = USCI_A2_VECTOR
    __interrupt void USCI_A2_ISR(void)
  • Hi Sribabu,

    can you try if your UART communication works fine in case that RTC is disabled or if the problem also exists without interference of RTC?

    Also, did you have a look at the code examples to verify the setup of your module? You could even first run the example code and then start adapting it step by step.

    Best regards,
    Britta

**Attention** This is a public forum