Hi prachi panse,
If you want to control the SSEL flexibly, you need to configure it as GPIO.
The GPIO configuration is very simple, choose the function as GPIO, please also enable the internal pull up, configure the gpio directly as output, then control the according gpio to high and low.
After you configure it, you need to test it at first, whether the GPIO function is working.
Please try to configure the GPIO at first, if you are still not OK, please tell me which pin you are using, I will help you to check it.
Have a great day,
Kerry
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------