EngineersGarage

  • Engineers Garage Main Site
  • Visit our active EE Forums
    • EDABoard.com
    • Electro-Tech-Online
  • Projects & Tutorials
    • Circuits
    • Electronic Projects
    • Tutorials
    • Components
  • Digi-Key Store
    • Cables, Wires
    • Connectors, Interconnect
    • Discrete
    • Electromechanical
    • Embedded Computers
    • Enclosures, Hardware, Office
    • Integrated Circuits (ICs)
    • Isolators
    • LED/Optoelectronics
    • Passive
    • Power, Circuit Protection
    • Programmers
    • RF, Wireless
    • Semiconductors
    • Sensors, Transducers
    • Test Products
    • Tools
  • Advertise
You are here: Home / Topics / how to calculate baud rate for lpc2148

how to calculate baud rate for lpc2148

|

Miscellaneous › Others › how to calculate baud rate for lpc2148

  • This topic has 4 replies, 3 voices, and was last updated 9 years, 11 months ago by Kapildev.
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • June 10, 2013 at 1:20 am #2474
    ANJUSHA
    Participant

     i  came to know from manual baud rate= Pclk/16/(256*udlm+udll)/A;

     

    WHERE A=1+(divaddval/mulvalue);

     

    i taken pclk 12mhz (CRYSTAL FREQUENCY)  ,baud rate=9600  and A=1, i got udlm+udll= 78.125;

     

    so i taken udll=0X4E AND dlm=0x00 in intializing uart….i simulated in keil,after debugging in peripheral window –>uart0—>my baud rate value got changed it is 12018…can you tell where the baud rate calculation i got wrong..

     

    June 10, 2013 at 1:05 pm #9933
    AJISH ALFRED
    Participant

    Hi Abiram,

    Suggest you to check the clock settings, make sure that your microcontroller is running with the external crystal oscillator and not with the built-in oscillator.

    June 20, 2013 at 2:35 am #9993
    ANJUSHA
    Participant

     

        hello sir,

     

             i calculated and i got it…i taken pclk as 30MHZ, by considering VPBCLK as 0x02;

    July 18, 2013 at 5:02 am #10158
    AJISH ALFRED
    Participant

    That’s great Abiram. Keep up the good work.

    June 6, 2015 at 12:35 pm #12969
    Kapildev
    Participant

    sir,

    plz explain interrupt in lpc2148,i con't unterstood the data sheet plz give simple explaination,

    how to program for the interrupt 

  • Author
    Posts
Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.
Log In

RSS Recent Posts

  • how to work on pcbs that are thick May 19, 2025
  • 100uF bypass Caps? May 19, 2025
  • Fuel Auto Shutoff May 18, 2025
  • Actin group needed for effective PCB software tutorials May 18, 2025
  • compatible eth ports for laptop May 18, 2025

Stay Up To Date

Newsletter Signup
EngineersGarage

Copyright © 2025 WTWH Media LLC. All Rights Reserved. The material on this site may not be reproduced, distributed, transmitted, cached or otherwise used, except with the prior written permission of WTWH Media
Privacy Policy | Advertising | About Us

Search Engineers Garage

  • Engineers Garage Main Site
  • Visit our active EE Forums
    • EDABoard.com
    • Electro-Tech-Online
  • Projects & Tutorials
    • Circuits
    • Electronic Projects
    • Tutorials
    • Components
  • Digi-Key Store
    • Cables, Wires
    • Connectors, Interconnect
    • Discrete
    • Electromechanical
    • Embedded Computers
    • Enclosures, Hardware, Office
    • Integrated Circuits (ICs)
    • Isolators
    • LED/Optoelectronics
    • Passive
    • Power, Circuit Protection
    • Programmers
    • RF, Wireless
    • Semiconductors
    • Sensors, Transducers
    • Test Products
    • Tools
  • Advertise