Error: L6218E: Undefined symbol Driver_SPI0

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

Error: L6218E: Undefined symbol Driver_SPI0

975 Views
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 Kudos
1 Reply

661 Views
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