rx-231 SCI6 as SPI

Dear All

I want to use RX-231 SCI6 (pin 16, 17, 18) to read / write data to external RAM.

Is there any sample code about this ?

regard,

rachmat