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

Default SPI clock speed dropped from SPI_CLOCK_DIV2 to SPI_CLOCK_DIV128, causing intermittent SPI communication issues #54

Closed
tdicola opened this issue Feb 2, 2014 · 0 comments

Comments

@tdicola
Copy link
Contributor

tdicola commented Feb 2, 2014

I've been debugging a few recent intermittent lockup issues and found the recent change to add support for the Due (this one f1172f2 ) accidentally dropped the default SPI clock speed from CPU clock speed div 2, to clock speed div 128. This value is likely right on the edge of being too slow to communicate with the CC3000 reliably and explains the intermittent nature of the issue. The fix should be straight forward, for the non-Due platforms set the default SPI clock speed back to div 2. Opening this as an issue first and then sending a pull request with the fix separately.

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

1 participant