AM62Ax MCU+ SDK  09.02.00
MCSPI Performance 32 Bit

Introduction

This Master application demonstrates the data transfer in master mode with performance measurment.

  • McSPI is configured in Tx Only mode with FIFO enabled for Tx.
  • Word Length tested is 32 bits.
  • SPI CLK Frequency used is 12 MHZ.
  • Number of Words is 5.
  • Data is transmitted on D0 pin.
  • Data transmission is in polled mode.

To modify the example to use main domain SPI, refer Accessing main and wakeup domain peripherals from MCU domain

Supported Combinations

Parameter Value
CPU + OS mcu-r5fss0-0 freertos
mcu-r5fss0-0 nortos
a53ss0-0 nortos
Toolchain ti-arm-clang
arm.gnu.aarch64-none
Boards am62ax-sk
Example folder examples/drivers/mcspi/mcspi_performance_32bit
Parameter Value
CPU + OS a53ss0-0 nortos
mcu-r5fss0-0 freertos
mcu-r5fss0-0 nortos
Toolchain arm.gnu.aarch64-none
ti-arm-clang
Board am62ax-sk
Example folder examples/drivers/mcspi/mcspi_performance_32bit

Steps to Run the Example

See Also

MCSPI

Sample Output

Shown below is a sample output when the application is run,

[MCSPI] Performance Example Started...
----------------------------------------------------------
McSPI Clock 12000000 Hz
----------------------------------------------------------
Data Width Data Length Transfer Time (micro sec)
32 5 17.80
----------------------------------------------------------
All tests have passed!!