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.

TMDSCNCD263: Sample Application For Can for AM2634 and also executable to flash and verify directly on Hardware

Part Number: TMDSCNCD263
Other Parts Discussed in Thread: AM2634

Hello Team,

Can you please provide Sample Application For CAN for AM2634 and also executable to flash and verify directly on Hardware for the MCAL MCAL_AM263x_08.06.02.01 package.

Regards,

Pradeep R

  • Hi Champs, 

    Pradeep ask for help as working on Sample Application for Testing Communication over CAN on AM2634 controller. However, facing some issues during reception of CAN frames. Can you also please share the details of CAN connections for MCAN0 and MCAN1?

    Best regards, 

    Thorsten

  • Hi Thorsten,

    For CAN reception by AM2634, need to send CAN frame with ID 0xC1 by selecting polling mode for CAN Controller.

    • In External Loop Back mode, CAN communication can be tested using the PCAN debugger.
    • For AM263x “PROC110E2A” board:
      • MCAN1 pins are popped out, and MCAN1 is configured with a 1Mbps nominal bit-rate and 5 Mbps data bit-rate.
    • While running the example code in External Loop back mode:
      • First, it asks to select the CAN instance, where “m” corresponds to MCAN1/MCANB.
      • Then it asks to select the interrupt or polling method.
      • If interrupts are enabled for the instance in Can_PBcfg.c, then select the interrupt (“i”) method; otherwise, choose the Polling (“p”) method.
      • After selecting the method, options for transmission and reception will appear.
      • If the user chooses the transmit option, they are further prompted to select between standard and extended frames.
      • Selecting the standard option transmits a Standard CAN frame, while choosing the extended option transmits an extended frame to PCAN.
    • In receive mode, the controller is ready to receive CAN frames from PCAN.
  • Hi Pradeep,

    Please refer MCAN example at below path.

    MCAL_AM263x_08.06.02.01\mcal\examples\Can

    User guide link on how to build sample application: MCAL_AM263x_08.06.02.01\mcal_docs\AM263x_MCAL_CAN_UserGuide.pdf

    Thanks And Regards,

    Sunil Kumar M S

  • Hello Sunil,

    Can you please provide an executable file (elf) for flashing directly on our hardware and verifying the transmission and reception of MCAN1 CAN communication.

    On our Sample application we are successfull with transmission but not reception.

    So we need to verify once our hardware CAN channel connection

    Regards,

    Pradeep R

  • Hi Pradeep,

    Did you try running MCAL example with the options provided by Maheswar above? MCAL CAN example verifies reception as well.

    Thanks And Regards,

    Sunil Kumar M S