AM261x MCU+ SDK: MCSPI Performance 32 Bit

| AM261x MCU+ SDK 26.00.00 |

MCSPI Performance 32 Bit

# Introduction

This Controller application demonstrates the data transfer in controller 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.

# Supported Combinations

# Steps to Run the Example

- When using CCS projects to build, import the CCS project for the required combination and build it using the CCS project menu (see Using SDK with CCS Projects).
- When using makefiles to build, note the required combination and build using make command (see Using SDK with Makefiles)
- Launch a CCS debug session and run the executable, see CCS Launch, Load and Run

# See Also

MCSPI

# Sample Output

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

r5fss0-0_nortos app log:

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

r5fss0-0_freertos app log:

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

m4fss0-0_nortos app log:

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