Shell-model calculations inA=28?32 nuclei