Library I2C in MSP430F2011

Started by edson burgo in MSP43011 years ago

Hi, i made a library to comunicate MSP430F2011 with EEPROM (24LC08B) and temperature sensor (LM92). I'm having problems. I know about others...

Hi, i made a library to comunicate MSP430F2011 with EEPROM (24LC08B) and temperature sensor (LM92). I'm having problems. I know about others MSP that have it but i need make it in this microcontroller. Problems: I wrote functions to write and read in EEPROM. When i need write or read 1 only data it's all OK, no problems. BUT, when i need write or read 2 or more data apeer a problem: wh...


I2C, Problem with EEPROM Acknowledge polling

Started by lenordbauer in MSP43012 years ago

Hi everybody, i'm currently working with a MSP430F2274 and a AT24c64 EEPROM. Read, Write, Pagexx -Functions are all working fine but I have...

Hi everybody, i'm currently working with a MSP430F2274 and a AT24c64 EEPROM. Read, Write, Pagexx -Functions are all working fine but I have a Problem with Acknowledge Polling to determine if a Write Cycle is completed. If I use my EEPROM_ackp() Function and read out the written Adress I dont get the written Byte. If I use a simple 6ms wait()Function i get the correct result. example:...


Current sink/source for direct LED driver

Started by microman in MSP43013 years ago 3 replies

What is the max current sink/source per pin ? I want to supply 24LC16B EEPROM Vcc with one MSP430F135 pin. 24LC16B Operating current = 3mA ,...

What is the max current sink/source per pin ? I want to supply 24LC16B EEPROM Vcc with one MSP430F135 pin. 24LC16B Operating current = 3mA , 5mA Does supply P4.4 pins EEPROM Vcc?


msp430f5438 wit i2c

Started by Mr BeeHoon in MSP43011 years ago

Hi all, if any one done following function for msp430f54xx series with i2c module? = or pls give me some...

Hi all, if any one done following function for msp430f54xx series with i2c module? = or pls give me some reference.. InitI2C(); EEPROM_ByteWrite(0x0000,0x12);=20 EEPROM_AckPolling(); // Wait for EEPROM write cycle completion=20 EEPROM_ByteWrite(0x0001,0x34);=20 EEPROM_AckPolling(); // Wait for EEPROM write cycle completion=20 EEPROM_ByteWrite(0x0002,0x56);=20 EEPROM_AckPolling(); // Wait ...


I2C with USCI: Stop condition directly after a start condition?

Started by Markus Schaub in MSP43010 years ago 4 replies

Hi! I have a 24CXX I2C EEPROM which needs a special software reset procedure that involves sending a start condition directly followed by a...

Hi! I have a 24CXX I2C EEPROM which needs a special software reset procedure that involves sending a start condition directly followed by a stop condition. The EEPROM is connected to the USCI of a MSP430F54xx and is the only device on the bus. Having read the respective chapter in the user manual I would say that the USCI isn't capable of sending the required sequence and that I have to res...


Storing Floating point numbers in serial eeprom

Started by Pravin in MSP43013 years ago 5 replies

Hi all, I am using MSP430F149 and IAR Embedded WorkBench v4.30. I have problem storing a floating point number in serial eeprom. I have...

Hi all, I am using MSP430F149 and IAR Embedded WorkBench v4.30. I have problem storing a floating point number in serial eeprom. I have successfully seperated floating point number into 4 bytes. unsigned char count,x[4]; float data; data = 79.0; for(count=0; count


flash

Started by firstbrahim in MSP43014 years ago 2 replies

why when i write in the eeprom of msp430fe427 the ?c bug

why when i write in the eeprom of msp430fe427 the ?c bug


Anyone with success with TUSB3410 interfacing to MSP430?

Started by Kipton Moravec in MSP43013 years ago 6 replies

I needed a MSP430f1610 with USB. I followed the schematics in the application note, but I can't figure out the software. It looks like there...

I needed a MSP430f1610 with USB. I followed the schematics in the application note, but I can't figure out the software. It looks like there are so many ways to do it, and I can't find one that works. The first problem I have is trying to figure out the baud rate on the serial side. I do not see any examples of setting it. I would have thought it would be one of the EEPROM parameters, bu...


Configuration of SCL&SDA in I2C

Started by NEERAJ SINGLA in MSP43013 years ago 1 reply

Hello Friends, Can anyone tell me: For interfacing an EEPROM(I2C), in which mode the SCL and SDA pin are to configured (Input or Output)

Hello Friends, Can anyone tell me: For interfacing an EEPROM(I2C), in which mode the SCL and SDA pin are to configured (Input or Output)


pull up I2C

Started by Edson Burgo in MSP43011 years ago 2 replies

Hi, i would know what the value of resistor i need use on the bus I2C (pull up) to make comunication between MSP430F2013 and EEPROM (24LC08) with...

Hi, i would know what the value of resistor i need use on the bus I2C (pull up) to make comunication between MSP430F2013 and EEPROM (24LC08) with 125 Hz. Or can i use intern resistor ??? thanks since now. Edson ------------------------------------


how to get reset signal in msp430fe427

Started by arunangshu Chandra in MSP43010 years ago 3 replies

hello friends, how to get reset signal in msp430fe427. i want to save data in eeprom on sensing power...

hello friends, how to get reset signal in msp430fe427. i want to save data in eeprom on sensing power fail. arun ------------------------------------


SPI EEPROMs

Started by dibosco in MSP43016 years ago

Hi Folks, Has anyone ever used the MSP430's SPI for interfacing with a serial EEPROM? We have here a Microchip 25LC040 which we've hooked up...

Hi Folks, Has anyone ever used the MSP430's SPI for interfacing with a serial EEPROM? We have here a Microchip 25LC040 which we've hooked up and can't quite get going. The problem would appear to be that in Mode 0, the data is actually clocked out of the MSP430 on the *negative* going edge - not the positive. CKPL and CKPH are both low, but when I look at the waveform coming out of the M


Mysterious value change

Started by merapcb in MSP4309 years ago 6 replies

This is generic in nature, kindly humor me. I have a problem where there is a variable (a U8) that is initialized from the EEPROM to something...

This is generic in nature, kindly humor me. I have a problem where there is a variable (a U8) that is initialized from the EEPROM to something (in this case 0x05). In the entire code it is never written to, only used as an input to some other function. I noticed a change in behavior and on debugging saw that suddenly this variable has the value of zero (0x00). Since (as I mentioned) there is n...


Help with memory selection

Started by merapcb in MSP43011 years ago 7 replies

I am designing a data logger and I would like to add external memory to it. It is MSP430169 based and I have both 5v and 3.3v rails (though I...

I am designing a data logger and I would like to add external memory to it. It is MSP430169 based and I have both 5v and 3.3v rails (though I prefer a 3.3v memory IC, as level shifters would increase the BOM/cost, maybe I am wrong). Power is *not* a problem and I would like to use the I2C interface. I think the first decision is whether to use Flash (EEPROM) or RAM, and I think it should be R...


how to reset the microcontroller msp430fe427

Started by arunangshu Chandra in MSP43010 years ago

Dear All =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0i want =A0reset the microcontroller = msp430fe427=A0 after erase the eeprom so that ram gets...

Dear All =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0i want =A0reset the microcontroller = msp430fe427=A0 after erase the eeprom so that ram gets intials to 0. can anyone help me out in this. from internet i found this code. =A0FCTL1 =3D 0xFFFF + ERASE; is this a right method of resetting. arun =20=20=20=20=20=20 ------------------------------------


I2C troubles

Started by James Watt in MSP43010 years ago 8 replies

Hi all, I've been trying to use the MSP430F5438 on a TI devkit to communicate with a couple I2C devices (only one on the bus at a time). One...

Hi all, I've been trying to use the MSP430F5438 on a TI devkit to communicate with a couple I2C devices (only one on the bus at a time). One device is a Microchip EEPROM, 24LC01B and the other is a fuel gauge. The problem is that the transactions are never ACKd. I do get a NAK though. I'm using port 2 but have tried port 1 as well - i.e. am using the I2C internal functions of the MSP430. ...


(in?)sanity check...

Started by rdunlop3428 in MSP43010 years ago 6 replies

Very short version: Would I be crazy to consider using an F201x device to store events to an I2C-accessible eeprom? This is a rather long...

Very short version: Would I be crazy to consider using an F201x device to store events to an I2C-accessible eeprom? This is a rather long post, so I understand anyone not having the time to wade through. I'm a newbie to this group, though I've been lurking for some time, and I'm also very new to the world of uprocessors. I was a software engineer for many years prior to making a minor care...


Re: Mysterious value change

Started by Harri Haataja in MSP4309 years ago 4 replies

On 23 April 2011 20:50, merapcb wrote: > This is generic in nature, kindly humor me. > I have a problem where there is a variable (a U8)...

On 23 April 2011 20:50, merapcb wrote: > This is generic in nature, kindly humor me. > I have a problem where there is a variable (a U8) that is initialized from the EEPROM to something (in this case 0x05). In the entire code it is never written to, only used as an input to some other function. > I noticed a change in behavior and on debugging saw that suddenly this variable


implementing I2C on regular I/O pins msp430f147

Started by Liz in MSP43011 years ago 11 replies

Hello I would like to implement I2C on standard I/O pins on msp430f147. is there any code with remarks and explanations that can be suitable? i...

Hello I would like to implement I2C on standard I/O pins on msp430f147. is there any code with remarks and explanations that can be suitable? i want to connect to three different devices on the same SDA, SCL nets. connecting to : MICROCHIP eeprom 24AA256 AND analog DAC-AD5301 Thank you very much ------------------------------------


Data compression

Started by Peter Grey in MSP43011 years ago 9 replies

Has anyone references to the compression of data in Flash memory? I am storing temperature data and wish to use a smaller memory or even use...

Has anyone references to the compression of data in Flash memory? I am storing temperature data and wish to use a smaller memory or even use EEPROM. TIA Peter ------------------------------------