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.

TMS320F280039: 280039 ADC DMA采样相关问题

Part Number: TMS320F280039
Other Parts Discussed in Thread: C2000WARE

你好,在app配置ADC DMA采样用,跳到boot或在flash擦除期间CPU卡死导致看门狗复位,请问是什么原因? ADC DMA配置(功能对两通道ADC搬移到buf1[ ] buf2[ ])有什么问题?

DMA_configAddresses(DMA_CH1_BASE, (const void*)0x0000D978U, (const void*)0x00000B03U);
//DMA_configAddresses(DMA_CH1_BASE, uwAdc1DmaBuf, &AdcaResultRegs.ADCRESULT3); //(const void*)0x00000B03U
DMA_configBurst(DMA_CH1_BASE, ADC1_BURST_LENGTH=2, 1, ADC1_DMA_SIZE=4);
DMA_configTransfer(DMA_CH1_BASE, ADC1_DMA_SIZE=4, -1, -3);
DMA_configWrap(DMA_CH1_BASE, ADC1_DMA_SIZE=4, 0, ADC1_DMA_SIZE=4, 0);
DMA_configMode(DMA_CH1_BASE, DMA_TRIGGER_EPWM8SOCA, DMA_CFG_ONESHOT_DISABLE | DMA_CFG_CONTINUOUS_ENABLE | DMA_CFG_SIZE_16BIT);
DMA_enableTrigger(DMA_CH1_BASE);
DMA_startChannel(DMA_CH1_BASE);

ADC1_RAMGS1 : origin = 0x0000D978, length = 0x0000004
ADC2_RAMGS1 : origin = 0x0000D97C, length = 0x0000004