Quantcast
Channel: MSP low-power microcontroller forum - Recent Threads
Viewing all articles
Browse latest Browse all 21951

432 i2c bus pirate

$
0
0

Hi,

  I am trying to use "bus pirate" to discover the i2c on the 432 launch pad but bus pirate does not appear to find any i2c devices when I run either

i2c_master_rw_repeated_start-master_code

or

i2c_slave_initiated_read-master_code

The demo code identifies these pins:

MOSI -> P1.6 

MISO -> P1.7

but not the clock pin, the color handout shows 1.5 as the SPI clock, the same color as P1.6 and P1.7, so I tried that but I am not sure that is the right pin.

Also the "slave" source code has this line, which I think is a documentation error:

EUSCI_B_I2C_SET_DATA_RATE_100KBPS,      // Desired I2C Clock of 400khz

My question is, what pin is the i2c clock on the 432 launchpad?

Info on bus pirate can be found here: https://www.sparkfun.com/products/12942

thank you


Viewing all articles
Browse latest Browse all 21951

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>