This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CCS/TMS320F28379D: Can GetPacket Function

Part Number: TMS320F28379D

Tool/software: Code Composer Studio

Hi everyone,

I modified a can_flash_kernel code for f28379D. And I want to add a 'command' part like in sci_flash_kernel. So, I need CAN_GetPacket function like in sci_flash_kernel. How can I develop this function ? Please provide me with some advices. 

Best Regards.

  • Adem

    You can setup a dedicated CAN message object that either polls (poll would be more similar to the SCI one) or interrupt based. When a message is sent specifically to this message object, it can then decode the data to determine what command needs to be run and then have another message object setup to send an ACK message back to the original requester.

    Best regards
    Chris