AnsweredAssumed Answered

SPI slave transfer using KSDK 2.0

Question asked by javierhernandezdeniz on Jul 1, 2016
Latest reply on Jul 7, 2016 by Carlos_Mendoza



I'm trying to send the value of eCompass via SPI from the FRDM-K64F. Based on the KSDK 2.0 examples I have made this KSDK 2.0 project.

SIMPLY_ROVER/main.c at master · spock540/SIMPLY_ROVER · GitHub


I have been reading each line and typing in the new project to try to understand the code and go learning C. My knowledge of C and Sensor Fusion are very poor.


I wanted to test the code but I encounter my first problem, when the code is executed not print anything on the console (in minicom). It's as if all calls to print() are omitted. I have tried in another KDSK 2.0 project and works well.


What is the reason for this?  I also appreciate your suggestion about the code for transfering data in slave mode.


I tried using this API, Kinetis SDK 2.0 API Reference Manual: SPI Driver

but I found the fsl_spi.h file in the directory. Only fsl_dspi.h