Where are the DMA and SPI drivers in the K22 build (ksdk_platform_lib_K22F51212)? Can I snag them from another library build?

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

Where are the DMA and SPI drivers in the K22 build (ksdk_platform_lib_K22F51212)? Can I snag them from another library build?

ソリューションへジャンプ
1,572件の閲覧回数
bosleymusic_com
Contributor IV

I've built the library as described in the start-up guide, but it's missing the drivers and hal for both DMA and SPI? I'm not extremely familiar with the device yet, but can I just use eDMA and DSPI to accomplish the same things, or should I build those drivers in another library and import/copy them? What library actually has them? They should be family compatible according to everything I have read.

 

Thanks.

ラベル(1)
1 解決策
1,369件の閲覧回数
adriancano
NXP Employee
NXP Employee

Hi,

The warnings you see are the next:

warnings sdk k22.png

This is because the name of the folders change from spi to dspi and dma to edma. Those folders contain the drivers to use the dSPI module and the eDMA module that are the ones included in the K22 device. This is just a change in the name of the folders.

To avoid those warnings you can erase from the Included paths the one with the problem:

paths.png

This change was made to be consistent with the name of the module in the device and the support driver.

I hope this information can help you.

Regards,

Adrian

-----------------------------------------------------------------------------------------------------------------------

Note: If this post answers your question, please click the Correct Answer button. It would be nice!

-----------------------------------------------------------------------------------------------------------------------

元の投稿で解決策を見る

2 返答(返信)
1,370件の閲覧回数
adriancano
NXP Employee
NXP Employee

Hi,

The warnings you see are the next:

warnings sdk k22.png

This is because the name of the folders change from spi to dspi and dma to edma. Those folders contain the drivers to use the dSPI module and the eDMA module that are the ones included in the K22 device. This is just a change in the name of the folders.

To avoid those warnings you can erase from the Included paths the one with the problem:

paths.png

This change was made to be consistent with the name of the module in the device and the support driver.

I hope this information can help you.

Regards,

Adrian

-----------------------------------------------------------------------------------------------------------------------

Note: If this post answers your question, please click the Correct Answer button. It would be nice!

-----------------------------------------------------------------------------------------------------------------------

1,369件の閲覧回数
bosleymusic_com
Contributor IV

Perfect! Thank you.

0 件の賞賛
返信