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.

MSP430FR2512: BSP Doesn't Seem to Explicitly Support MSP430FR2512

Part Number: MSP430FR2512
Other Parts Discussed in Thread: MSP430FR2522, MSP430FR2633, MSP430FR2533, MSP430FR2532, MSP430FR2632,

I was reading through the captivate headers and found this in CAPT_ComConfig.h

#ifdef __MSP430FR2522__ // MSP430FR2522
#define I2CSLAVE__REQ_POUT                                              (P2OUT)
#define I2CSLAVE__REQ_PDIR                                              (P2DIR)
#define I2CSLAVE__REQ_MASK                                               (BIT4)
#else // MSP430FR2633, MSP430FR2533, MSP430FR2632, MSP430FR2532
#define I2CSLAVE__REQ_POUT                                              (P1OUT)
#define I2CSLAVE__REQ_PDIR                                              (P1DIR)
#define I2CSLAVE__REQ_MASK                                               (BIT1)
#endif
I checked this against the defines created for the project and it would default to the second case. In this configuration, pin 2 for the MSP430FR2512IRHLR. That happens to be a captivate pin. It seems like maybe a better choice would be pin 11, which is 2.4 and not a captivate pin. 
Does the BSP explicitly support this MCU? It's clearly able to be selected in the designer. Also, am I reading the above correctly?
  • Hi John,

    I believe that is an oversight.  The MSP430FR2512 configuration needs to be added in the CAPT_ComConfig.h.

    Yes, it's unfortunate for this small pin count device that the default BSL pins happen to share a Captivate pin.

    My suggestion would be to modify the CAPT_ComConfig.h to meet your needs.

    According the MSP430FR2512 datasheet, BSL is supported using the following pins:

  • Hi Dennis,

    Thanks, I'm playing with some solutions to that now. Is pin 2.4 a reasonable pin for the I2C IRQ functionality? 

    Thanks! 

  • Hi John,

    P2.4 is fine.  Be sure to configure this as your interrupt pin in the CAPT_commConfig.h and check that this pin is configured as an "INPUT" in the BSP.h.  This sets the pin up as a psuedo open drain configuration. When its time to generate the IRQ the I2C driver will re-configure this pin as an output,drive the pin low, wait for a time out then re-configure back as input.

**Attention** This is a public forum