Hi
I am using EDMA on DSP:c6454.
EDMA setup:
OPT unsigned int 0x8001B004 (Hex) SRC unsigned int 0xE270098E (Hex) A_B_CNT unsigned int 0x000D0002 (Hex) DST unsigned int 0xB0200E00 (Hex) SRC_DST_BIDX unsigned int 0x00000002 (Hex) LINK_BCNTRLD unsigned int 0x0004FFFF (Hex) SRC_DST_CIDX unsigned int 0x00000000 (Hex) CCNT unsigned int 0x00000001 (Hex)
The transfer controller hang on read with the following register values:
EDMA3TC0_SAOPT 0001B010 EDMA3TC0_SASRC E270098E EDMA3TC0_SACNT 0000001A <----- Acnt = 2*0xD = 0x1A, but why BCNT=0? EDMA3TC0_SADST 00000000 EDMA3TC0_SABIDX 00000002 EDMA3TC0_SAMPPRXY 00000100 EDMA3TC0_SACNTRLD
I understand the transfer controller optimized from a 2D-transfer to a 1D-transfer, that is why the SACNT = 2*0xD = 0x1A
but why the Bcnt = 0?, should it be 1?, is that the reason the read hang?
Thanks
James