Jump to content
43oh

MSP430F5529 LaunchPad with FDC1004


Recommended Posts

Hello,

I'm having troubles controling FDC1004 with MSP430F5529LaunchPad.

I found the sample codes on this forum and tried using it (connecting SDA to P3.0 and SCL to P3.1. via 10k pull up resistors to 3.3V).

It compiles and upload, but doesn't actually work- serial monitor is just blank.

could you please help to fix this?)

Thank you,

Alex

 

Link to post
Share on other sites

You should be able to modify the code I recently posted that connects the 5529 Launchpad to the TI HDC2010.  I think you would only have to figure out the relevant registers.  There is some simple code on my github to read and display the slave serial number so I suggest starting there.  If you want to use Energia/Arduino code instead of a register-based approach, someone else will have to help.

Link to post
Share on other sites

Best option is to post the code you're running, or attempting to run.  Without such, it's almost impossible to diagnose what could be wrong in terms of the code.

I'm sure you noted that the code you pointed to is both a different device with a different pinout.

Also, do you have a logic analyzer or an oscilloscope?  Very handy tools to see what's being sent.  Finally, some I2C setups are very sensitive to the resistor values.  Lower values (eg. 2k2) can make the signal transition cleaner, but increase power losses. And, if not an obstacle, a schematic never hurts either...

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...