There is no way to implement Self Refresh mode for SDRAM without external glue logic. The problem is that Self Refresh command couldn't be implemented without synchronous (with SDRAM clock) control of the Clock Enable SDRAM input (CKE).
Below is possible variant of the "glue logic" which allows to put SDRAM into Self Refresh mode. During normal operation Output port pin level is high. When Self Refresh is required, Output port pin level is set to low. In this case CKE will be lowered synchronously with SDRAMCS.
