CSWA/CSWP

I’d like to ask since if we retake the CSWA or CSWP, the next attempt must have a 14-day gap, is there also a required minimum gap between taking the CSWA and then the CSWP? Or can we take the CSWP immediately after passing the CSWA?