Post Go back to editing

2D DMA configuration in Blackfin-609

Category: Software
Product Number: blackfin 609
Software Version: 2.8

Hi Everyone,

I'm using blackfin UART0 and trying to Communicate With Docklight(Serial Monitor Application ) buadrate is 115200,

           First I prepared A sequance or 48 bytes frame in Doclight  

Docklight 48 Bytes Frame is like : 0xfa,0xfa,0x00,0x00,0x00,0x00,................0xaa,0xaa Headder is 0xfa,0xfa and footer is 0xaa,0xaa,

if i send this Frame to Uart (Finboard) i was geting like all 0's means total 48 bytes are getting 0's

unsigned char DOC_RX_BUFF[48];

here is my 2D DMA config: DMA_CFG  |= XCNT_INT | DMA_EN | 2D_DMA | Msize08 | XCNT_TRIG |AUTO|WRITE;

                DMA_ADDRSTART = DOC_RX_BUFF;

               DMA_XCNT = 48;

               DMA_XMOD =1;

              DMA_YCNT  =1;

              DMA_YMOD =1;

   ACTUALLY IF SEND 48 BYTES THROUGH DOCKLIGHT  BLACKFIN UART SHOULD RECEVIE 48 BYTES IN DOC_RX_BUFF AS ARRAY

PLEASE HELP ME WITH THIS THANK YOU...

Thread Notes