Hi,
I am creating code for the MK12DN512VLK5 device. My device is required to communicate on the SPI port. I have posted another query on whether to use the SPI CMSIS-DRIVER or the MCUXPresso SDK API.
When I am trying to use the CMSIS-DRIVER api, the code in the fsl_dspi_cmsis.c is disabled, after the following preprocessor check;
#include "fsl_dspi_cmsis.h"
#if ((RTE_SPI0 && defined(DSPI0)) || (RTE_SPI1 && defined(DSPI1)) || (RTE_SPI2 && defined(DSPI2)))
I am developing a bare metal application. I do not want to use the DMA for the SPI data transfer.
The sample DSPI CMSIS-Driver project that I am referring to is for the Tower board Twrk21d50m, in that project there is a file MK21DA5.h file, in which DSPI0 is defined, whereas in the project that I have created for my processor Mk12DN512VLK5 I could not find similar definition or the device header file.
Why would this be? The SDK that I had configured and downloaded was for the MK12DN512 part, and it is named accordingly SDK_2.3.1_MK12DN512xxx5