Error in DMA Datasheet and DMA Wizard

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Anonymous
Not applicable

Hi!

   

 

   

I am new to PSoC and already discovered an error: DMA Datasheet and Wizard pass the wrong DMA_INVALID_TD instead of the correct DMA_DISABLE_TD config option to CyDmaTdSetConfiguration(). Therefore, the DMA channel is not disabled properly but continues to run.

   

 

   

Regards,

   

Anguel

0 Likes
2 Replies
Anonymous
Not applicable

Actually, the DMA Component Datasheet states correctly that DMA_END_CHAIN_TD (which = 0xFF and = DMA_DISABLE_TD) must be used to end the chain, but in the examples and in the DMA Wizard the IMHO incorrect DMA_INVALID_TD is used.

0 Likes
Anonymous
Not applicable

Update: I was confused again by the docs. Turned out that DMA_END_CHAIN_TD = DMA_INVALID_TD = 0xFF which is WRONG.

   

 

   

The correct is only DMA_DISABLE_TD as I pointed out in my first post but it is not documented anywhere, it is only used in the DMA appnotes. The DMA Wizard is still incorrect.

0 Likes