Programmable Devices
CPLDs, FPGAs, SoC FPGAs, Configuration, and Transceivers
21324 Discussions

I2C Sensor reading only zero

Altera_Forum
Honored Contributor II
1,283 Views

PS remove slashes from https in links to access, forum wont let me post them 

 

Hello all, 

 

I'm working on a project using the DE2 board. I made my system in SOPC builder using the OpenCores I2C-Mster core. The one with wishbone connections etc. I have the SCL and SDA connected to GPIO pins in which I am connected to a SENSIRION SHT21 sensor.  

 

(h/ttp://www.sensirion.com/fileadmin/user_upload/customers/sensirion/Dokumente/Humidity/Sensirion_Humidity_SHT21_Datasheet_V3.pdf)  

 

As I run my program, when I check for the retrieved data, the memory location only has 0's. Is there possibly something I am missing? See screenshots of SOPC and my program below. 

 

Any help would be amazing 

 

PS remove slashes from https in links to access, forum wont let me post them
0 Kudos
0 Replies
Reply