- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I would like to use CAN Tx/Rx.
which file i have to map the transmit data buffer details.
Thank you
- Labels:
-
PSoC 5LP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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