Is there any tool like MCUExpresso Config for code generation/initialization for LPC1778

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

Is there any tool like MCUExpresso Config for code generation/initialization for LPC1778

跳至解决方案
1,591 次查看
pb02
Contributor I

Is there any tool for pin configuration and initialization of the LPC1778 like the MCUExpresso Config tool as currently only LPC55xx devices are available on it.

0 项奖励
回复
1 解答
1,527 次查看
RaRo
NXP TechSupport
NXP TechSupport

Hello @pb02,

You still can use the PINSEL, and do the process by yourself; nonetheless, there is functions as the one you point out, that helps you to do the process. It may be easier to do the configuration trough the functions, but it could be both ways according your needs.

For IOCON: I/O pin configuration, you can set a pinmux for a single pin with IOCONPinMuxSet() or set a pinmux for group of pins with IOCON_SetPinMuxing().

RaulRomero_0-1671133139086.png

For further information related to the SDK and functions you could use for your configuration, please check the MCUXpresso SDK API Reference Manual: IOCON: I/O pin configuration.

Best regards, Raul.

在原帖中查看解决方案

0 项奖励
回复
3 回复数
1,545 次查看
pb02
Contributor I

Thank you so much for helping out @RaRo.

I am quite new to LPC architecture.
I just went through these, the underlying doubt is that like the old legacy headers, all pins of a port can be configured via the PINSEL register, but as per headers and examples in LPCOPEN the pins have to be set using the Chip_IOCON_PinMux function individually for each pin, is that the correct interpretation?

 

pb02_0-1671084198690.png

 

Thanks and Regards,

pb02

0 项奖励
回复
1,528 次查看
RaRo
NXP TechSupport
NXP TechSupport

Hello @pb02,

You still can use the PINSEL, and do the process by yourself; nonetheless, there is functions as the one you point out, that helps you to do the process. It may be easier to do the configuration trough the functions, but it could be both ways according your needs.

For IOCON: I/O pin configuration, you can set a pinmux for a single pin with IOCONPinMuxSet() or set a pinmux for group of pins with IOCON_SetPinMuxing().

RaulRomero_0-1671133139086.png

For further information related to the SDK and functions you could use for your configuration, please check the MCUXpresso SDK API Reference Manual: IOCON: I/O pin configuration.

Best regards, Raul.

0 项奖励
回复
1,556 次查看
RaRo
NXP TechSupport
NXP TechSupport

Hello @pb02,

Unfortunately, there is not a tool like ConfigTools that supports that microcontroller. You could check LPCOpen Software for LPC17XX or LPCOpen Libraries and Examples for LPC17xx examples, they could be useful as a guide for the pin configuration and initialization.

In case you are using MCUXpresso IDE, in this link MCUXpresso IDE - Using LPCOpen Examples you may find a way to import the examples of LPCOpen, work with them and debug your board.

Best regards, Raul.

0 项奖励
回复