cancel
Showing results for 
Search instead for 
Did you mean: 

Headers and APIs for SPIRIT1 on TI-ARM

markmark9
Associate
Posted on March 17, 2015 at 19:27

Hi,

I have a TI tm4c123gh6pm microcontroller and would like to use the SPIRIT1 with it. 

Are there integrated API's and functions that I can directly include for a faster implementation, compatible with this controller, used on Code Composer?

It's an ARM Cortex-M4.

Thanks,

Marc

#spirit1 #arm
1 REPLY 1
Posted on April 03, 2015 at 10:21

Hi,

Please, download the software package for the SPIRIT1 from: http://www.st.com/web/en/catalog/tools/PF258102.

Once You install it, inside ..\Firmware\SPIRIT1_Library_Project\SPIRIT1_Library there is the firmware library for the SPIRIT1. The library is platform independent, so can be easily used with any microcontroller. In particular, You have only to make a porting of the low level driver, only the SPI driver for the communication in particular, to your microcontroller.

The functions You need to re-implement are listed inside the file MCU_Interface.h.

An example of the necessary SPI functions is in SDK_EVAL_Spi_Driver.c inside ..\Firmware\STM32L\SDK_Eval_STM32L\Source\src for STM32L or ..\Firmware\STM8L\SDK_Eval_STM8L\Source\src for STM8L.

S