Error on MCUXPresso Config Tool: FLEXCOMM driver NOT found

cancel
Showing results for 
Search instead for 
Did you mean: 

Error on MCUXPresso Config Tool: FLEXCOMM driver NOT found

185 Views
misterbee
Contributor II

So I created a base project based on SDK example freertos_hello using the online SDK builder. I choose GNU toolchains. I build and run on target so far so good.

 

But then I want to move on configuring I2C using the MCUXpresso Config tool from the project. I turn on the peripheral and add the FLEXCOM1 into peripheral as I want to use it for I2C. But then I have this error:

"Issue: FLEXCOMM Driver not found in the toolchain/IDE project. Project will not compile!
Level: Error
Type: Validation
Tool: Toolchain/IDE project
Origin: Peripherals
Target: Toolchain/IDE project: cm4
Resource: platform.drivers.flexcomm_i2c"

. How should I resolve this? Is there anyway I can add this I2C driver from the Config tools itself?

 

0 Kudos
6 Replies

175 Views
misterbee
Contributor II

I am using development board LPC54114

 

misterbee_0-1656067946392.png

 

0 Kudos

160 Views
xiangjun_rong
NXP TechSupport
NXP TechSupport

Hi,

I have tried to configure the I2C with FlexComm0 module, for the error, pls put the mouse  on the error message which is located at  the right-bottom of the peripheral menu, then right click the mouse, update the software file, the error will disappear.

BTW, I suppose that you can refer to the I2C example code, then copy the code to your application based on freeRtos, including pin configuration, clock configuration.

xiangjun_rong_0-1656311034862.png

Hope it can help you

BR

XiangJun Rong

0 Kudos

151 Views
xiangjun_rong
NXP TechSupport
NXP TechSupport

Hi,

Pls refer to the screenshot to fix the error message.

xiangjun_rong_0-1656494125487.png

Hope it can help you

BR

XiangJun Rong

0 Kudos

47 Views
misterbee
Contributor II

Thank you @xiangjun_rong , what did you do to show that option?

In my case, I did right click on the problem row and just showing this, no option to add driver from SDK

 

misterbee_0-1658909854195.png

 

0 Kudos

157 Views
misterbee
Contributor II

Thank you @xiangjun_rong ,

 It seems your snapshot is using MCUXPresso IDE But I am using GNU tool chains. Can' I resolve this without switching the toolchains? I hope so.

0 Kudos

177 Views
xiangjun_rong
NXP TechSupport
NXP TechSupport

Hi,

Can you tell us the part number so that we can have a check?

BR

XiangJun Rong

0 Kudos