SC18IS602's chip select polarity

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

SC18IS602's chip select polarity

929 次查看
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

标记 (1)
0 项奖励
回复
2 回复数

806 次查看
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 项奖励
回复

806 次查看
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 项奖励
回复