SC18IS602's chip select polarity

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

SC18IS602's chip select polarity

682 Views
mertmertce
Contributor I

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

Tags (1)
0 Kudos
2 Replies

559 Views
TomasVaverka
NXP TechSupport
NXP TechSupport

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.

pastedImage_2.png

pastedImage_4.png

Best regards,

Tomas

0 Kudos

559 Views
mertmertce
Contributor I

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

0 Kudos