dsPic moving memory

Discussion in 'Embedded Systems and Microcontrollers' started by blind2_man, Feb 18, 2013.

  1. blind2_man

    Thread Starter Active Member

    May 12, 2008
    33
    1
    In dspic33F family there are:
    DMA RAM
    x/y space

    Lets say I have ADC aqusitions generating data to DMA RAM alocated space.
    I have to apply an algorithm using x/y space. Is there any fast method to copy from DMA RAM to x/y space?
     
  2. MrChips

    Moderator

    Oct 2, 2009
    12,446
    3,362
    We may be able to help if we knew what is x/y space.
     
  3. blind2_man

    Thread Starter Active Member

    May 12, 2008
    33
    1
    The x/y space is a special defined RAM that can be used to make special dsp calculation.
    eg in C30 compliler you can define :
    "fractional abcCoefficient[3] __attribute__ ((section (".xbss, bss, xmemory")));
    fractional controlHistory[3] __attribute__ ((section (".ybss, bss, ymemory")));"

    Using this you can use the dsp core.
     
Loading...