AnsweredAssumed Answered

MAC usage with Register based DMA operation

Question asked by tamirci on May 20, 2013
Latest reply on Jul 5, 2013 by tamirci

Hi,

 

I would like to use MAC (Fast Ethernet Controller) with register based DMA operation by defining a function like below (I mean; i have tree different package type and would like to send this packets directly without using extra buffer);

 

I m initializing DMA2 for register based DMA operation and define following function to send my package.

 

bool SendMacTxFrame ( void *package_ptr) {

 

     *pDMA2_START_ADDR = package_ptr;

 

     *pEMAC_OPMODE &=(~TE);

 

     while (DMA1_IRQ_STATUS & DMA_DONE);

 

}

 

is it possible with MAC DMA ? any advice ?

 

Best regards,

Outcomes