Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SPI can't handle transactions larger than 121 byte #6

Open
GiedriusM opened this issue Aug 13, 2014 · 1 comment
Open

SPI can't handle transactions larger than 121 byte #6

GiedriusM opened this issue Aug 13, 2014 · 1 comment
Assignees
Labels

Comments

@GiedriusM
Copy link
Contributor

The device hangs if SPI transaction data size is larger than 121 bytes.

@GiedriusM GiedriusM added the bug label Aug 13, 2014
@GiedriusM
Copy link
Contributor Author

This is a deadlock between full CDC receive buffer (which is 128 bytes) and SFP server waiting for full packet to be available. Quick fix - increase the buffer to 256 or 512 bytes. Better fix - parse binary packets on the go (just like ascii packets are).

@GiedriusM GiedriusM self-assigned this Aug 17, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant