-
Notifications
You must be signed in to change notification settings - Fork 2
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
Tessel sdcard module does not work with ambient module #22
Comments
For referenc here, the problem is:
Result:
Unfortunately, I do not have an ambient module (or any ATTiny modules) and so it could be difficult to diagnose whether this is a hardware, firmware or library issue. Any chance you have a logic analyzer, even a cheap 20Msps USB one? A sample of the SPI bus (clock/miso/mosi) from either port plus the select lines from both ports simultaneously could be enlightening. |
Hey @natevw, I do not have a logic analyzer (I don't even know what that is 😕). Is there any other way I can get the info you're looking for? |
You might try the Tessel forums to see if others have similar problems or a workaround. There's some logging that can be turned on in the sdcard library, but I don't know how much it would help if it is a problem with multiple devices on the SPI bus. If there's not some sort of solution through the forums, perhaps the TM team could look into it with their expertise or send me one of the incompatible modules to do more troubleshooting myself. Sorry I don't have better ideas, just hard to know what's going on without being able to see it myself. |
Thanks for the feedback. I've trawled the forums already and this was my last resort when I couldn't find anyone experiencing the same problem. Will certainly be easier to figure this out if you had the modules to reproduce it. |
@brutaldev can you please cross-post to the forums? You might be the first, but not the last to see this problem, so we typically debug there so any future people with the same problem can see the process. Thanks! |
@Frijol No problem, will copy the StackOverflow post to the forums when my account is activated :) |
whoops! Sorry, approved |
Thanks @Frijol. I have posted the same question on the forum as requested: https://forums.tessel.io/t/tessel-sdcard-module-does-not-work-with-ambient-module/2100 |
Thanks! We'll take a look. |
Using v0.2.5 of the ambient-attx4 module and v0.8.7 of the sdcard module. This is the output of
Checked for updates and these are the latest published versions. Perhaps a dependant project has been updated that broke things? |
@brutaldev it looks like the SPI bus isn't being locked properly properly when each module is using it. Unfortunately, I don't have time to investigate Tessel 1 regressions at the moment. |
I've posted a StackOverflow question with all the details: http://stackoverflow.com/q/33184440/564726
The text was updated successfully, but these errors were encountered: