My goal is to measure RC-receivers RSSI pin with atmega328p and send the Received signal strenght to computer using UART with the help of FT232.
The signal what I am measuring looks like this:
Signal always stays up about 500us and then drops to 0.7V for a while, but only after that I am interested of the signal level, becaus that is varying by the signal strenght.
EDIT: Signal is up when Rx is off. The Rx is turned on little earlier than Tx, so the 0.7 level is the noise level.
Then the Tx is turned on and the connection is so good that the level goes to zero, but if there is very bad connection the level will be closer to noise level. That is the simple explaining to the behavior, but it is lot more comlicated.
So I want to measure samples from the last period of signal and do some calculation for them, but my problem is how to trigger the ADC or should I use continous mode.
I was thinking could I put my signal also to Input Capture pin and with auto trigger start the adc when there is rising edge and then store only the data after 1ms-> 1.4ms.
Thank you in advance for your tips!