Sorry for sloppy explanation, I have carrier and message signal that are entering resolver as reference signal the are coming from function generator at 5v 10khz, out of resolver sensor I have 4 wires sine+- and cos+-, I need to modulate that signal to get envelope, I am using bluepill stm32, voltage is at normal level for adc for stm32. My question is how can I connect all of that, or is there need for anything else