Hello, I am implementing FlexCAN transmission and reception on an S32K312 using interrupts, but the data transmitted by the S32K312 does not match what I receive using a CAN card. Could you please advise me on possible reasons for this? Attached is an illustration of my configuration setup.
已解决! 转到解答。
1.first, the demo you send to me can build sucess cause missing some file. please double check it.
2.second, In your code, the “dummyData” array has not been modified, so the data in your screenshot is inconsistent with your code.
1.first, the demo you send to me can build sucess cause missing some file. please double check it.
2.second, In your code, the “dummyData” array has not been modified, so the data in your screenshot is inconsistent with your code.
Hello, no matter what data I fill in the dummy array, the data I receive through the CAN card is always the same (the CAN ID is correct, but the CAN data seems to be address information). The attachment is the latest successfully compiled code. It is consistent with the phenomenon I described.