I am progamming a design based on the AM3517EVM, and I am having trouble with an external DMA request. I can do a Software-Triggered (Nonsynchronized) DMA Transfer, however, when I try and change it to a Hardware-Synchronized DMA Transfer, using sys_ndmareq1 pin, it does not work. The DMA controller behaves as if it is stalled/ "not seeing" the sys_ndmareq1 input. I followed all of the steps outlined below (doc: SPRUGR0C – October 2009 – Revised November 2013, pp.820). Any ideas would be greatly appreciated. Thanks! Kerry
7.5.3 Hardware-Synchronized Transfer
To monitor a hardware synchronized DMA transfer, initialize the SDMA.DMA4_CDACi register before the
software enable.
To configure an LCh to synchronize by element, packet, frame, or block, the frame synchronization
SDMA.DMA4_CCRi[5] FS bit and the block synchronization SDMA.DMA4_CCRi[18] BS bit register must
be programmed. For all the following synchronized transfers (element, packet, frame or block
synchronized transfers) User must set first : SDMA.DMA4_CCRi[24] SEL_SRC_DST_SYNC to 1 when the
source triggers on the DMA request and SDMA.DMA4_CCRi[24] SEL_SRC_DST_SYNC to 0 when the
Destination triggers on the DMA request. Note: User must take care when setting the
SDMA.DMA4_CCRi[23] PREFETCH bit it is in conjunction with SDMA.DMA4_CCRi[24]
SEL_SRC_DST_SYNC bit .
• To configure an LCh to transfer one element per DMA request:
1. Set the number of DMA request associated to the current LCH in the SDMA.DMA4_CCRi[20:19]
SYNCHRO_CONTROL_UPPER and SDMA.DMA4_CCRi[4:0] SYNCHRO bit field.
2. Set the data type, also referenced as element size (ES), in the SDMA.DMA4_CSDPi[1:0] DATA_TYPE
bit field.
3. Set the Read Port access type (single or burst access) in the SDMA.DMA4_CSDPi[8:7]
SRC_BURST_EN bit field.
4. Set the Write Port access type (single or burst access) in the SDMA.DMA4_CSDPi[15:14]
DST_BURST_EN bit field.
5. Set the Read Port addressing mode in the SDMA.DMA4_CCRi[13:12] SRC_AMODE bit field.
6. Set the Write Port addressing mode in the SDMA.DMA4_CCRi[15:14] DST_AMODE bit field.
7. Set the Read start address in the SDMA.DMA4_CSSAi[31:0] SRC_START_ADRS bit field.
8. Set the Write start address in the SDMA.DMA4_CDSAi[31:0] DST_START_ADRS bit field.
9. Set both FS and BS to 0 in SDMA.DMA4_CCRi[5] FS and SDMA.DMA4_CCRi[18] BS.
10. Set to 1 the channel enable bit SDMA.DMA4_CCRi[7] EN bit.