EmbDev.net

Forum: µC & Digital Electronics I2C interface msp430


von Alex A. (Company: AlexTbg) (alextbg)


Rate this post
0 useful
not useful
Hey there,
I want to activate a sensor using I2C. The problem is, that I don't know 
how to do this. I've surched in the net for this question, but I have 
not found anything useful. Maybe someone could tell me how I can init, 
send and read data.
Thanks for your help!

von search (Guest)


Rate this post
0 useful
not useful
hi, which msp430 and wich sensor do you think about? there are many 
examples for the msp430 as an i2c master on the ti pages.

von Alex A. (Guest)


Rate this post
0 useful
not useful
I have the msp430f5529 and my sensor is the
si7006-a20

von Alex A. (Company: AlexTbg) (alextbg)


Rate this post
0 useful
not useful
I have the msp430f5529 and my temp. and hum. sensor is the
Si7006-20a

: Edited by User
von Clemens L. (c_l)


Rate this post
0 useful
not useful
For how to write and read over I²C, see the files 
MSP430F55xx_uscib0_i2c_08.c and MSP430F55xx_uscib0_i2c_10.c in the 
MSP430F5529 example code package.

Reply

Entering an e-mail address is optional. If you want to receive reply notifications by e-mail, please log in.

Rules — please read before posting

  • Post long source code as attachment, not in the text
  • Posting advertisements is forbidden.

Formatting options

  • [c]C code[/c]
  • [avrasm]AVR assembler code[/avrasm]
  • [code]code in other languages, ASCII drawings[/code]
  • [math]formula (LaTeX syntax)[/math]




Bild automatisch verkleinern, falls nötig
Note: the original post is older than 6 months. Please don't ask any new questions in this thread, but start a new one.