Hi Tomas,
Thanks for your quick response. I have done it so but it didnt work. To write sth from i2c to SPI, the write protocol asks for chip select pin (as stated in datasheet). If I send the chip select pin which I configured as GPIO it is not generating any output. However if I send some other Chip select pin that are not configured as GPIOs it is generating something on MOSI and SCK.
Why it is behaving so? Do I need to change write protocol as well when I configure the chip select pins as GPIO?
Thanks
Mert