Low Look closely at the address. The only thing I can think of is that the MSP doesn’t see the ack because the sink of the eeprom can’t overcome the pullup. Dec 24 , 8: Check my code for interfacing PC with a 2. On , at Ok, I’ll ask the question another way – for those of you that have used I2C on the MSP, would you be willing to share the relevant bits of code and perhaps describe the schematic you used?
|Date Added:||9 July 2005|
|File Size:||23.27 Mb|
|Operating Systems:||Windows NT/2000/XP/2003/2003/7/8/10 MacOS 10/X|
|Price:||Free* [*Free Regsitration Required]|
msp | I2C troubles
Thanks for the help. Why I am getting this substrate picture, when i create a new workspace?
Given you have a logic analyser, post the data you see on it. Sign in Sign in Remember me Forgot username or password? If not, set the level down to like. The meaning of the bytes after the first one depends on the I2C slave you’re using. After sending the start bit i am getting NACK whats the problem i dont understand if anyone find any bugs in my code please told me.
Look closely at o2c address. I’ll give the scope a try and compare to the LA though. Introduction to Microcontrollers Mike Silva. The eeprom should ack after a proper start and 8 bits, something very easy to see on a scope. I and a friend have gone over the data from msp430r5438 LA and compared it with the datasheet in agonizing msp40f5438 and it looks right.
Just thinking out loud in case it could help.
Check my I2C code for interfacing MSPf and MCP
Dec 242: Arduino Robotics Lonnie Honeycutt. There are pullups on the bus, it’s point-to-point, voltages are good, logic analyzer interprets the Msp430g5438 protocol and everything looks fine address sent correctly, etc. Distorted Sine output from Transformer 5.
Embedded Software Engineer Loft Orbital’s mission is to make space simple for organizations that need Does that LA show levels or just state? How to upload a counter value to a website automatically 3. Almost a must for trouble shooting.
Equating complex number interms of the other 5. Msp430f543 the thing that NAKs. But are you sure you’re interpreting the logic analyser data correctly not in reversed bit order?
I do have a logic analyzer though and have been using it. If I’m not mistaken, on the 1xx USART this first byte is kind of hardwired to the Msl430f5438 hardware, in that you have to disable it put into reset state if you want to change the bits chip-address, not memory address on the control byte.
Heat sinks, Part 2: Thanks for the reply and ideas.
DAC input digital signals, how to generate? Ultrasonic transducer driver 1. I guess by ‘internal functions’ you mean the I2C hardware and not an application included software I2d, right?
CT measuring circuit with PIC 3.
It is possible you might need different high- or mid- level functions for different I2C slaves. After my first device it was pretty easy, but How do you get an MCU design to market quickly?