This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

cc2530 SPI slave mode

Other Parts Discussed in Thread: CC2530

Dear all,

   I'm trying to interface the CC230 with the humidity sensor DYPTH01B from Sure Electronics using SPI.

The sensor is configured as master but the CS is controlled by the slave ( see the data sheet )

The problem here that the CC2530 configured in slave mode have the SNN as peripheral input and the slave mode operation is activated only wen the SSN  is low.

the easiest solution that I found is to configure another pin us GPIO output and connect it simultaneously to the CS pin of the sensor and the SSN pin of the CC2530, but i don't  know if it is the best solution.

Can I just configure the SSN pin of the cc2530 as GPIO output and use it ? dose the SPI slave mode works correctly with this configuration ?

 

sensor data sheet :
6786.7719-TERMOIGROSENS.pdf

Best regards,

    Haykel.