Jump to content
Dale

I2C errors with four-board MSP432 launchpad stack

Recommended Posts

Hi, when I went from a two-board msp432 launchpad and SENSHUB stack to a four board stack, I started getting firmware I2C errors accessing the SENSHUB MPU-9150 IMU (on UCB0), but not the other sensors on the SENSHUB (also on UCB0).

 

The errors go away if I connect a protocol analyzer or scope probes to UCB0 I2C (via J2 pins on the SDCardReader). I have attached a scope screenshot of MPU-9150 initialization (which is working with the scope probe attached). 

 

Any suggestions for what to look for and/or solutions would be sincerely appreciated. The scope probe is a 10:1, with 10 MOhm & 17pF input, and the board stack consists of:

 

/-- BOOSTXL-SENSHUB BoosterPack

|

+-- SDCardReader BoosterPack (jumpered to UCB2 instead of default UCB0)

|

+-- MSP-EXP432P401R LaunchPad

|

\-- Protoboard (has UCB1 connector only for external I2C sensor)

 

Thanks for any help,

Dale

post-47011-0-31024100-1456859939_thumb.png

Share this post


Link to post
Share on other sites

Are there multiple boards with the I2C pull-ups installed? Too many pull-ups in parallel could lead to errors.

Alternatively, Having no boards with Pull-ups installed on the I2C lines means it should probably never work.

Also, If this is a signal integrity issue, you could try slowing the I2C clock rate down and see if the problem goes away.

Share this post


Link to post
Share on other sites

@@USWaterRockets, thanks for tip about slowing the I2C clock, I'll keep that in mind after investigating some firmware curiosities I noticed looking at all the I2C bus interactions. The SENSHUB boosterpack was and still is the only board on UCB0, and the I2C pull-ups are on the SENSHUB. All I've effectively done (AFAIK) is to add two more boards to the boosterpack bus (J1~J4), and one of the new boards now sits in-between the msp432 launchpad and the SENSHUB boosterpack (originally, the SENSHUB was the only board on the launchpad).

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...