SPRACU9 October   2021 TMS320F2800152-Q1 , TMS320F2800153-Q1 , TMS320F2800154-Q1 , TMS320F2800155 , TMS320F2800155-Q1 , TMS320F2800156-Q1 , TMS320F2800157 , TMS320F2800157-Q1 , TMS320F280033 , TMS320F280034 , TMS320F280034-Q1 , TMS320F280036-Q1 , TMS320F280036C-Q1 , TMS320F280037 , TMS320F280037-Q1 , TMS320F280037C , TMS320F280037C-Q1 , TMS320F280038-Q1 , TMS320F280038C-Q1 , TMS320F280039 , TMS320F280039-Q1 , TMS320F280039C , TMS320F280039C-Q1 , TMS320F28384D , TMS320F28384D-Q1 , TMS320F28384S , TMS320F28384S-Q1 , TMS320F28386D , TMS320F28386D-Q1 , TMS320F28386S , TMS320F28386S-Q1 , TMS320F28388D , TMS320F28388S , TMS320F28P550SJ , TMS320F28P559SJ-Q1 , TMS320F28P650DH , TMS320F28P650DK , TMS320F28P650SH , TMS320F28P650SK , TMS320F28P659DK-Q1

 

  1.   Trademarks
  2. 1Introduction
    1. 1.1 MCAN Features
  3. 2Useful tips to run the C2000ware examples
  4. 3Program Descriptions
  5. 4Debug and Design Tips to Resolve/Avoid CAN Communication Issues
    1. 4.1 Minimum Number of Nodes Required
    2. 4.2 Why a Transceiver is Needed
    3. 4.3 Debug Checklist
      1. 4.3.1 Programming Issues
      2. 4.3.2 Physical Layer Issues
      3. 4.3.3 Hardware Debug Tips
  6. 5How to Duplicate (clone) an Existing Project
  7. 6How to Get Visibility Into Driverlib Files
  8. 7References

How to Duplicate (clone) an Existing Project

  1. All projects start their life as a .projectspec file. They exist in C:\ti\c2000\C2000Ware_3_04_00_00\driverlib\f2838x\examples\c28x\mcan directory. Note that the exact path would depend on the version of C2000ware installed in your computer.
  2. Make a copy of an existing .projectspec file. For example, suppose you want to create a new project called mcan_ex6_transmit_timestamp. Start by making a copy of mcan_ex1_loopback.projectspec and rename it as mcan_ex6_transmit_timestamp.projectspec.
  3. Open mcan_ex6_transmit_timestamp and replace the two instances of mcan_ex1_loopback with mcan_ex6_transmit_timestamp, the name of the new testcase.
  4. In the C:\ti\c2000\C2000Ware_3_04_00_00\driverlib\f2838x\examples\c28x\mcandirectory, make a copy of the mcan_ex1_loopback.c file and rename it as mcan_ex6_transmit_timestamp.c. This is very important because when the .projectspec file is imported into Code Composer Studio™, it copies the new file into the target directory when it executes the following statement: <file action="copy" path="../mcan_ex6_transmit_timestamp.c" targetDirectory="" />.
  5. Import the mcan_ex6_transmit_timestamp.projectspec file into CCS. Note that the project directories are created under C:\Users\Your_name\your_workspace, not in: C:\ti\c2000\C2000Ware_3_04_00_00\driverlib\f2838x\examples\c28x\mcan.