GPDMA Bug or Mistake?

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

GPDMA Bug or Mistake?

827 次查看
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by a.valda on Mon Jul 29 23:47:32 MST 2013
I have a problem with the function Chip_DMA_SGTransfer
I am working with DAC peripheral
I have to put in DMA_TransferDescriptor_t the Address of DAC Peripheral
DMA_TransferMyDescriptor.dst = (uint32_t) & (LPC_DAC-> CR),
but the Chip_DMA_SGTransfer function use .dst as if it were the Number of Channel

to make it work properly i do this sequence:
1) DMA_TransferMyDescriptor.dst = 9;// (uint32_t) & (LPC_DAC-> CR);
2) Call Chip_DMA_SGTransfer
3) Put DMA_TransferMyDescriptor.dst = (uint32_t) & (LPC_DAC-> CR);

Can anyone give me more information?
标签 (1)
0 项奖励
回复
0 回复数