Forum Discussion
Altera_Forum
Honored Contributor
11 years agodear dave,
Thank you for your feedback. I have to confess that I've never used Signal Tap. I did a fast analysis on your manuscript and downloaded the zip file of esc-104. I'll study this since you used de0-nano. Regarding your suggestion, actually my approach was to sample a reference signal (signal 1) then a delayed signal (signal 2). After cross correlating both signals, the result will give me the difference of time between the pulsed ultrasonic signal. When there's no wind, it's expected to measure a fixed delay. However, when there's wind, the delay will be changed. When the wind is around 1 to 2m/s for example, this delay increases/decreases of about some nano seconds. That's the change of time I need to measure, since this measurement will end in the wind measurement. Therefore, I'll study to write a vhdl code where a counter starts at the moment I excite an ultrasonic sensor. In parallel, there would be another vhdl code tto read ADC then, after the data gathered is over a trigger, then this counter stops. In this case, I would not be using cross correlation algorithm. In every case, I'll study Signal Tap to check what this tool can help me. dear ted, Thank you for your feedback. I was thinking about your suggestion and the thing is: Can I use FIFO (from megawizard) with a clock of 20 MSPS? If yes, then I would gather ADC's data in a sample rate I need. However, once the data is in FIFO, Can I read the data in a lower rate? For example, at a 1 MSPS? Kind Regards, Tiago