lpcxpresso54628_spifi_polling_transfer and double BOARD_InitBootClocks()

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

lpcxpresso54628_spifi_polling_transfer and double BOARD_InitBootClocks()

888件の閲覧回数
giusloq
Contributor III

I'm studying lpcxpresso54628_spifi_polling_transfer SDK demo project.

I noticed there are two calls to BOARD_InitBootClocks(). Are they necessary or the second call is an error that doesn't cause any issue? Please note that the comments are different.

    BOARD_InitBootClocks(); /* Boot up FROHF96M for SPIFI to use*/
    BOARD_InitBootClocks(); /* Core clock boot to 220Mhz*/

Another question. There's also another strange instruction:

    /* attach 12 MHz clock to SPI3 */
    CLOCK_AttachClk(kFRO12M_to_FLEXCOMM9);

Why the presence of this instruction? It seems to me FLEXCOMM9 isn't used in this project.

0 件の賞賛
返信
1 返信

868件の閲覧回数
nxf77486
NXP TechSupport
NXP TechSupport

Hello @giusloq ,

 

Thank you for noticing this, I would consult our SDK team in order to obtain information about this. And if this should be corrected I would let you know ASAP. Please let me know if you have any other question.

0 件の賞賛
返信