SLAAEJ0 November   2023 AM625 , MSPM0L1306

 

  1.   1
  2.   Abstract
  3.   Trademarks
  4. 1Introduction
    1. 1.1 SPI Transaction Dataflow
    2. 1.2 AM62x Processor
    3. 1.3 MSPM0L130x Microcontroller
  5. 2Hardware Setup
    1. 2.1 A53 Core Hardware Setup
    2. 2.2 M4F Core Hardware Setup
  6. 3Software Setup
    1. 3.1 Cloning the Beyond SDK GitHub Repository
    2. 3.2 SK-AM62x Software Setup
      1. 3.2.1 A53 Core
      2. 3.2.2 M4F Core
    3. 3.3 LP-MSPM0L130x Software Setup
  7. 4Steps for Execution
    1. 4.1 Run Project on LP-MSPM0L130x
    2. 4.2 Run Project on SK-AM62x
      1. 4.2.1 A53 Core
      2. 4.2.2 M4F Core
  8. 5Results
    1. 5.1 Single Byte Single Channel
    2. 5.2 Single Byte Multi Channel
    3. 5.3 Multi Byte Single Channel
    4. 5.4 Multi Byte Multi Channel
  9. 6Summary
  10. 7References

Run Project on LP-MSPM0L130x

After creating the target configurations, the prebuilt MSPM0 binaries can be written to the on-chip flash:

  1. Import the CCS project in the Workspace. This is the path to the project:

    1. <Beyond-SDK-installation-path>/Beyond-SDK/am62x/MSPM0-ADC-RTC-Attach/MSPM0-ADC-Attach-SPI/<x_Byte_x_Channel_SPI>/Peripheral/MSPM0/

    2. The binary can be found in <Beyond-SDK-installation-path>/…/MSPM0/Debug/<file-name>.out

  2. Build the imported CCS project.

    1. If there is a Duplicate Name of GPIO Pin error, then do the following:

      1. Open the System Configuration file indicated by .syscfg file extension

      2. Open ADC12 Configuration

      3. Go to the Pin Configuration Section and Open ADC12 Channel 7 Pin

      4. Change the name of the pin from “ti_driverlib_gpio_GPIOPinGeneric0” to “ti_driverlib_gpio_GPIOPinGeneric6”

      5. Save the change and Build the project again

  3. Right-click on MSPM0_XDS110.ccxml in Target Configurations window

  4. Select “Launch Selected Configuration”

  5. In the Debug window, click on the "Texas Instruments XDS110 USB Debug Probe_0/CORTEX_M0P"

  6. Select Run -> Connect Target

  7. Select Run -> Reset -> Subsystem Reset

  8. Select Run -> Load -> Load Program

  9. Browse to the prebuilt binary for the MSPM0 project, and click “OK”.

  10. This will write the flash with the binary.

  11. Select Run -> Resume

For additional support with CCS, review the Code Composer Studio User’s Guide.