1 Reply Latest reply on Mar 27, 2017 5:13 PM by user_342122993

    8 bit to 16 bit conversion using DMA

    user_463759797

        I would like to convert and move 8 bit data in one SRAM buffer into 16 bit data in another SRAM buffer.  The data bytes can be twinned, as I will be interpolating using the Digital Filter Block later on.

         

        I have used DMA to move data from SRAM to Peripheral, and Peripheral to SRAM, but early on my attempts to move from SRAM to SRAM did nothing.  I'm sure I will figure it out now, since I *have* to. <grin>

         

        I would like to do this at as high a speed as possible.  I guess I could DMA into a register and then DMA out of a register; however,  PSOC only supports 8 bit registers.  

         

         Any suggestions?

         

        Thanks in advance!