Arrow DECA User Manual page 58

Table of Contents

Advertisement

you can not get the correct values. Control mainly depends on the coordination of "I2C read/write"
and "DRDYn". Steps are as follows (can refer to HDC1000YPAR datasheet, page 10~13):
Step 1.write the temperature/humidity value pointer.
Step2.When polling HDC1000YPAR "DRDYn" is "LOW".
Step3.Read the value by I2C (In this moment, I2C can't write a pointer as this operation can
cause HDC1000 to restart and measure a new value, and then, you will get an incorrect value).
 Design Tools
 Quartus II v15.0
 Demonstration Source Code
 Project directory: DECA_Humidity_Temperature
 Bitstream used: DECA_Humidity_Temperature_Measurement.sof
 Demonstration Batch File
Demo batch file folder: \DECA_Humidity_Temperature\demo
The directory includes the following files:
 Batch file: test.bat
 FPGA configuration file: DECA_Humidity_Temperature_Measurement.sof
 Demonstration Setup
 Quartus II v15.0 must be pre-installed to the host PC.
 Connect the DECA board (J10) to the host PC with a USB cable and install the USB-Blaster II
driver if necessary
 Plug the 5V adapter to DECA Board
 Execute the demo batch file " test.bat" from the directory
\DECA_Humidity_Temperature\demo_batch
 Double click the HC1000.stp file in the path \DECA_Humidity_Temperature\demo_batch,
QuartusII SignalTap II will be activated as shown in
DECA User Manual
Figure
5-5.
57
www.terasic.com
May 22, 2015

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents