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 \
{ \
kCLOCK_Spi0 \
}
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?
Thanks,
Original Attachment has been moved to: fsl_clock.h.zip
This is for MK21FA12, I need for MK22.
Could I kindly ask you to provide the one for mk22fx512avlk12 please?