Originally posted by Carl-NC
View Post
Thanks everyone for suggestions. They are all good.
I also do the over sampling to get better results.
Eclipse:
I assume this is PI detector code since you say 'delay pot'.
The TX/RX cycle time is much shorted than the period needed to adjust the 'delay pot'.
So take a 'delay pot' ADC sample every TX/RX cycle and then after x# cycles take the average.
To feel like 'real time' adjustment a new pot value is only needed about every 30ms.
Comment