-
Notifications
You must be signed in to change notification settings - Fork 1
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
Documentation for the SPI-lines #2
Comments
I'm not at the fablab anymore and haven't seen the hardware in years, so I won't be able to help much. It sounds rather unlikely that your CH-926 is that different - the 74HC164 can't do 9 bits, so you'd need either more of those or a different IC, but if that is indeed what's going on with yours then you might be able to use one of the ATTinys with an USI. |
You are correct - the 74HC164 is 8bit - so why the chineeze send 9 clock pulses is a mystery to me. I had problems using hardware SPI so I connected the Logic Analyzer which easely pinpointed why I had problems using hardware SPI... One short clock pulse before the real and useful 8 clock pulses came good in..... I have managed with an arduino I had laying around. But thanks for the tip about the ATTinys with USI. Will check it up. |
how can i compile the code that i can download it ? |
You might need Atmel studio for this project. Not very well documented either - but you can have a look at my project. Best regards, Arild |
Please update documentation for where to put the two signals for SPI:
find chip 74hc164:
SPI Data-signal is on pin1 and pin2. SPI Clock is on pin8.
Trouble is..... on my ch926 the signal on SPI is 9-bit.... which gives me problems using hardware SPI on Arduino :(
The text was updated successfully, but these errors were encountered: