Other Parts Discussed in Thread: HALCOGEN
Hi,
I'm experiencing, what I think is, cache coherence problem with acquisition data that is transfered from the ADC RAM FIFO results buffer to the L2 RAM using the DMA.
ADC1 Group2 - 8 channels -> DMA channel 3 -> L2 RAM transfer is trig @1KHz
ADC2 Group1 - 5 channels oversampled 8 times -> DMA channel 4 -> L2 RAM transfer is trig @ 3KHz (but can be up to 20KHz)
ADC2 Group2 - 5 channels -> DMA channel 5 -> L2 RAM transfer is trig @1KHz
When the cache is enabled: some data are not transfered at all(their value in L2-RAM is 0 ), some are intermittent, and some are always transferred.
When the cache is disabled : everything is working fine.
Also, the same code has been working fine for many years on the TM570LS3 (which does not have a cache)
How can I investigate this problem ?
Is there some documentation that explain in detail the use of function CoreInvalidateDataCache ?
Is there a way to declare some L2 RAM section not cacheable ?
Best Regards,
Charles Obry