2030049_en-US

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

2030049_en-US

2030049_en-US

Issues with S32K312 FlexCan

Dear NXP community staff, I want to configure the Flex CAN0 of S32K312 to receive CAN2.0 and CANFD messages with enhanced Rx FIFO and DMA. I have referred to all the examples in the community, but the problem still exists that the message can be sent normally but cannot be received. Could you please help me check if there is any problem with my initialization process and whether the interrupt callback function is configured correctly?

Re: S32K312 FlexCan problemThese are all consistent. I will try to transplant the remaining modules of the source project one by one to the normally running test project to see if I can find the problem.Re: S32K312 FlexCan problem

enhanced_test is my newly created test project.

Re: S32K312 FlexCan problemI transplanted the FlexCAN related code and .mex configuration to a new project and it worked fine. However, I checked many times and there is no difference between the two projects. Do you have any ideas?Re: S32K312 FlexCan problemOK, I'll create another project and try it out.Re: S32K312 FlexCan problemThe problem is still not solved. When I tested it just now, I didn't notice that the ID sent was the ID accepted by the MB configuration. The CAN message of the ID accepted by the enhanced RxFIFO configuration still cannot be received.Re: S32K312 FlexCan problem

Sorry it took a while to upload the project, thank you very much for taking the time to help me out.

Re: S32K312 FlexCan problemI'm sorry, I've been troubled by this problem for a week. I have referred to these examples, and the results returned during the debug configuration process are normal, but I can't receive the message when I send a CAN message to the MCU.
Tags (1)
No ratings
Version history
Last update:
‎11-22-2025 06:13 AM
Updated by: