ARM LPC2129 Mini Development Board – UART1 Interfacing

In ARM LPC2129 Mini Development Board, UART1 is accessible through connector K12 that has 3 pins namely GND,TXD1 & RXD1.

  • TXD1 – Transmission pin of UART1 (P0.8)  
  • RXD1 – Reception pin of UART1 (P0.9)
  • GND  – Common ground

Schematic:

Sample code to test both transmission & reception of UART1 module is given below. The code initially transmits the string “Checking UART1”  and on receiving a character, the same gets retransmitted.

Sample Code

OUTPUTFlash the code into the controller and connect it to PC using suitable interface.. Various steps to check the output using RealTerm are given below.

  • Step 1: Launch 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