ARM LPC2129 Mini Development Board – UART0 Interfacing

In ARM LPC2129, there are two UART modules named by UART0 and UART1. Considering UART0 communication, two port pins are used – P0.0(transmission), P0.1(reception).

This Mini Development Board features 4 different connections for on board UART0 communication, they are:

  1. USB via CP2102
  2. Serial RS232 via MAX232
  3. RMC connecter (GND,TXD0,RXD0,Vout) 3V3/5V level
  4. Zigbee compatible connector on top and bottom side

UART0 communication via USB/Serial port is selected using jumpers J7 and J9. Through RMC connecter,UART0 can be used in two voltage levels of 3V3/5V which can be selected using jumper J16. While using UART0 communication PROGRAMMER switch should in manual mode else communication is not possible.

Sample code to test both transmission & reception of UART0 is given below. Initially the string “Checking UART0″ to gets transmitted. Upon receiving a character, the same gets retransmitted.

Schematic:Sample code :

 OUTPUT:

The following screenshots explain how to test the sample code.
Realterm (Download)

  • Step 1:Open the Realterm

  • Step 2: RealTerm opens as shown below

  •  Step 3: Go to ‘Port’ option, set correct baudrate (which is set as 9600 in the sample code) and give correct port number.

  •  Step 4: Click ‘Change’ (encircled in red) to apply the changes. Now check the status of Port. If it is closed, click ‘Open’ button (encircled in green) to open it.

  •  Step 5: The data transmitted from the board can be viewed as shown below.

  • Step 6: To check reception, go to Send option, type the string in the space provided(encircled in green) and click Send ASCII button. The first “hello” in green colour is  transmitted from PC & that in yellow colour is retransmitted by the controller

 Topics related to ARM LPC2129 Mini Development Board:

  1. ARM LPC2129 Mini Development Board – Overview
  2. ARM LPC2129 Mini Development Board – LED Interfacing
  3. ARM LPC2129 Mini Development Board – LCD Interfacing
  4. ARM LPC2129 Mini Development Board – UART0 Interfacing
  5. ARM LPC2129 Mini Development Board – UART1 Interfacing
  6. ARM LPC2129 Mini Development Board – Switches Interfacing
  7. ARM LPC2129 Mini Development Board – BUZZER Interfacing
  8. ARM LPC2129 Mini Development Board – POT Interfacing (ADC)
  9. ARM LPC2129 Mini Development Board – Temperature Sensor Interfacing(ADC)
  10. ARM LPC2129 Mini Development Board – Interfacing Servo motor
  11. ARM LPC2129 Mini Development Board – CAN Interfacing

Resources

How to buy?

Support

Please share your ideas with us,visit our forum for discussion

Leave a Reply to ARM LPC2129 Mini Development Board – Switches Interfacing Cancel reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code class="" title="" data-url=""> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre class="" title="" data-url=""> <span class="" title="" data-url="">