Hello,
I make measurements of the time necessary to access (write mode) (by CPU) to an asynchronous memory mapped on a C6414T and the results I obtain are not consistent with theorical results ( my results are three time longer).
The used configuration is as follows :
- CPU frequency=300MHz, EMIF-B ECLKOUT1=75MHz
- EMIF-B space CE0 configured as asynchronous (16 bits wide)
- WRSETUP+WRSTRB+WRHLD = 3 cycles (at BECLKOUT1 clock rate)
- TA = 0
- The test program is in internal DSP memory
- All maskable interrupts are masked (GIE=0) during the test
- Compiler options : -O2 -mv6400
The used test program is as follows :
UWord16 i;
for(i=0;i<1000;i++)
{
*((volatile UWord16*)0x60000000) = i;
}
The measured time to perform 1000 write accesses is : 120us. I expected a necessary time of : 40us.
Do you have any explanation for these results?
Is there internal latencies (from CPU to EMIF) in addition of hardware programed latencies (WRSETUP+WRSTRB+WRHLD) ?
Thanks for your help.
Corentin LE HUBY