Hello,
I have to measure sine wave (voltage between 0 and 2.5 V) using analog-ditigal converter. The measurement should be synchronized with the transition by zero (square wave 0 and 3.3 V detected by digital input/output - more here).
I'm using uC MSP430F149 - sine wave is connected to ADC input (P6.0) and square wave to Port 1 (P1.0).
Every single circuit works perfectly well, but the proglem occurs when I connect both circuits in the same time - P1.0 input is always in high state.
It seems the sine wave is added to square wave.
Could anyone tell me what should be done to make my circuit working?
Thanks in advance - Michal.
I have to measure sine wave (voltage between 0 and 2.5 V) using analog-ditigal converter. The measurement should be synchronized with the transition by zero (square wave 0 and 3.3 V detected by digital input/output - more here).
I'm using uC MSP430F149 - sine wave is connected to ADC input (P6.0) and square wave to Port 1 (P1.0).
Every single circuit works perfectly well, but the proglem occurs when I connect both circuits in the same time - P1.0 input is always in high state.
It seems the sine wave is added to square wave.
Could anyone tell me what should be done to make my circuit working?
Thanks in advance - Michal.