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.

MSP430FR4133 launchpad / BOOSTXL-SENSHUB

Other Parts Discussed in Thread: MSP430FR4133

Hi,

i would like to use the MSP430 FR4133 launchpad together with the BOOSTXL-SENSHUB. I hope that both devices are compatible. 

I suppose that the boosterpack sensors are only accessible through the I2C bus. Is this the only option?

Regards

Edgar

  • Hi Edgar,

    Yes, I2C bus is the only option. Because all the sensors on BOOSTXL-SENSHUB are using I2C bus.
    MSP430FR4133 launchpad is compatible with BOOSTXL-SENSHUB.

    Regards,
    Darren

  • Hi Darren,

    thanks for the answer. So i will have to wright my own I2C driver with P8.2 as SCL and P8.3 as SDA?

    Regards,

    Edgar

  • Hi Edgar,

    There is hardware I2C interface on P5.2 and P5.3 of MSP430FR4133. These two pins are also in the 20-pin connector of Launchpad. SPI and I2C reuse the same ports in eUSCI_B module. You can use P5.2 and P5.3 as SDA and SCL directly since they are compatible with BOOSTXL-SENSHUB.

    Best Regards,
    Darren
  • Hi Darren,
    thanks again. I was confused by the footnote in the Launchpad user's guide (figure 10): " Note that to comply with the I2C channels of the BoosterPack standard, a software-emulated I2C must be used" . The note is placed at pins P8.2/P8.3.

    Regards
    Edgar
  • Hi Edgar,

    If you want to use two I2C interfaces or SPI + I2C at the same time, you have to follow that footnote of FR4133 Launchpad.

    Best Regards,
    Darren
  • Hello,
    I tried to read the data of the MPU-9150 via I2C. One attempt was successful, but i can't reproduce it. After initializing I2C unsing the following sequence

    P5SEL0 |= (BIT2 | BIT3); // I2C pins
    PM5CTL0 &= ~LOCKLPM5;

    UCB0CTLW0 = UCSWRST; // Software reset enabled, 7-bit address mode
    UCB0CTLW0 |= UCMODE_3 | UCMST | UCSYNC; // I2C mode, Master mode, sync
    UCB0CTLW0 |= UCSSEL_3; // BRCLK : SMCLK
    UCB0CTLW1 &= ~0xFF; // no automatic stop generated
    UCB0BRW = 0x0008; // baudrate = SMCLK / 8
    UCB0CTLW0 &= ~UCSWRST;
    UCB0IE = 0x7FFF; // enable all I2C interrupts

    the UCBBUSY bit is set, and no interrupt occurs. UCB0CTLW0 contains 0x0FD2. Any idea what's wrong?

    Regards,
    Edgar
  • Hello again,

    i am using the default jumper settings of the MSP430FR133 launchpad, i.e. power supply is from USB through the eZ-FET debugger. 

    Executing the program from the debugger GUI often produces the results described above. When the program is executed by unconnecting the launchpad after code download and reconnecting the board, accessing sensors of the BOOSTXL-SENSHUB through I2C works properly. 

    As such, debugging is very time-consuming. 

    Regards

    Edgar

**Attention** This is a public forum