hi,
I have a doubt on using inout ports in FPGA design. I am implementing an application on FPGA, that should be interfaced to SHT71(Sensirion humidity and temperature sensor). My FPGA gets the value of temperature and humidity from the sensor and calculates moisture(output) using certain equations.
I have designed the arithmetic unit required to calculate the moisture value in VHDL, and synthesized on to FPGA. But now I have to interface this unit to the sensor(SHT71), and the sensor needs to have a controller(any microcontroller as specified in the SHT71 datasheet) to control its operations and get the values of temperature and humidity. The sensor has a bidirectional data signal as one of the ports, and that should be connected to the controller to send and receive data. I want to implement the controller also on the same FPGA itself. But is it possible? Is it possible to handle a bidirectional port from an FPGA to send and receive data? I am using Virtex XCV800 HQ240I. Or is it suggestible to use any standard microcontroller as an interface between sensor and FPGA?
Any suggestion on this is highly appreciated.
Thanks