I have an application as follows:
can5 / can1 / can4 / can6 forwards the data through other buses after receiving the data on any one way. The requirement is not to drop frames, and the forwarding time difference cannot exceed 2ms (for example, data received from can5 to forwarded from can1 / can4 / can6).
The test plan is as follows:
DMA+FIFO enable DMA interrupt,can5 receive data can1 / can4 / can6 forward data received by can5。
1 When I continuously send the same message for example 0X100,Frame drop rate is 25%(From the test situation, 25% of the data is not forwarded by can1 / can4 / can6 )。
2 When the message I send is as follows 0X100、0X105、0X10A....and Continuous sending,This situation can meet the delay conditions and there is no frame loss。
From the test situation, continuous sending the same data and continuous sending different data test results are different。Are there any optimization solutions or improvement suggestions for the first situation?