CAN Tx data Map

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Anonymous
Not applicable

Hi,

   

I would like to use CAN Tx/Rx.

   

which file i have to map the transmit data buffer details.

   

Thank you

0 Likes
3 Replies
Bob_Marlowe
Level 10
Level 10
First like given 50 questions asked 10 questions asked

Does the CAN component datasheet help you?

   

 

   

Bob

0 Likes
Anonymous
Not applicable

yes i have referred the CAN Component datasheet as well Implementing CAN Bus Communication
using PSoC® 3 and PSoC 5(AN52701) .As per AN52701 page No 17,for can data tx  i have added the below lines

   

in  CAN_TX_RX_func.c file.

   

extern uint8 CAN_message[8];
uint8 index; 

   

for (index=0;index<8;index++)
{
CAN_TX_DATA_BYTE(0,index) = CAN_message[index];
}

   

but i can not succeed the build in PSoc creator3.3.

   

Is it possible to Add/Edit the Generated Source.

0 Likes
Bob_Marlowe
Level 10
Level 10
First like given 50 questions asked 10 questions asked

Do not tamper the generated code! It will be re-generated at a new build and it is never needed to change anything in those sources.

   

I am not quite fit in programming CAN interface, but you probably miss an API to access what you want to do.

   

 

   

Bob

0 Likes