PCAN USB goes to BUSOFF until UUT wakes up
Posted: Mon 9. Jan 2017, 09:53
Hello,
I am facing a little problem. We are producing tester for some car ECU (UUT) and the communication fails shortly after start. The situation is following:
- There are just two nodes PCAN USB and UUT
- UUT needs to receive "NHM message" periodically every 200ms to wake up and to stay alive
- wake-up time of UUT is around 100ms (CAN defines wakeup time at max 200ms, so there should be no problem)
- when I start sening NMH, the UUT does not ACK the message (waking up ~100ms), PCAN-USB repeats sending message at really high rate (approx 310us) and finally goes to BUSOFF (according CAN standard, within ~30ms)
- UUT finally become active, but without "NMH" it goes to sleep (PCAN is in BUSOFF)
- after a while PCAN returns from BUSOFF and tries to send NMH and because UUT is sleeping everything repeats
Can you give me advice, how to solve that behavior?
Is it possible to adjust repetition period on acknowledge error?
Do I need to quickly restart PCAN-USB when BUSSOF detected?
Or is it necessary to add another node into bus?
What solution is the most correct?
Thank you
Radek
I am facing a little problem. We are producing tester for some car ECU (UUT) and the communication fails shortly after start. The situation is following:
- There are just two nodes PCAN USB and UUT
- UUT needs to receive "NHM message" periodically every 200ms to wake up and to stay alive
- wake-up time of UUT is around 100ms (CAN defines wakeup time at max 200ms, so there should be no problem)
- when I start sening NMH, the UUT does not ACK the message (waking up ~100ms), PCAN-USB repeats sending message at really high rate (approx 310us) and finally goes to BUSOFF (according CAN standard, within ~30ms)
- UUT finally become active, but without "NMH" it goes to sleep (PCAN is in BUSOFF)
- after a while PCAN returns from BUSOFF and tries to send NMH and because UUT is sleeping everything repeats
Can you give me advice, how to solve that behavior?
Is it possible to adjust repetition period on acknowledge error?
Do I need to quickly restart PCAN-USB when BUSSOF detected?
Or is it necessary to add another node into bus?
What solution is the most correct?
Thank you
Radek