closed

Loginbox

Please enter your username and password into the following fields to log in.


  • Username:
  • Password:
  •  
  • Auto log in on every visit.


  •  

CAN Extended mode ATMEGA AT90CAN32

Problem with transmit frame with extended identifier

edison2000 offline
Neuling
Avatar
Gender: n/a
Location: n/a 
Age: 35
Posts: 1
Registered: 03 / 2020
Private message
Subject: CAN Extended mode ATMEGA AT90CAN32  -  Posted: 29.03.2020 - 19:16   -  
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
go down go up
 


Registered users in this topic
Currently no registered users in this section

Delete cookies of this forum  •  FAQ / Help  •  Team page  •  Imprint   |  Local time: 01.06.2020 - 04:28