Unable to use CMSIS GPIO driver

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

Unable to use CMSIS GPIO driver

跳至解决方案
618 次查看
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

标记 (4)
0 项奖励
回复
1 解答
536 次查看
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.

在原帖中查看解决方案

4 回复数
591 次查看
EdwinHz
NXP TechSupport
NXP TechSupport

Hi @WaSt,

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

 

0 项奖励
回复
577 次查看
WaSt
Contributor II

Sure, I am using the MCXA153.

标记 (1)
0 项奖励
回复
537 次查看
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.

460 次查看
WaSt
Contributor II
MCXA153
0 项奖励
回复