In fsl_clock.h – that is included in SDK for mk22fx512avlk12 is there only defined kClock for kCLOCK_Spi0:
/*! @brief Clock ip name array for DSPI. */
#define DSPI_CLOCKS \
According to datasheet and mk22fa12.h should SPI1 also be available, but kCLOCK_Spi1 is not defined any place.
This missing implementation reflect that DSPI_MasterInit() function not work if SPI1 is used.
Could someone provide a full functioning fsl_clock.h please?
Original Attachment has been moved to: fsl_clock.h.zip