This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Slave select pin always low

Hi 

The slave select (ss) pin during the spi communication is always low even when i make it high to release the spi bus. It looks to me that I'm not actually controlling the ss pin. 

I am using nrf52840, soft device is enabled.

My spi open code looks like following:


  • Hi 

    I got solution for this, the SPIM driver makes the slave select pin active high, making the pin low after the spi transfer is done and we can not make it high. I used SPI driver instead of SPIM driver to make the slave select pin high when there is no spi transfer. 

    The driver uses slave select pin as active high during transfer. Changing from nrfx_spim.c to nrfx_spi.c resolved the issue.

    Thanks and regards

  • Hi,

    Good that you found the solution and returned with it.

    regards

    Jared 

1 2