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

M4F Core

Write prebuilt SK-AM62x binaries to the on-chip flash:

  1. Import the CCS project into a different Workspace than the MSPM0 Workspace

    1. <Beyond-SDK-installation-path>/Beyond-SDK/am62x/MSPM0-ADC-RTC-Attach/MSPM0-ADC-Attach-SPI/<x_Byte_x_Channel_SPI>/Controller/AM62x-M4F_Core_MCU_Domain/Debug/<file-name>.out

    2. This allows for two different debugging sessions for each device

  2. Build the imported CCS project.

  3. Right-click on AM62x_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/BLAZAR_Cortex_M4F_1"

  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 AM62x project and click “OK”.

  10. This will write the flash with the binary.

  11. Select Run -> Resume