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

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

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

1,162 次查看
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 回复数