Arj Posted March 18, 2023 Report Posted March 18, 2023 (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 March 18, 2023 by Arj Typo Quote
Arj Posted March 19, 2023 Author Report Posted March 19, 2023 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 Quote
gammaray Posted 1 hour ago Report Posted 1 hour ago 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. Quote
gammaray Posted 1 hour ago Report Posted 1 hour ago (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 1 hour ago by gammaray Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.