Jump to content

LabVIEW FTDI MPSSE I2C DeviceRead always returning 0xFF


Recommended Posts

Posted (edited)

Hi

I am using the MPSSE I2C drivers over a USB FT232H device, communicating with BMP280.  When I read the BMP280 device ID, it is supposed to return 0x58 but the DeviceRead vi returns 0xFF.  I have used a logic analyser and can confirm that the device is actually sending 0x58, but the output from the read vi is 0xFF.  Has anyone had this same problem, or can anyone suggest what might be the issue?

Thanks

Arj

Edited by Arj
Typo
  • Arj changed the title to LabVIEW FTDI MPSSE I2C DeviceRead always returning 0xFF
Posted

An update: No matter what register I am trying to read in the BMP280, it returns the correct value on the logic analyser, but the DeviceRead vi always reads 0xFF

  • 2 years later...
Posted

Hi,

It was long ago when you asked. You've probably already solved it. I just started using the FT2232H in LabVIEW and noticed your question. Connect the DO and DI pins to each other and it will work.
image.png.674576fa34ef0b2f3a3b08fc505f6095.png

Posted (edited)

By the way, this library is a bit weird.I haven't been able get the master yet to send an ACK when reading, if more bytes need to be read and a NAK after the last byte has received.

Edited by gammaray

Join the conversation

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

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
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...

Important Information

By using this site, you agree to our Terms of Use.