- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.