Programming an LPCXpresso LPC1769 via the UART
Posted: Sun Jun 17, 2012 8:07 am
It is very easy to program an Embedded Artists LPC1343 LPCXpresso board / baseboard combination with Astrobe using the USB / UART0 connection on the baseboard. Unfortunately the same is not true for the LPC1769 LPCXpresso due to restrictions imposed by the baseboard's compatibility with ARM's 'mbed' development board.
To solve this problem I have made a simple adapter board from Veroboard that allows UART0 of a LPC1769 LPCXpresso to be connected to a USB / FTDI dongle e.g.
http://www.coridiumcorp.com/catalog/pro ... ucts_id=83
(NOTE: Similar adaptors are available elsewhere at half the price. However, they usually have CTS input accessible rather than the DSR output. Having a DSR output available means that Astrobe can automatically set the MCU into bootloader mode which makes programming the devices so much more convenient)
The adapter board also provides easy access via jumper wires to the LPC1769 pins for +3.3v, GND, SSP0 / 1 (for SPI devices) and I2C1 communication. The photo shows it connected to the SparkFun HMC 6352 Compass Module:
http://www.sparkfun.com/products/7915
This combination was used to develop the LPC1769 / I2C Compass source code example which can be downloaded from this forum:
viewtopic.php?f=9&t=199
The following photo shows the adaptor board without the LPC1769 board mounted.
A similar adaptor board could be used for programming an LPCxpresso LPC1343 via UART0 and experimenting with SPI / I2C breakout boards without having to use a baseboard.
To solve this problem I have made a simple adapter board from Veroboard that allows UART0 of a LPC1769 LPCXpresso to be connected to a USB / FTDI dongle e.g.
http://www.coridiumcorp.com/catalog/pro ... ucts_id=83
(NOTE: Similar adaptors are available elsewhere at half the price. However, they usually have CTS input accessible rather than the DSR output. Having a DSR output available means that Astrobe can automatically set the MCU into bootloader mode which makes programming the devices so much more convenient)
The adapter board also provides easy access via jumper wires to the LPC1769 pins for +3.3v, GND, SSP0 / 1 (for SPI devices) and I2C1 communication. The photo shows it connected to the SparkFun HMC 6352 Compass Module:
http://www.sparkfun.com/products/7915
This combination was used to develop the LPC1769 / I2C Compass source code example which can be downloaded from this forum:
viewtopic.php?f=9&t=199
The following photo shows the adaptor board without the LPC1769 board mounted.
A similar adaptor board could be used for programming an LPCxpresso LPC1343 via UART0 and experimenting with SPI / I2C breakout boards without having to use a baseboard.