AnsweredAssumed Answered

Could someone provide a full functioning fsl_clock.h for mk22fx512avlk12 please?

Question asked by Jakob Riis Employee on Jan 3, 2017
Latest reply on Jan 5, 2017 by Jakob Riis

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

Outcomes