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

Results

In the example application codes used:

  • ‘Single Byte’ refers to 8-bit ADC data transmission.

  • ‘Multi Byte’ refers to SPI transmission capable of transmitting as many bytes as configured. In the examples, 2-byte data has been configured. Out of 16 bits transferred, only lower 12-bits contain ADC data since maximum resolution of ADC on MSPM0 is 12 bits.

  • ‘Single Channel’ refers that only 1 analog signal is monitored by ADC. Controller has to send a dummy command to initiate transaction, but command value need not be checked at peripheral.

  • ‘Multi Channel’ refers that ADC is converting multiple analog signals sequentially. Controller has to send a valid command to initiate transaction and receive corresponding channel data.