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 Hardware Setup

For using M4F core, the peripheral pins for SPI on SK-AM62x are present in the MCU Header. Figure 2-2 shows the hardware setup.

GUID-9CAD339B-EDEF-4741-B6D7-369BD21C89F5-low.pngFigure 2-2 Cable Connections between SK-AM62x (M4F Core) and LP-MSPM0L1306 for SPI communication..

  • For SK-AM62x:

    • Connect type-C power supply with 5V adapter.

    • Connect UART-to-USB and USB for JTAG XDS110 to your computer.

  • For LP-MSPM0:

    • Connect power supply cum XDS110 to your computer.

    • Connect analog signal input to J3_PA18 (ADC0_7) in LP-MSPM0.

    • Connect analog signal input to J3_PA16 (ADC0_8) in Launchpad MSPM0 if needed.

  • For inter-board connections:

    • Connect pin-4 (C9: MCU_SPI0_D1) in SK-AM62x MCU-header to J2_PA4 (SPI_POCI) in LP-MSPM0.

    • Connect pin-6 (D9: MCU_SPI0_D0) in SK-AM62x MCU-header to J2_PA5 (SPI_PICO) in LP-MSPM0.

    • Connect pin-8 (B8: MCU_SPI0_CS1) in SK-AM62x MCU-header to J2_PA3 (SPI_CS(PWM)) in LP-MSPM0.

    • Connect pin-18 (A7: MCU_SPI0_CLK) in SK-AM62x MCU-header to J1_PA6 (SPI_CLK) in LP-MSPM0.