Quantcast
Channel: Microcontrollers
Viewing all articles
Browse latest Browse all 216913

Forum Post: CCS/TMS570LS1227: How can I change the DLC of a CAN message without changing the message ID

$
0
0
Part Number: TMS570LS1227 Tool/software: Code Composer Studio Using tms570ls12 board I have to retransmit can messages from CAN1 to CAN2. CAN1 module get messages and CAN2 transmit messages what CAN1 got. The problem is that CAN1 get one ID with different DLCs (for exampale: ID 0x001 DLC 8, ID 0x001 DLC 6, DI 0x001 DLC 2). For exampale: It seems to me after geting message in the messgaebox, DLC must be check to recognise message, and CAN2 can't understand from wich messagebox data must be sent. But there is no API functions that can check DLC of receiving message. Is there the way to determine DLC? May be there is another way to retransmit messages?

Viewing all articles
Browse latest Browse all 216913

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>