Proton capture gamma rays from the reaction p31(p,gamma)s32 leading to the ground and first excited states of s32