if I remember correctly, you can disable the use of the frame indicator function in the gumstix by editing the kernel driver. The only reference I immediately found was this link on the gumstix wiki:So I was thinking about using the 3 SSP lines in SPI mode. The thing that is confusing me is that the gumstix uses 4 wires for it's "Motorola Serial Peripheral Interface* (SPI) protocol" these are:
I know this works as it is how I have my kernel configured.
The datasheet (page 168 + 169) have the relevant information. The fastest speed available in slave mode is fosc/2 (oscillator frequency / 2). This gives 4MHZ for the speed.The other bit of information that I couldn't find on the web is the speed that the the ATmega168 can run it's SPI line at. These no info in the docs about it's max speed to error rate.
In real life you won't actually get anything near this, but something nearing 2mb/s is achievable if carefully optimised.
Absolutely yes 100%. I have my gumstix SPI flashing the bootloader without much trouble at all.Do you thing the two will work together?
Just a quick question... you realise each SPI slave is going to need its own SS select line? Or did you have some sort of shift register in mind for slave selection? Alternatively do you know if the AVR supports daisy chaining?