现MKS22FN256VLH12芯片的RxD和TxD引脚已通过CAN收发器与CAN总线分析仪相连接，通过上位机软件CANtools对分析仪进行控制与显示，按照附件的程序运行，在第140行 while (!rxComplete)时暂停，表示不能成功完成发送，不能引起发送成功中断，请问原因为何？
The demo of the flexcan is based on the customed board that released by the nxp,the chip's product type used on the board is MKS22FN256VLL12.Now I want to apply the program to the chip MKS22FN256VLH12,the only difference between the two chips is the numbers of the pins.So,I change the definition of the pins about flexcan'RxD and TxD.
Now,the RxD pin and TxD pin is connect to a can transceiver and a can bus analyser,I use the software Ecantools to control the can bus analyser and receive the message of the MCU,however,the program is blocked in the 140th line ,what means the rxComplete can't be set,the callback function can't be called,the interrupt can't be triggled,I'm really confused of the question.Pray to God for help!
The enclosure is the project and the source code.
Original Attachment has been moved to: interrupt_transfer---副本.rar