Interfacing of RL78/G1C with Elink (E1271CS021)

Hello,

I am working on RL78/G1C (QB-R5F10JGC-TB). So far I got success in the initial program of flashing LED. 

I have moved to next stage of interfacing the Eink (E1271CS021) to RL78/G1C using SPI interface.

I am struck between SPI protocols for Master and slave. 

Please anyone can share help in coding?

thanks n advance!

best regards,

Madhu