My Universal Parallel Port (UPP) seems to be intermittently dropping incoming data transfers. How do I fix that?
Here are the clues so far. I'm using the UPP peripheral on the C6748, LogicPD EVM board, inputting 10-bit A-to-D data sampled at 14 MHz. The UPP acquires exactly the right number of samples -- that is, when I request N samples, it delivers exactly N samples -- however the samples are not contiguous, as some samples are missing. For example, I input a clean analog triangle waveform, and find that occasionally 20 samples in a row are omitted (which is clearly visible when I examine the acquired data).
I'm using only one channel of the UPP. (However, I am compelled to put the UPP into "Dual Channel Mode" in the UPCTL register, because this affects the pinout of the C6748 and hence is compelled by the layout of the EVM board.) On the EVM board, the sampling clock comes to the UPP from the external programmable clock (the TI CDCE913PW) -- so perhaps that chip is occasionally dropping the clock pulses? I dunno.
I believe (perhaps incorrectly?) that the UPP has internal buffering and independent control that makes it's sampling rate quite independent of the processor interrupts, etc. So I'm baffled how to solve this problem.
Thanks for any help you can give.
