DMA overhead

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

DMA overhead

509 Views
ceciliac
Contributor III

Hi, I have alot of data that I want to transfer from the eTPU via DMA (using MPC5746R). Which alternative is better performance wise: calling the DMARequest for every new data (each 50us) or buffering the data in the eTPU and transferring it in bigger chunks? Is there any overhead in calling the DMARequest more often?

Thanks,

Cecilia

1 Reply

421 Views
petervlna
NXP TechSupport
NXP TechSupport

Hi,

This really depends on application needs.

Block transfers have better performance as the DMA don;t have to start for each transfer separately. (DMA engine start, Address reading, etc... are performed only once)

However then you have your slave on XBAR occupied for longer time. (depends on XBAR configuration).

Peter