GPDMA Bug or Mistake?

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

GPDMA Bug or Mistake?

994件の閲覧回数
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 返答(返信)