I would like to communicate with an SPI slave device using the 18F252 hardware MSSP module. I need to transfer blocks of 512 bytes at a time at a higher rate of speed than SHIFTOUT in PBP can provide. Since the device is battery operated, increasing clock speed to the processor is not an option. Somewhere around 1 Mb per second is sufficient.Does anybody have a code snippet they can share for doing this? Any hints would be helpful.

Thanks,
Ron