Unable to use CMSIS GPIO driver

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

Unable to use CMSIS GPIO driver

ソリューションへジャンプ
605件の閲覧回数
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 解決策
523件の閲覧回数
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 返答(返信)
578件の閲覧回数
EdwinHz
NXP TechSupport
NXP TechSupport

Hi @WaSt,

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

 

0 件の賞賛
返信
564件の閲覧回数
WaSt
Contributor II

Sure, I am using the MCXA153.

タグ(1)
0 件の賞賛
返信
524件の閲覧回数
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.

447件の閲覧回数
WaSt
Contributor II
MCXA153
0 件の賞賛
返信