2015-03-17 11:27 AM
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 #arm2015-04-03 01:21 AM
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