CAN Extended mode ATMEGA AT90CAN32

Problem with transmit frame with extended identifier

edison2000
Neuling
Avatar
Gender: n/a
Age: 39
Posts: 1
Registered: 03 / 2020
Subject:

CAN Extended mode ATMEGA AT90CAN32

 · 
Posted: 29.03.2020 - 19:16  ·  #1
Hello

How transmit can mesage with extended identifier ?
Recieve works fine with AVR_CAN_SetRxEMask

I try almost everythink to transmit in extended format .
I try direct write to CANCDMOB not work too ..
I use for diagnostic CAN analyser ..

msgTx.EID:= 6305;
msgTx.dlc:= %00001000; // data length (0..8) use bit higher then not work :-(

msgTx.Data[0]:=1;
msgTx.Data[1]:=0;
msgTx.Data[2]:=1;
msgTx.Data[3]:=0;
msgTx.Data[4]:=0;
msgTx.Data[5]:=0;
msgTx.Data[6]:=0;
msgTx.Data[7]:=0;
PipeSend(CAN_TxPipe, MsgTx);
AVR_CAN_StartMessage;

Thanks lot Jan
Selected quotes for multi-quoting:   0

Registered users in this topic

Currently no registered users in this section

The statistic shows who was online during the last 5 minutes. Updated every 90 seconds.
MySQL Queries: 15 · Cache Hits: 14   36   50 · Page-Gen-Time: 0.035766s · Memory Usage: 2 MB · GZIP: on · Viewport: SMXL-HiDPI