diff options
author | Dino Li <Dino.Li@ite.com.tw> | 2020-09-22 11:38:17 +0800 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2020-09-24 09:21:35 +0000 |
commit | 5754434287895683c4d197092eb120019ef12116 (patch) | |
tree | 58c8ab0b838a59e067575320872eac12b16773f0 /extra/usb_spi | |
parent | 0542741e0e8727ae53bce47a1fd4459735056b53 (diff) | |
download | chrome-ec-5754434287895683c4d197092eb120019ef12116.tar.gz |
it83xx/adc: adjust ADC read timeout to 1ms.
Voltage comparator has about 73us conversion time, and ADC read
channel has about 122 us conversion time.
ADC engine will convert each channel at a time (comparators and
ADC read channel) and current timeout setting is 248us, so we might
have a chance to trigger timeout if converting two comparators while
EC starts ADC read channel.
This change increased timeout to 1ms.
BUG=b:164256608
BRANCH=none
TEST=Verified that running 'ectool temps all' without error
on drawcia x200.
Change-Id: I803d3065a75adaee673a9724ec4fc2fd73da0c48
Signed-off-by: Dino Li <Dino.Li@ite.com.tw>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2423663
Reviewed-by: Aseda Aboagye <aaboagye@chromium.org>
Diffstat (limited to 'extra/usb_spi')
0 files changed, 0 insertions, 0 deletions