Hi,
I'm using MCUXpresso 11.6.1 and SDK 12.2 to develop firmware for LPC5528.
MCUXpresso IDE includes "Config Tools", a suite of evaluation and configuration tools is intended to facilitate configuration and use of NXP microcontrollers.
I understand that using the Config Tools is the suggested way to configure pins, clocks and peripherals of NXP MCUs.
Therefore I wonder why many of the SDK examples do not use Config Tools?
For example, the example project "lpadc_interrupt" uses Clocks Tool to configure the main clock only.
However, the USART clock is configured manually without it (relevant code is in main() instead of clock_config.c).
Still worse, the ADC (which is the gist of this example) is configured manually and not through Peripheral Tools. Peripheral tools is completely disabled in this project. If you enable it, it has not idea that ADC0 is used and how it is configured in the example.
This is a particularly bad decision as
a) the ADC of this MCU is a beast and has a pile of different configuration options,
b) Peripheral Tools does a nice job visualizing and configuring these options.
I suggest that SDK examples make good use of the Config Tools in the future.
Cheers
Daniel