This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Internal memories

I want to ask about how to configure L1D memory to be (all SRAM), what are the registers that I need ????

Also I need to know what is the purpose of L2 memory, can I load a video frame in it directy from the CCDC?????

  • The L1DCFG  register sets SRAM/cache allocation size.  You will probably want to use one or more of the L1DWB, L1DWBINV, L1DINV registers to handle cache coherency when you change the L1DCFG register.  After you write the L1DCFG register, you will want to read it back (this makes sure the change takes effect before you use the new configuration).

    L2 is memory that is bigger than L1 and faster to access than external memory.  Anything you put in L2 will have to get to L1 before the processor core can access it.  Yes, if you configure L2 to have enough SRAM to hold your video frame, you can write directly to it from the ccdc.

     

  • Thanks alot for the valuable tips, I will try them and feed you back soon....