Hello,
I had been developing a CAN parser project for some third parties devices. The scenario consists on 3 devices exchanging information between them with a frame rate from 6 to 10 every second at a CAN speed of 50KHz with a total impedance of 60 ohms.
Applications with TWAI driver works like a charm but after a weekend running all the services, there are some TWAI_ALERT_TX_FAILED problems that occurs. After that, application continue working without any problem.
Have anybody experience this issue? What could be the cause of this error?
Does the driver retry to send the message?
Thanks so much.
TWAI - TX FAILED
Re: TWAI - TX FAILED
May I ask what driver mode you are using? Are you using single-shot messages (could you copy the message flags that you use)? And are you getting any other alerts (such as TX error, RX error, error passive etc.)?
Re: TWAI - TX FAILED
Hello Dazz,
The configuration I've been using is:
TWAI_TIMING_CONFIG_50KBITS in TWAI_MODE_NORMAL.
The module doesn't has a message filter and errors are all active except (TWAI_ALERT_TX_IDLE| TWAI_ALERT_TX_SUCCESS| TWAI_ALERT_ARB_LOST).
No other errors are received.
The configuration I've been using is:
TWAI_TIMING_CONFIG_50KBITS in TWAI_MODE_NORMAL.
The module doesn't has a message filter and errors are all active except (TWAI_ALERT_TX_IDLE| TWAI_ALERT_TX_SUCCESS| TWAI_ALERT_ARB_LOST).
No other errors are received.
Re: TWAI - TX FAILED
Any news about this?
Thanks
Thanks
Who is online
Users browsing this forum: Baidu [Spider] and 43 guests