I'm using a 18f24j11 to control a led matrix 8x8 and i want to comunicate with the leds via spi.. My led driver's are the as1109, and i need the signal sdi, sdo,oen,ld and clk. I have connected the sdi to pin16, clk to pin14. And the others to normal port's.

I'm stuck in configuration of spi module.. Someone can help me?

Best regards
pedro rodrigues