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.

TMS320F2800137: CAN TRANSMIT NOT WORKING

Part Number: TMS320F2800137


Tool/software:

Hi

I dumped an example code(can_ex5_transmit_receive) in the launch pad and connected PCAN with proper high, low and ground on connector J4 of the launch pad ..but In the pcan view messages are not comming.

Kindly please help me through it

  • Hi Muntaha,

    Are you referring to J14 of the LaunchPad for the PCAN connection?  Can you check that S4 is in the correct position to route GPIO4 and GPIO5 to the on board transceiver?  On the PCAN side, did you match the baudrate to 500kbps that can_ex5 is set to?  Also, you might need to change the CAN GPIO definitions in device.h to:

    //
    // CANA
    //
    #define DEVICE_GPIO_PIN_CANTXA 4U // GPIO number for CANTXA
    #define DEVICE_GPIO_PIN_CANRXA 5U // GPIO number for CANRXA
    #define DEVICE_GPIO_CFG_CANRXA GPIO_5_CANA_RX // "pinConfig" for CANA RX
    #define DEVICE_GPIO_CFG_CANTXA GPIO_4_CANA_TX // "pinConfig" for CANA TX

    and rebuild the project.

    The transceiver in the launchpad is using GPIO4/5 for CAN channels.

    Regards,

    Joseph