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

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

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

1,246件の閲覧回数
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

ラベル(1)
0 件の賞賛
返信
2 返答(返信)

1,037件の閲覧回数
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 件の賞賛
返信

1,037件の閲覧回数
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 件の賞賛
返信