Hi zeke,
thanks for the quick response. When it hangs, the SCL line stays HIGH and SDA line stays low. Do you have any comment on that?
The strange thing is I'm able to get correct data for the first 2 minutes (maybe a bit longer). I checked on other's code for the same chip, I'm pretty sure the code to get raw data is OK.
Any suggestions from anybody would be appreciated.
Thanks!