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

cross mob
Translation_Bot
Community Manager
Community Manager
Community Manager
100 likes received

 

Actually it is the count parameter in this API for creating DMA channels, which is interpreted as the number of buffer zones to be allocated for the channel, can it be understood that which channel is configured, this parameter will allocate buffer zones for that channel?Weiqi__Zhong_0-1713258588150.png I can understand that which channel is configured, this parameter will allocate cache area for that channel?

 

smartconx_target@Q!w2e3r4t5y6u7i8o9p0||/t5/%E4%BD%8E%E9%80%9F-%E5%85%A8%E9%80%9F-%E9%AB%98%E9%80%9F-USB-%E5%A4%96%E8%AE%BE/%E5%86%85%E9%83%A8API%E5%8F%82%E6%95%B0%E7%96%91%E6%83%91/td-p/740308

0 Likes
1 Solution
Translation_Bot
Community Manager
Community Manager
Community Manager
100 likes received

Hi,

Yes, count indicates the number of buffers in the DMA channel, as for which DMA channel to configure, it depends on which DMA channel create API you pass this DMA configuration to, such as using CyU3PDmaChannelCreate ( &glChHandleSlFifoUtoP ,
CY_U3P_DMA_TYPE_MANUAL, &dmaCfg); create U to P channel, then the count parameter in dmaCfg is used to create this channel;

In addition, about the FX3 API, etc. you can refer to the FX3API.pdf file

smartconx_target@Q!w2e3r4t5y6u7i8o9p0||/t5/%E4%BD%8E%E9%80%9F-%E5%85%A8%E9%80%9F-%E9%AB%98%E9%80%9F-USB-%E5%A4%96%E8%AE%BE/%E5%86%85%E9%83%A8API%E5%8F%82%E6%95%B0%E7%96%91%E6%83%91/m-p/740841

View solution in original post

0 Likes
1 Reply
Translation_Bot
Community Manager
Community Manager
Community Manager
100 likes received

Hi,

Yes, count indicates the number of buffers in the DMA channel, as for which DMA channel to configure, it depends on which DMA channel create API you pass this DMA configuration to, such as using CyU3PDmaChannelCreate ( &glChHandleSlFifoUtoP ,
CY_U3P_DMA_TYPE_MANUAL, &dmaCfg); create U to P channel, then the count parameter in dmaCfg is used to create this channel;

In addition, about the FX3 API, etc. you can refer to the FX3API.pdf file

smartconx_target@Q!w2e3r4t5y6u7i8o9p0||/t5/%E4%BD%8E%E9%80%9F-%E5%85%A8%E9%80%9F-%E9%AB%98%E9%80%9F-USB-%E5%A4%96%E8%AE%BE/%E5%86%85%E9%83%A8API%E5%8F%82%E6%95%B0%E7%96%91%E6%83%91/m-p/740841

0 Likes