
KTD-S0057-I Page 79 Linux® Programming Examples (DebianTM)
KTAM3874/pITX Software Guide
for (i = 0; i < frame.can_dlc; i++)
data[i] = frame.data[i];
*data_len = frame.can_dlc;
return 0;
}
10.8.3 CAN Wiring
For longer distances it is recommended to terminate the CAN bus at both ends by terminating resistors.
Another important measure: all GND contacts (pin 3) should be tied together.
Comentarios a estos manuales