What I did:
- Checked out waveforms with CRO and wave generator, and the receiver output was like distorted sine waves
- created a short program to generate a trigger pulse from PRU using gpio pin from output register
To detect the time of flight, i have planned to analyse transmitter and receiver waves and find cross correlation after adc sampling of waveforms, by using some python libraries like numpy.
challenges:
- how to program PRU0 such that it can trigger the transmitters at required time and also change the input channel in PRUDAQ
- store and transfer the output from adc to user space to use python libraries