Spin state and magnetic ordering of half-doped