Hello,
I am using 32 mailboxes of the DCAN port as receiving mailbox. I set it up such that IF3 receives the incoming frame automatically, and triggers a DMA transfer (64-bit frame data) to a specified destination. I use DMA frame transfer complete interrupt to update the destination address upon each DMA frame transfer completes. So far, this works fine, but there are 32 interrupts occur in doing so.
What I am currently not able to do, but hoping to achieve is to setup DMA in a way that each IF3 NewData triggers a DMA frame transfer automatically, and once frame transfer done, the destination address gets updated automatically as well, and the next incoming CAN message frame gets automatically loaded thru IF3 and DMA to the appropriate destination. In the end, I get notified once the DMA block transfer (32 frames in my case) is done. With this, I am hoping to eliminate the number of interrupts occurring.
Is it possible to pull off a scheme as such?
Thanks,
Clio