S32K144 flexCAN cann't enter into the transmit complete interruput servise function, CANBaseAdd->IFLAG1 cann't trigger in the CANSendData(), and when i used the oscilloscope displayed waveform,but the upper computer didn't display CAN messages.I develop with the IAR IDE,so is there any advises can help me,...
Hi,
is the message resending still on the bus? Did you get any kind of errors (see ESR1, ECR registers)? Do you have can bus properly terminated? I guess the CAN timing could be wrong. Check if all nodes on the bus have the same CAN bit timing and same sample point is set.
BR, Petr
Dear Petr
I have checked the two registers(ESR1、ECR), found the ACK error flag is trigger, the Baud Rate is no problem,it's 250khz. It's commnication with the ecan tool, there not display any CAN message. I can see the continuous waveform in the oscilloscope.
thanks.
“ I can see the continuous waveform in the oscilloscope.”
→Is the waveform consistent with the data you send?
First of all,I suggest you check if the data is sent by the CAN tool.
Seems CAN tool is not connected to the bus. Or wrong CAN bit timing is selected, check the sample points. Also check termination of the bus.
BR, Petr
hi, petr
thank you for your suggest, i will check these points.