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

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

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

718 Views
JRIIS
NXP Employee
NXP Employee

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

Labels (1)
0 Kudos
2 Replies

509 Views
xiangjun_rong
NXP TechSupport
NXP TechSupport

Hi,

I do not know your version of SDK, I use SDK2.0, I attach the fsl_clock.h here.

which is located at:

C:\Freescale\SDK2.0_K22FProcessor\devices\MK21FA12\drivers

#define DSPI_CLOCKS                           \
    {                                         \
        kCLOCK_Spi0, kCLOCK_Spi1, kCLOCK_Spi2 \
    }

Hope it can help you

0 Kudos

509 Views
JRIIS
NXP Employee
NXP Employee

This is for MK21FA12, I need for MK22.

Could I kindly ask you to provide the one for mk22fx512avlk12 please?

0 Kudos