Search the Community
Showing results for tags 'msp430 i2c'.
Found 3 results
Hello everybody, I'm trying to read some registers of the TPS65982 EVM with a MSP430f5529LP. I found out thanks to google that the Wire Library doesn't support a repeated start condition. By the way the library is not working properly ( endTransmission() makes the Launchpad freeze) so i followed the instructions given on this topic: https://e2e.ti.com/support/development_tools/code_composer_studio/f/81/p/529036/1924573 (patch energia 17 with two files: twi.c and twi_sw.c) and it works correctly now. I tried next to make a "home made repeated start condition" with energia 17: i noticed in the file twi_sw a function i2c_sw_start(addresse,rw); so i tried to run it when appropriate but doesn't work... If someone has any idea of how to make one, or if there is a library supporting the repeated start condition it would be great I attach to this post the files I modified to make a repeated start condition (my custom function is called resend_start()) Thanks in advance, Poliakospl twi.c twi.h twi_sw.c twi_sw.h Wire.cpp Wire.h
Hi everyone! I am trying to get a PAC1710 chip as a slave working with the MSP430G2553. I am having a ton of trouble doing so and can't seem to even get the address of the slave for the msp. I am going off of the master_reader code as an example. My first question is I know that you need to give the slave an address but I am not sure how to do so. On the data sheet of the pac1710, the address is as follows - 0011000. Thanks!
Hi , I am using MSP430FR6x8x Controller. (Launchpad of MSP430FR6989) and In my project I wanted to Interface ADXL345 Over I2C with MSP4306989 Launchpad. I have tried the Reference codes available from TI and tried to change slave address of the ADXL345. But Still I have not got any success. For Reference , I am using ADXL345 Breakout Board having 4.1k Pull up for I2C lines. And while connecting I am also taking care of Grounds. Pin I ma using is P1.6 for SDA and Pin p1.7 for SCL In ADXL345 the CS pin is tied with Vcc and also ALT pin is too connected with Vcc. So As per data sheet I am Trying slave address of the device than write address of the device. But so far I have not got any success. Can Anyone help me out here please. I have MSP430FR6989 Launchpad Thanks, Hinesh