I2C Clock Stretching issue

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

I2C Clock Stretching issue

I2C Clock Stretching issue

Some of our customers encountered clock stretching issue when using the I2C. Actually the first should been in mind is the clock stretching is usually done by the slave, not the master. 

In the case for the Kinetis as master to connect with I2C device, the clock stretching should been done by the slave device. In this case the slave device should hold the clock signal low until it has data available. There isn’t anything that needs to be done to enable clock stretching on the master side.

So how the code do with the clock stretching? The slave should toggling read_start high first and reading the data register to actually start the transfer. Be remember that the read from the data register is what actually triggers the transfer. Customer always missed this point.

%3CLINGO-SUB%20id%3D%22lingo-sub-1115686%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%20I2C%20%E6%97%B6%E9%92%9F%E5%BB%B6%E9%95%BF%E9%97%AE%E9%A2%98%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1115686%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%26lt%3Bmeta%20http-equiv%3D%22Content-Type%22%20content%3D%22text%2Fhtml%3B%20charset%3Dutf-8%22%20%2F%26gt%3B%0A%3CP%3E%3CSPAN%20style%3D%22color%3A%20%23303030%3B%22%3E%E6%88%91%E4%BB%AC%E7%9A%84%E4%B8%80%E4%BA%9B%E5%AE%A2%E6%88%B7%E5%9C%A8%E4%BD%BF%E7%94%A8%20I2C%20%E6%97%B6%E9%81%87%E5%88%B0%E4%BA%86%E6%97%B6%E9%92%9F%E5%BB%B6%E9%95%BF%E9%97%AE%E9%A2%98%E3%80%82%E5%AE%9E%E9%99%85%E4%B8%8A%EF%BC%8C%E9%A6%96%E5%85%88%E5%BA%94%E8%AF%A5%E6%B3%A8%E6%84%8F%E7%9A%84%E6%98%AF%EF%BC%8C%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20%231f497d%3B%22%3E%3CSPAN%20style%3D%22color%3A%20%23303030%3B%22%3E%E6%97%B6%E9%92%9F%E5%BB%B6%E9%95%BF%E9%80%9A%E5%B8%B8%E6%98%AF%E7%94%B1%E4%BB%8E%E8%AE%BE%E5%A4%87%E8%80%8C%E4%B8%8D%E6%98%AF%E4%B8%BB%E8%AE%BE%E5%A4%87%E5%AE%8C%E6%88%90%E7%9A%84%E3%80%82%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CP%3E%3CSPAN%20style%3D%22color%3A%20%23303030%3B%22%3E%E5%A6%82%E6%9E%9C%20Kinetis%20%E4%BD%9C%E4%B8%BA%E4%B8%BB%E8%AE%BE%E5%A4%87%E8%BF%9E%E6%8E%A5%E5%88%B0%20I2C%20%E8%AE%BE%E5%A4%87%EF%BC%8C%E6%97%B6%E9%92%9F%E6%8B%89%E4%BC%B8%E5%BA%94%E8%AF%A5%E7%94%B1%E4%BB%8E%E8%AE%BE%E5%A4%87%E5%AE%8C%E6%88%90%E3%80%82%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20%231f497d%3B%22%3E%3CSPAN%20style%3D%22color%3A%20%23303030%3B%22%3E%E5%9C%A8%E8%BF%99%E7%A7%8D%E6%83%85%E5%86%B5%E4%B8%8B%EF%BC%8C%E4%BB%8E%E8%AE%BE%E5%A4%87%E5%BA%94%E8%AF%A5%E4%BF%9D%E6%8C%81%E6%97%B6%E9%92%9F%E4%BF%A1%E5%8F%B7%E4%BD%8E%E7%94%B5%E5%B9%B3%EF%BC%8C%E7%9B%B4%E5%88%B0%E6%9C%89%E5%8F%AF%E7%94%A8%E6%95%B0%E6%8D%AE%E4%B8%BA%E6%AD%A2%E3%80%82%E6%97%A0%E9%9C%80%E5%9C%A8%E4%B8%BB%E8%AE%BE%E5%A4%87%E7%AB%AF%E6%89%A7%E8%A1%8C%E4%BB%BB%E4%BD%95%E6%93%8D%E4%BD%9C%E5%8D%B3%E5%8F%AF%E5%90%AF%E7%94%A8%E6%97%B6%E9%92%9F%E6%8B%89%E4%BC%B8%E3%80%82%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CP%3E%3CSPAN%20style%3D%22color%3A%20%23303030%3B%22%3E%E9%82%A3%E4%B9%88%E4%BB%A3%E7%A0%81%E5%A6%82%E4%BD%95%E5%A4%84%E7%90%86%E6%97%B6%E9%92%9F%E5%BB%B6%E9%95%BF%EF%BC%9F%E4%BB%8E%E8%AE%BE%E5%A4%87%E5%BA%94%E8%AF%A5%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20%23303030%3B%22%3E%E5%85%88%E5%B0%86%20read_start%20%E5%88%87%E6%8D%A2%E4%B8%BA%E9%AB%98%E7%94%B5%E5%B9%B3%EF%BC%8C%E7%84%B6%E5%90%8E%E8%AF%BB%E5%8F%96%E6%95%B0%E6%8D%AE%E5%AF%84%E5%AD%98%E5%99%A8%E6%89%8D%E8%83%BD%E7%9C%9F%E6%AD%A3%E5%90%AF%E5%8A%A8%E4%BC%A0%E8%BE%93%E3%80%82%E8%AF%B7%E8%AE%B0%E4%BD%8F%EF%BC%8C%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20%231f497d%3B%22%3E%3CSPAN%20style%3D%22color%3A%20%23303030%3B%22%3E%E4%BB%8E%E6%95%B0%E6%8D%AE%E5%AF%84%E5%AD%98%E5%99%A8%E8%AF%BB%E5%8F%96%E6%95%B0%E6%8D%AE%E6%89%8D%E6%98%AF%E7%9C%9F%E6%AD%A3%E8%A7%A6%E5%8F%91%E4%BC%A0%E8%BE%93%E7%9A%84%E3%80%82%E5%AE%A2%E6%88%B7%E6%80%BB%E6%98%AF%E5%BF%BD%E7%95%A5%E8%BF%99%E4%B8%80%E7%82%B9%E3%80%82%3C%2FSPAN%3E%3CBR%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CP%3E%3CSPAN%20style%3D%22color%3A%20%231f497d%3B%22%3E%20%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CP%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E
无评分
版本历史
最后更新:
‎06-30-2016 12:39 AM
更新人: