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.

IAR V4.2 and DMA examples

Other Parts Discussed in Thread: MSP430F2618

I am trying to get the DMA controller going with the MSP430F2618 and IAR Embedded Workbench V4.2.

 

The example I am using is in SLAC151C.ZIP and is the MSP430x261x_dma_12_IAR.c file

 

I get the following error when I compile the following code

      DMA1SA = (int)&UCB0RXBUF;                  // Src single addr = UART RX Buffer

Error[Pe513]: a value of type "int" cannot be assigned to an entity of type "void *" C:\Documents and Settings\Andrew Harwood\Desktop\MonTrack MK1.5\New Code\main.c 16127

Can anyone help?

 

**Attention** This is a public forum