lpc177x_8x

The datasheet mentions the I/O pins are 5V tolerant if Vdd is present. Can you explain in detail what this implies?

NXP_appMan's picture

The IO pin will be 5V tolerant if the supply voltage Vdd is present, and they are configured as inputs. VDDIO must be applied to the microcontroller when input voltage is 5V, or else the 5V tolerance does not apply.

How can software detect that the external oscillator does not work, and it should use the internal RC oscillator instead, and report this as an error?

NXP_appMan's picture

At Power On Reset (POR) the IRC is the default clock source. Before switching to the XTAL oscillator, your code should wait for the PLL to lock with the XTAL before switching from the IRC.

Using a timer, wait for a defined period of time and if the PLL does not lock with the XTAL as the input clock source, switch the PLL clock source to the IRC.

During application code execution the WDT can be use to recover the device if the XTAL fails, resetting the device.

Is there any port for an NXP Cortex evaluation board that support the .Net Micro Framework? Is NXP or any third party supporting the .NET Micro Framework?

NXP_appMan's picture

The open source .NET Micro Framework requires a device with at least 256kB of flash and 64kB of RAM. A device with an external memory bus for memory expansion is highly recommended.

Please visit http://www.netmf.com/ for details on the .NET

There are two evaluation boards that support .NET MF:

* Embedded Artists EA_LPC2478 (NXP LPC2478 processor)

* Phytec Rapid Development Kit PCM023 (NXP LPC2294 processor)

What are the various ways the LPC17xx can be woken up from a low power mode?

There are several ways to wake up the processor, such as:
NMI, External Interrupts EINT0 through EINT3, GPIO interrupts, the Ethernet WOL interrupt, BOD, RTC Alarm interrupt, a WD Timer timeout, a USB input pin transition, a CAN input pin transition, as long as the related interrupt is enabled.
A UART may be used to wake the device from sleep mode but not from deep sleep mode and power-down mode. The UART can be running in sleep mode and when it receives a signal, it can generate an interrupt and wake the processor up.
In sleep mode, any enabled interrupt can wake the device up.

What is the required accuracy for the regulator input to the LPC17xx?

The internal voltage regulator voltage will always regulate around 1.8V where the external input voltage can range from 2.4V to 3.6V over the temperature range of -40C to 85C.

What is the importance of the internal regulators on LPC176x? Specifically, what is the accuracy of the internal regulators?

The internal voltage regulator will convert the external 3.3V to 1.8V. The 1.8V regulator powers the core domain, PLL, main oscillator, IRC with low power consumption.
As a result, the device is single supply device since the IOs supply shares the same range as the regulator supply input.

Is it possible to sample two analog signals at the same time on a Cortex-M3 device?

The LPC13xx and LPC17xx families have a single ADC and sample-and-hold, so sampling multiple signals at the same time is not possible, unless an external sample-and-hold circuit is utilized.
The LPC18xx microcontrollers are a high performance Cortex-M3 family that has two ADCs, so it would be possible to sample multiple signals at the same time with these devices. The LPC43xx Cortex-M4 devices would also be an option since they also contain multiple ADCs.

Where should I go for LPCXpresso related support?

The LPCXpresso forum is a great place to start. The forum is found at http://knowledgebase.nxp.com/lpcxpresso.php
You can also find code examples at http://ics.nxp.com/support/lpcxpresso/

What platforms are supported by LPCXpresso?

The LPCXpresso IDE is available for Windows, Linux and Mac OS X hosts. LPCXpresso can be downloaded from http://lpcxpresso.code-red-tech.com/LPCXpresso/.

How many breakpoints and watchpoints are supported on LPC17xx and other Cortex-M3 devices?

There are eight breakpoints. Six instruction breakpoints can be used to remap instruction addresses for code patches. Two data comparators can be used to remap addresses for patches to literal values.
There are four data watchpoints that can also be used as trace triggers. Additional information can be found in device User's Manuals.

Syndicate content
feedback