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.

AWR1642: How to use CAN?

Part Number: AWR1642

1. Is it necessary to issue a line from the E14 terminal and the D13 terminal in the circuit diagram of AWR 1642 BOOST in order to communicate using CAN? Or, can I assign N4, N5 to CAN?

2. Can TI provide software that communicates via CAN?

  • Hello,
    AWR1642 device supports two CAN interfaces, one is a regular CAN (upto 1Mbps rate) and other is CAN FD. The information about the devices pins on which the CAN/CAN_FD Rx and TX is available in the datasheet (Table 4-3). Only those pins can be used where these signals can be muxed to.
    The mmwave SDK has the drivers for both CAN and CAN FD modules , these can be included in your project for CAN communication. The Doxygen help provided in the CAN driver folder provides the details of all the functions, datastructures etc.

    Regards,
    Vivek
  • Vivek san

    According to the AWR1642 datasheet , N4 and N5(default RS232 function) are able to be assigned CAN-FD.

    But I can't find how to assign the PIN function.

    Could you tell me which doucument explain this ?

    Best Regards,.

  • Hello ,
    As part of the SDK package you will find the drivers for the pinmux. These can be used to configure any of the digital pins as the required interface pin. The "Pinmux_Set_FuncSel" function is used for this. Example configuration is :
    Pinmux_Set_FuncSel(SOC_XWR16XX_PINN4_PADBD, SOC_XWR16XX_PINN4_PADBD_MSS_UARTA_RX);

    regards,
    Vivek
  • Vivek san

    Thank you very much.

    I was able to find the setting part.
    I'm looking forward that SDK will be released with support for CAN communication.

    Best regards,.

  • Hello,
    The present SDK does have the CAN drivers available. You can use those for your development.

    Regards,
    Vivek