Skip to content
This repository has been archived by the owner on May 21, 2020. It is now read-only.

Buffer length of I2C master is 32 bytes, not enough for command TgInitAsTarget #1

Open
xiongyihui opened this issue Jul 25, 2013 · 1 comment

Comments

@xiongyihui
Copy link
Owner

No description provided.

@JiapengLi
Copy link

这个的确是个麻烦事儿。官方的Wire库是用中断加缓冲区方式实现的,总共用了5个缓冲区(5*32=160B),挺费RAM的。还有好像那个requestFrom函数式阻塞形式的,每调用一次,阻塞等待I2C总线接收数据,没有超时退出这种机制,这样readResponse函数是不是有可能无法退出,不是特别确定。

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants