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

PSoC™ 6 Forum Discussions

user_1771726
Level 1
Level 1

Dear Expert,

            I am going to add DMA function on example of SMIF memory write and read operation.

Do you have any suggestion? Do you have any experience about it?

Does that make sense for better performance of SMIF with memory?

Regards

0 Likes
1 Solution

Hi,

You can connect a DMA to the SMIF block to be transferred when there is data in the SMIF RX buffer or when the SMIF TX is not empty. This would allow you to use less CPU cycles to handle any access to the external memory by avoiding calling some of the SMIF driver functions.

View solution in original post

2 Replies
DheerajK_81
Moderator
Moderator
Moderator
First comment on KBA First comment on blog 5 questions asked

What exactly do you want the DMA for?

DMA is only used for data transfers within the subsystem. SMIF allows you to interface with external memories and read bytes of data. DMA cannot improve the performance of data transfer between SMIF and memory in any way if this is your usecase.

Regards,

Dheeraj

0 Likes

Hi,

You can connect a DMA to the SMIF block to be transferred when there is data in the SMIF RX buffer or when the SMIF TX is not empty. This would allow you to use less CPU cycles to handle any access to the external memory by avoiding calling some of the SMIF driver functions.