Hi All,
I have written a CAN driver for star12 controller. And I do have some periodic frames for transmission. I am using not any commercial RTOS but I do have created my own scheduler for the scheduling different tasks. I am using a debugger for software download & debugging and I am also using vector CANalyzer for monitoring the CAN frames on the bus. Now the problem which I am facing is as below.
Scenario 1: I run my CANalyser, and I power on my ECU, I am observing the periodic frames appearing on the CAN bus (CANalyzer trace window) with correct periodicty and everything works fine.
Scenario 2: I Power on my ECU and then I run my CANalyzer. Now for initial few periodic frames, I am not receiving them at correct periodicity but after sometime the periodicity becomes correct and the communication is proper. I dont get any error frame too.
Can anyone explain me the IInd scenario, why I am seeing this kind of behavior on CANalyzer trace window?
My initial guess was that there may be message buffer on the CANalyzer which stores few messages and then suddenly when I start the CANalyser, it throws out all the message and display the timestamp of priniting the messages, not the timestamp of message reception.
Please help me in this regard.
Thanks in advance
Regards AKhilesh