This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hello,
I want to use IF3 and DMA to receive data from mailbox1 automatically, without interrupt. This CAN is only used to receive data, and can receive four bytes data once( periods = 100us). received data will be moved to destination address(A DWORD type) by DMA. the destination address is fixed, the contents of this DWORD is updated per 100us.
Does this idea work? How to achieve this? Is there CODE/APP NOTE share with me? thanks!
Hi,
We don't have a ready made app note / code to share. CAN example available in C2000Ware are the only examples available.
Where you stuck with your implementation? Do you have any specific question?
Regards,
Manoj
My stuck: there is no DMA trigger when CAN has recieved data, but I can read CAN data from IF2 by interrupt.
Yes, you can use DMA to receive messages from CAN (using IF3)
One of my team members pointed out that there is CAN DMA example (can_ex4_loopback_dma.c) using IF2. You can modify that to your application.
Regards,
Manoj