DMA Usage with CTU and S-RAM (MBD MPC574x)

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

DMA Usage with CTU and S-RAM (MBD MPC574x)

910件の閲覧回数
abhishek_kumar1
Contributor IV

Dear All

I am trying to use DMA to access the result of an ADC conversion.

I use PWM with 20KHz switching and enable the ADC sampling every 2 PWM cycles and strore the ADc results in CTU FIFO. 

pastedImage_1.png

I am using DMA Transfer to get the results and pass into SRAM (reg value : 0x40000000 - 0x4005FFFF)

pastedImage_5.pngpastedImage_6.png

When DMA transfer is complete, I want to read the value from the register.

Question

I can not use read register to read SRAM register values. How can I do this?

I have attached the model. 

Best Regards

Abhishek

mariuslucianandrei

rafael.barbosa@chassisbrakes.com

sudip.chattopadhyay@chassisbrakes.com

constantinrazvan.chivu

タグ(1)
0 件の賞賛
返信
0 返答(返信)