Hi All,
I would like to ask a question on Interrupt Controller of Davinci processors.
Among the interrupt controller registers, three types of registers are very important:
1. EVTFLAG[3:0]
2. EVTCLR[3:0]
3. EVTSET[3:0]
In the first line of page 159 of SPRU871k, TMS320C64x+ DSP Megamodule Reference Guide, it is said that event flags retain their values, and in the following description for EVGCLR and EVGSET it is said that these clearing or setting these two registers is the way to change corresponding EVTFLAG value and its design purpose is to avoid potential race conditions.
It did not say what happens after setting a particular EVTCLR or EVTSET. If they are also retained like EVTFLAG, then there will be some conflicting conditions. For example,
1. First, EVTCLR[x] is set to 1, and retained
2. Then, EVTSET[x] is set to 1 and retained
Then in the following clock cycles there will be a demand to both clear and set EVTFLAG[x], which is a conflict.
So although the manual didn’t say, it should be that EVTCLR and EVTSET registers will clear themselves automatically after it has been set. Is this correct?
I have tried to use BIOS in CCS4, but didn't find a tutorial. Is there any helpful document to get started quickly?
Sincerely,
Zheng