Libstock prefers package manager

Package Manager

We strongly encourage users to use Package manager for sharing their code on Libstock website, because it boosts your efficiency and leaves the end user with no room for error. [more info]

Project Request

Return
Arend Van Oosten
white-eagle

posted on 2015/08/28 01:30:37 PM CEST

Audio & Speech

SPI Slave write code

I am looking for a routine that lets a 18f2520, programmed as a SPI slave with SS enabled to output a frame of 8 bytes to a master processor.
The master first turns SS low and then sends 8 bursts of 8 clock cycles to the slave to read the bytes, after which SS is turned high again.

I can write a single byte, thats not a problem but need help with outputting a frame of 8 bytes.

Any pro programmer who can help me?