Error: L6218E: Undefined symbol Driver_SPI0

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

Error: L6218E: Undefined symbol Driver_SPI0

1,252件の閲覧回数
kevinyuthermo
Contributor III

In my K64 MCU project, I need to use the cmsis dspi edma driver.

So I ported the code from example "cmsis_dspi_edma_transfer".

But I always got a link error:

.\Objects\hello.axf: Error: L6218E: Undefined symbol Driver_SPI0 (referred from main.o).

.\Objects\hello.axf: Error: L6218E: Undefined symbol Driver_SPI1 (referred from main.o).

I have already included proper header files, and also added fsl_dspi_cmsis.c into project.

But still link error like this.

I am blocked here, any suggestions?

0 件の賞賛
返信
1 返信

938件の閲覧回数
danielchen
NXP TechSupport
NXP TechSupport

Hi Kevin:

I would suggest you refer to the below demo, it shows how to use DSPI driver in edma way:

SDK_2.4.0_FRDM-K64F\boards\frdmk64f\driver_examples\dspi\edma_b2b_transfer

Regards

Daniel