RN 52 noise while connecting to raspberry pi

Hi,

i want to make a recorder using Rn52, i have connected the rn 52 speaker output with raspberry pi mic (using a usb sound card), but the recording i having so much of noise , please suggest something useful.