If .ss_pin is set to NRFX_SPIM_PIN_NOT_USED in nrfx_spim_init, the setting is not copied into the stored config in m_cb. This results in pin 0 being toggled during every SPIM transaction (since ss_pin in m_cb defaults to 0).
The config is only copied here:
https://github.com/NordicSemiconductor/nrfx/blob/cf78ebfea1719d85cf4018fe6c08cc73fe5ec719/drivers/src/nrfx_spim.c#L288
Which only happens if ss_pin is != NRFX_SPIM_PIN_NOT_USED
https://github.com/NordicSemiconductor/nrfx/blob/cf78ebfea1719d85cf4018fe6c08cc73fe5ec719/drivers/src/nrfx_spim.c#L266
Later, in spim_xfer(), the ss_pin setting (which is now 0) is used to determine whether or not to toggle, which causes the issue:
https://github.com/NordicSemiconductor/nrfx/blob/cf78ebfea1719d85cf4018fe6c08cc73fe5ec719/drivers/src/nrfx_spim.c#L567
If .ss_pin is set to NRFX_SPIM_PIN_NOT_USED in nrfx_spim_init, the setting is not copied into the stored config in m_cb. This results in pin 0 being toggled during every SPIM transaction (since ss_pin in m_cb defaults to 0).
The config is only copied here:
https://github.com/NordicSemiconductor/nrfx/blob/cf78ebfea1719d85cf4018fe6c08cc73fe5ec719/drivers/src/nrfx_spim.c#L288
Which only happens if ss_pin is != NRFX_SPIM_PIN_NOT_USED
https://github.com/NordicSemiconductor/nrfx/blob/cf78ebfea1719d85cf4018fe6c08cc73fe5ec719/drivers/src/nrfx_spim.c#L266
Later, in spim_xfer(), the ss_pin setting (which is now 0) is used to determine whether or not to toggle, which causes the issue:
https://github.com/NordicSemiconductor/nrfx/blob/cf78ebfea1719d85cf4018fe6c08cc73fe5ec719/drivers/src/nrfx_spim.c#L567