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-F280049C: About GPIO for DCAN module

Part Number: LAUNCHXL-F280049C

Hi,

    Should I configure GPAPUD register to "0"(set DCAN pin Pull-up enabled), if I use DCAN module?

    thanks!

  • Lei,

    It won't be necessary as long as GPIO functions like the example below appropriately assigns CANTX and CANRX pins.

    GPIO_setPinConfig(DEVICE_GPIO_CFG_CANRXA);
    GPIO_setPinConfig(DEVICE_GPIO_CFG_CANTXA);

    With these functions, CANTX is configured to be associated with CANA as TX "output" pin and CANRX as RX "input" pin.  The pullups will help keep the input pins to a known state.  When CANRX/TX pins are connected to the CAN bus through a transceiver, the bus is at a recessive '1' state when there is no bus activity and the RX pin will be seeing this high idle state anyway.

    Regards,

    Joseph