Unable to use CMSIS GPIO driver

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

Unable to use CMSIS GPIO driver

Jump to solution
639 Views
WaSt
Contributor II

Hello,

i would like to use the Config tool to do the initial setup and bringup of my custom board.
I want to use the CMSIS drivers for I2C, SPI, UART and GPIO.

Unfortunately MCUXpresso Config Tool only allows CMSIS drivers for I2C, SPI and UART.

In the Peripheral Tool section you can choose the universal GPIO peripheral driver, but it uses the gpio adapter driver (fsl_gpio_adapter.c/.h) and not the CMSIS driver.

Therefore the generated RTE_Device.h does not include the GPIO stuff, which is included by the GPIO CMSIS driver. One could manually add the #defines to the RTE_Device.h, but adapting generated files is never a good idea and should not be needed.

So as I see it, it is not possible to use/generate Code for using the CMSIS GPIO drivers with the MCUXpresso Config Tool.
Is this correct or am I missing something?

Versions:
Config Tool: v25.3
Peripherals: v15

Best regards,
Stefan

0 Kudos
Reply
1 Solution
557 Views
EdwinHz
NXP TechSupport
NXP TechSupport

Hi @WaSt,

I have corroborated this behavior and indeed ConfigTools does not currently support cmsis GPIO for this MCU.

That said, the driver is still existent, so you can import the cmsis gpio to your project by right clicking the project folder, selecting SDK Management > Manage SDK Components, and selecting gpio_cmsis under cmsis drivers. The implementation of this driver would have to be manual.

BR,
Edwin.

View solution in original post

4 Replies
612 Views
EdwinHz
NXP TechSupport
NXP TechSupport

Hi @WaSt,

Could you please specify what MCU are you using in order to further investigate this issue?

 

0 Kudos
Reply
598 Views
WaSt
Contributor II

Sure, I am using the MCXA153.

Tags (1)
0 Kudos
Reply
558 Views
EdwinHz
NXP TechSupport
NXP TechSupport

Hi @WaSt,

I have corroborated this behavior and indeed ConfigTools does not currently support cmsis GPIO for this MCU.

That said, the driver is still existent, so you can import the cmsis gpio to your project by right clicking the project folder, selecting SDK Management > Manage SDK Components, and selecting gpio_cmsis under cmsis drivers. The implementation of this driver would have to be manual.

BR,
Edwin.

481 Views
WaSt
Contributor II
MCXA153
0 Kudos
Reply