Other Parts Discussed in Thread: HALCOGEN
I'm working on testing of CAN transmission & reception of TMS570LC4357 & drivers are generated using Halcogen software.
But in HL_can.c file the function canTransmit seems to be transmitting 8 bytes of data every time irrespective of the DLC.
Below is the snap of the same.

Que 1: So how to transmit CAN messages with DLC less than 8 bytes ?
Que 2: In halcogen software, there is provision to set DLC of the message box, but if I don't want to change the DLC from halcogen is there any API to do so?
Please help!