Tool/software:
Hello experts!
Our actual situation:
We want to use XINT1 and XINT3 as external interrupt sources, without (!) firing the respective interrupts. No problem, this surely works.
On page 192 of spruh18i.pdf we found the following information:
For XINT1, XINT2, and XINT3, there is also a 16-bit counter that is reset to 0x000 whenever an interrupt edge
is detected. These counters can be used to accurately time stamp an occurrence of the interrupt. XINT1CTR
through XINT3CTR are identical except for the interrupt number; therefore, Figure 1-106 and Table 1-131
represent registers for the external interrupts as XINTnCTR, where n = the interrupt number.
Question: How to get the value of each 16-bit counter? Can we use DMA? If yes, how to do this?
As we can see in the following picture (taken from pdf page 172), there seems to be DMA support.
Is it possible to transfer the 16-bit counter to RAM via DMA? If not, how to get the result, if the "accurately time stamp"
is reset on every interrupt edge? Please remember: no ISR can be used ...
Thank you in advance!
Atti