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.

LAUNCHXL-F28377S: 28377, CAN, controlSUITE

Part Number: LAUNCHXL-F28377S

I am using CAN sample code (can_external_transmit_cpu01) from controlSUITE on my LAUNCHXL-F28377S. I removed CANB part(receiving related) and only test sending part. However, CAN tool didn't get any data and DSP TX pin always output high.

1. I changed the GPIO according to the LAUNCHXL board (R:GPIO70, T:GPIO71).

2. '#define _LAUNCHXL_F28377S' in F2837xS_SysCtrl.c.

3. If set the TX pin as general IO, it can toggle with no problem.

Any suggestion?

Thank you.

  • Hi Peijun,

    Can you confirm that you have the same GPIO configuration for CANA terminals when using R:GPIO70 and T:GPIO71?

    GPIO_SetupPinMux(70, GPIO_MUX_CPU1, 5); //GPIO70 - CANRXA
    GPIO_SetupPinOptions(70, GPIO_INPUT, GPIO_ASYNC);
    GPIO_SetupPinMux(71, GPIO_MUX_CPU1, 5); //GPIO71 - CANTXB
    GPIO_SetupPinOptions(71, GPIO_OUTPUT, GPIO_PUSHPULL);

    Regards,
    Joseph
  • Hi Joseph,

    Just like you said.

    Wrong using function 'GPIO_SetupPinMux'.

    Thank you very much.