Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
SPIM Soft SS Not working #16
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:
Which only happens if ss_pin is != NRFX_SPIM_PIN_NOT_USED
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: