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.

MSP430FR5969: Regaring RST pin in MSP430FR5969

Part Number: MSP430FR5969

Hi Team,

I have one doubt in RST pin in MSP430fr5969. I am sending LPM4.5 to active mode when giving interrupt to RST Pin by using RESET_VECTOR but it is not going to Active mode it is going to LPM3.5.and also it is not going to ISR . I am so confused can you please help me

  • Hello Santhosh,

    Thanks for the post. We will look into this and get back to you soon.

    Thanks,

    Yiding

  • Hi Santhosh,

    Can you strip down your code to the absolute bare minimum code that still demonstrates this issue and post it here?  Thanks.

  • Hello Santhosh,

    I haven’t heard from you for a couple of days now, so I’m assuming you were able to resolve your issue.
    If this isn’t the case, please click the "This did NOT resolve my issue" button and reply to this thread with more information.
    If this thread locks, please click the "Ask a related question" button and in the new thread describe the current status of your issue and any additional details you may have to assist us in helping to solve your issues.

  • Sorry for the late reply, 

    mpuctl0  = (uint16_t*)0x05A0+ 0x00;
    mpusegb1 = (uint16_t*)0x05A0+ 0x06;
    mpusegb2 = (uint16_t*)0x05A0+ 0x04;
    mpusam   = (uint16_t*)0x05A0+ 0x08;
    memory();
    void  memory()  {


                 if(*mpuctl0==0x9600 && *mpusegb1== 0x0000 && *mpusegb2==0x0000 &&*mpusam==0x7777) {
                     for (i = 0; i < 1; i++){
                         P1OUT &= ~BIT0 ;
                         P1DIR |= BIT0 ;
                         P1OUT ^= BIT0;
                         P1OUT &= ~BIT0 ;
                         P1DIR &= ~BIT0 ;

                      
                     }
                 }

              }
    In this it is not placing reset properly I don't why can please help me?
  • Hi Santhosh,

    Ling

  • Hi Ling,

    Thank you for your reply, Now from LPM4.5 to active mode is working properly and I got some idea from what you have said thank you so much ling, I have some doubt in reset in the code I try to access register in that 

    mpuctl0  = (uint16_t*)0x05A0+ 0x00;
    mpusegb1 = (uint16_t*)0x05A0+ 0x06;
    mpusegb2 = (uint16_t*)0x05A0+ 0x04;
    mpusam   = (uint16_t*)0x05A0+ 0x08;
    memory();
    void  memory()  {


                 if(*mpuctl0==0x9600 && *mpusegb1== 0x0000 && *mpusegb2==0x0000 &&*mpusam==0x7777) {
                     for (i = 0; i < 1; i++){
                         P1OUT &= ~BIT0 ;
                         P1DIR |= BIT0 ;
                         P1OUT ^= BIT0;
                         P1OUT &= ~BIT0 ;
                         P1DIR &= ~BIT0 ;

                      
                     }
                 }

              }
     
  • Hi Santhosh,

    It's not clear what you are attempting to do.  I think you are asking about your function "memory()" and why it doesn't put the MCU into reset?

    Can you provide more detail about what you are trying to do and maybe I can suggest a better method to do it.

  • Hi Dennis,

    Thank you for your reply, sorry for the late reply, what I am trying to do is I am just checking whether all the register reset condition is working properly.

    in that, I accessed mpu register in that the register reset condition is not taking wright reset condition which is given in the datasheet.

    mpuctl0  = (uint16_t*)0x05A0+ 0x00;
    mpusegb1 = (uint16_t*)0x05A0+ 0x06;
    mpusegb2 = (uint16_t*)0x05A0+ 0x04;
    mpusam   = (uint16_t*)0x05A0+ 0x08;

  • Hi Santhosh,

    The values for those registers shown in the datasheet and users guide are the default at POR, before any initialization by the complier has occurred, so yes they will be different.   You can look at the linker command file lnk_msp430fr5969.cmd at see the directives that help setup these registers.

  • Hello Santhosh,

    I haven’t heard from you for a couple of days now, so I’m assuming you were able to resolve your issue, finally.
    If this isn’t the case, please click the "This did NOT resolve my issue" button and reply to this thread with more information.
    If this thread locks, please click the "Ask a related question" button and in the new thread describe the current status of your issue and any additional details you may have to assist us in helping to solve your issues.

**Attention** This is a public forum