I'm wondering if anyone has tried to integrate the ltc2991 to FPGA. (I am planning to read only the temperature from the sensor and my master will be Spartan 6)
I know it is communicated through I2C, however I have no experience with I2C on Verilog.
If anyone has a start point or good suggestions?
Also, on page 4 of this datasheet, there are the times for I2C, but are those for standard mode (100kbit/s) or fast mode (400kbit/s)?
The 'typical application' on page 1 of the datasheet, and also fig. 1 on pg. 11, show an example application of the LTC2991 being used with an FPGA. While I have not implemented I2C in Verilog personally, I was able to find a few tutorials online, including a eewiki article on the subject from Digikey:
The timing specifications are not mode specific. There is an excellent technical article at https://www.analog.com/en/technical-articles/i2c-timing-definition-and-specification-guide-part-2.html which helps explain the I2C timing very well.
Hopefully this information is helpful to you. Please reach out if you have any more questions!
Thank you and best regards,
Thank you for the information, Brad!
I am confused with the figure of the application of the LTC2991 being used with an FPGA. The application doesn't seen like what I am looking for. It seems like it is measuring the temperature of the FPGA and control the sensor with another master. However, what I was planning to do is to read temperature from other devices and then control the sensor with FPGA (so basically connecting LTC2991 with the FPGA by I2C). So I want the FPGA to be my I2C master and connect to the sensor, which is a slave device that provides me the temperature of other device.
Please correct me if I am interpreting the figure or having any misunderstandings.
To add on, figure 1 in this page you provided (https://www.digikey.com/eewiki/pages/viewpage.action?pageId=10125324) seems like the implementation I am looking for. Slave device 0 will be my LTC2991 sensor? And for the user logic, I will have to feed in whatever address is needed to read temperature from my sensor?
On the LTC2991 datasheet, there is an application at the very end "Wet Bulb Psychrometer", that will be my implementation and the FPGA plays the role of the microcontroller in the figure, if that makes sense.
I don't see any issue with that then. One thing to take note of, is that the LTC2991 uses repeated starts and the master will have to account for that.