Quote:
but it's for my little 3-chip [R65C02] SBC.
That's what makes it ok here.
Change "SCK" to "CKP" and I think it will all be correct. I don't know why they have to make it so complicated though. I never know what mode I'm in. I have to go through this stuff every time I use it for another part. I just referred again to
http://en.wikipedia.org/wiki/Serial_Per ... erface_Bus. If I bit-bang it instead, I just follow the waveform charts and things work, and I still don't know what mode I'm in, but it was easier.