Go to file
Thomas Cort cb5e2921b3 i2c: increase read/write timeout
The sht21 temperature and humidity sensor holds the i2c bus while
an ADC conversion is in progress. For example, a temperature
measurement is requested, a read operation is started, and the
sht21 doesn't respond to the read request until the result of
the measurement is ready. The conversion time isn't constant.
On rare occations (one in hundreds of samples) the timeout in the
i2c driver expires returning an error.

The example code from Sensirion, the sht21's manufacturer, suggests
a bus timeout of 1 second to accommodate the sht21. This commit
increases the bus timeout to 1 second. The timeout is only reached
when chips do not respond normally, so the change doesn't affect the
performance of any other drivers.

Change-Id: I57b0f958a5d0b69b221af380b771fe67401ff604
2013-09-18 08:10:26 -04:00
benchmarks Removing obsolete _MINIX define 2013-02-26 09:44:20 +00:00
bin fix a few more minix specific warnings 2013-08-27 16:16:03 +00:00
commands kernel: add padconf kernel call 2013-08-28 12:53:05 -04:00
common a bit more -Werror compatability 2013-08-20 11:37:40 +02:00
dist/nvi Termcap update, replacing elvis by nvi. 2013-01-24 07:44:38 +01:00
distrib gpio: port to am335x 2013-09-03 08:14:18 -04:00
docs Allow install of binutils and import texinfo 2013-07-12 14:18:08 +02:00
drivers i2c: increase read/write timeout 2013-09-18 08:10:26 -04:00
etc vm: enable filemap=1 by default 2013-09-13 12:56:41 +00:00
external libarchive: use -isystem for /usr/include 2013-08-30 17:21:01 +02:00
gnu Prevent make -C gnu from installing files in / 2013-09-17 15:19:50 +02:00
include libi2cdriver: add functions for IC register access 2013-09-18 08:10:26 -04:00
kernel enable fatal warnings 2013-09-01 12:59:37 +00:00
lib libi2cdriver: add functions for IC register access 2013-09-18 08:10:26 -04:00
libexec increase -Werror resilience 2013-08-21 13:53:39 +02:00
man Importing usr.bin/tr 2013-08-25 18:51:36 +02:00
releasetools Importing usr.bin/tr 2013-08-25 18:51:36 +02:00
sbin increase -Werror resilience 2013-08-21 13:53:39 +02:00
servers vm: enable filemap=1 by default 2013-09-13 12:56:41 +00:00
share enable fatal warnings 2013-09-01 12:59:37 +00:00
sys fix a few more minix specific warnings 2013-08-27 16:16:03 +00:00
test test70: reduce ITERATIONS 2013-09-16 15:33:44 +00:00
tests fix a few more minix specific warnings 2013-08-27 16:16:03 +00:00
tools bugfix: build.sh cross-compile on NetBSD host 2013-09-05 16:09:35 +02:00
usr.bin fix a few more minix specific warnings 2013-08-27 16:16:03 +00:00
usr.sbin increase -Werror resilience 2013-08-21 13:53:39 +02:00
.gitignore gitignore: ignore some more generated files 2012-12-06 13:29:20 +00:00
.gitreview misc:Add gerrit code review support. 2013-01-16 09:44:16 +01:00
build.sh Reverting back to default value of MKARZERO 2013-01-17 10:03:58 +01:00
LICENSE Fix parameter parsing in cut 2010-01-21 10:16:05 +00:00
Makefile Importing NetBSD "Kyua" test framework 2013-07-23 20:43:41 +02:00