You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by GitBox <gi...@apache.org> on 2018/09/25 22:00:08 UTC

[GitHub] benmccrea opened a new pull request #1431: Reduce I2C timeout values to reduce system latency when failures take place

benmccrea opened a new pull request #1431: Reduce I2C timeout values to reduce system latency when failures take place
URL: https://github.com/apache/mynewt-core/pull/1431
 
 
   Most I2C devices will respond in well under 1ms but currently the timeout in most drivers is specified as OS_TICKS_PER_SEC/10. This causes undue latency in recovering from I2C errors. This change adds syscfg to some drivers to specify a smaller I2C timeout of 3 OS ticks. 
   
   Also changes BQ27Z561_LOG default value to 1, since the original default value of 0 can cause I2C errors on the device to go unnoticed. 
   
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services