industrialNETworXnetx

HP

HP

| 29.03.2007 | 08:22 | 2 replies

Can_SendFrame and without Singleshot

Hey folks

We found out that we lose protocols by losing arbitration when we only transmit singleshots. When deactivating this feature (parameter = 0), the telegrams are retransmitted. Now my question: how many times will the Xc try to retransmit the protocoll? Just a certain number or until it can be transmitted properly? I didnt find any info on this in the CAN HAL Documentation nor in the code comments of the function itself.

M T

M T

Hilscher Gesellschaft für Systemautomation mbH

| 29.03.2007 | 11:42

The XC tries to retransmit until one of the following conditions apply:

1. Frame sent successfully
2. Host requests abort via CAN_AbortTransmission()

One-Shot Sends will only be tried once as the name tells :) (Every single error on the bus will result in the send being aborted then)

Regards

MT

HP

HP

| 29.03.2007 | 14:20

Ok, thanks for the feedback :)

Login