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

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

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

Jump to solution
1,567 Views
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 Kudos
Reply
1 Solution
1,503 Views
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.

View solution in original post

0 Kudos
Reply
3 Replies
1,521 Views
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 Kudos
Reply
1,504 Views
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 Kudos
Reply
1,532 Views
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 Kudos
Reply