Hi all,
I have been working with SC18IS602--- I2C to SPI converter. I have got a problem with the chip. My device get SPI data when Chip select pin is high but the SC18IS602 generating active low chip select signal. Is there any way of configure the SS pins polarity?
I have read the datasheet and could not fount any related thing. Any other suggestion would be appreciated.
Thanks,
Mert
Hi Mert,
You can configure the SS pins as GPIOs and then use the GPIO Write command to change the state of selected GPIOs/SSs.
Best regards,
Tomas
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