EmbeddedRelated.com
The 2024 Embedded Online Conference

MSP430F5438 probleam

Started by Mr BeeHoon in MSP43015 years ago 3 replies

Hi, I am using MSP430F5438 to communicate 24LC512 microchip eeprom. I am unable= to do it. I used i/o port communication. Can I have a code for...

Hi, I am using MSP430F5438 to communicate 24LC512 microchip eeprom. I am unable= to do it. I used i/o port communication. Can I have a code for use I2C mod= ule to communicate EEPROM or good i/o port code. =A0 Here is my code=A0for your reference, =A0 void SetLowSDA(){ =A0 P10DIR |=3D SDA; =A0 I2CWAIT=A0=A0=A0=A0=A0=A0=A0=A0=20 } void SetHighSDA(){ =A0 P10DIR &=3D ~SDA;=A0=A0=A0=A0=A0...


I2C, Problem with EEPROM Acknowledge polling

Started by lenordbauer in MSP43017 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 MSP43018 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?


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

Started by Markus Schaub in MSP43014 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 MSP43018 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


Anyone with success with TUSB3410 interfacing to MSP430?

Started by Kipton Moravec in MSP43017 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...


pull up I2C

Started by Edson Burgo in MSP43015 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 ------------------------------------


Mysterious value change

Started by merapcb in MSP43013 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...


I2C troubles

Started by James Watt in MSP43014 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. ...


implementing I2C on regular I/O pins msp430f147

Started by Liz in MSP43016 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 MSP43015 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 ------------------------------------


OT: Ahrrrrr I2C troubles

Started by Dan Bloomquist in MSP43015 years ago 2 replies

Hi, OT because I don't think this is an MSP430 issue. I'm just hoping someone has seen something like this. I'm creating a datalogger with...

Hi, OT because I don't think this is an MSP430 issue. I'm just hoping someone has seen something like this. I'm creating a datalogger with the MSP430. It will present itself to the world as an I2C slave, I've posted the code before. A couple of days ago I sat down and wrote a bitbang I2C master so I could use a 24LCxx(EEPROM) to store data. That went well. I could write 16 bytes a...


i2c interfering with UART

Started by shred445 in MSP43015 years ago 14 replies

Hey all, this has been troubling me for quite a while now. My msp430f2272 is talking to an eeprom through i2c and also to another device...

Hey all, this has been troubling me for quite a while now. My msp430f2272 is talking to an eeprom through i2c and also to another device through uart(9600). Each work great separately, but when I initialize both of them, the UART cannot receive any data. Here's how i'm doing things: 1. Initialize UART [code] BCSCTL1 = CALBC1_1MHZ; // Set DCO DCOCTL = CALDCO_1MHZ; ...


MSP430F169 I2C peripheral issues

Started by fchambers01 in MSP43017 years ago

Has anyone had a problem with the I2C peripheral on the 169? I am trying to read and write to a 24LC16B eeProm. I have no trouble with the...

Has anyone had a problem with the I2C peripheral on the 169? I am trying to read and write to a 24LC16B eeProm. I have no trouble with the writing, either single bytes or pages. I also have no problems with a current pointer read. Where I can't seem to get it to work is for a Random Read. This read requires a RESTART and it just doesn't seem to be happening. I have tried it with a fair...


Storing parameters in Flash

Started by jkw_ee in MSP43019 years ago 7 replies

I have about 4KB of operational parameters to be stored in non- volitile memory but they will be updated occasionally. I have experience...

I have about 4KB of operational parameters to be stored in non- volitile memory but they will be updated occasionally. I have experience doing this in EEPROM but this is my first encounter with flash. I found the flash routines in the download area but would appreciate a chance to talk to anyone who has experience with updating and erasing segments in flash. I could use the flash or tag


I2C hanging

Started by merapcb in MSP43012 years ago 21 replies

In my application there is an EEPROM that is used to store data. The app has been hanging sporadically (can be hours or days), but consistently....

In my application there is an EEPROM that is used to store data. The app has been hanging sporadically (can be hours or days), but consistently. I managed to catch it while on debugger and it is hanged on the line indicated. But, I don't know *why* it is hanging. Any suggestions please on how to approach/debug? Thanks. unsigned char I2C_ByteRead(unsigned char Addressing_Mode, unsigned int Add...


I2C communication problem

Started by Vasant in MSP43018 years ago 8 replies

Hi, i have been trying to work with the I2C module present in eZ430-F2013, i am not getting an acknowledgment back from the connected slave...

Hi, i have been trying to work with the I2C module present in eZ430-F2013, i am not getting an acknowledgment back from the connected slave device. i have tried connecting ATMEL 24C04 EEPROM chip & Philips PCF8574P as slave devices, but still no resluts! my program is written in assembly and it gets struck while waiting for the acknowledgment. i downloaded some example programs offer


Corruption on reading from EEPROM

Started by merapcb in MSP43014 years ago 25 replies

Hi. I have a AT24C512 connected to my 1612 on I2C. I manage to write data which seems to be OK. But on reading it back, the data is corrupted...

Hi. I have a AT24C512 connected to my 1612 on I2C. I manage to write data which seems to be OK. But on reading it back, the data is corrupted (I am writing all 0x00 but get back other values). I say "correct" and "corrupted" based on what is seen in the logic analyzer. I was using DMA but now only I2C directly, still the same. What may be the reason? I am out of ideas what to check. Thanks. ...


I2C EEPROM: Write works, Read not

Started by rolf...@... in MSP43019 years ago 27 replies

Hi, i took the code from slaa208 and made minimal modifications for using an M24C08 but only writing works without problems; reading nearly...

Hi, i took the code from slaa208 and made minimal modifications for using an M24C08 but only writing works without problems; reading nearly never works. The reading functions hangs at while ((~I2CIFG) & ARDYIFG); // wait until transmission is finished Changing the pullups (1k, 3k3, 11k) and the clock did not help. Any idea what may be the reason? Regards, Rolf


interfacing 24c04 eeprom to msp430fe427

Started by shastrinvs in MSP43019 years ago 1 reply

I am trying to interface my atmel 24c04 to my msp430fe427. My msp430 does not have a i2c bus and i am enumerating a soft i2c bus. I...

I am trying to interface my atmel 24c04 to my msp430fe427. My msp430 does not have a i2c bus and i am enumerating a soft i2c bus. I am struggling to write a program to synchronise the sda acl of i2c. If anyone could guide me, i would be very thankful for their help.



The 2024 Embedded Online Conference