1. Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.
    Dismiss Notice

LPC 2148 Baud

Discussion in 'ARM' started by Twisted_transistor, Jul 22, 2012.

  1. Twisted_transistor

    Twisted_transistor New Member

    Joined:
    Jul 22, 2012
    Messages:
    23
    Likes:
    0
    Hi.. I want to interface a gps module with my LPC 2148.. But d baud of d GPS is 9600.. And I'm using a 12 MHz crystal.. So is it possible to get a baud of 9600? And how?
     
  2. DJ.

    DJ. New Member

    Joined:
    Jul 1, 2012
    Messages:
    100
    Likes:
    7
    Hi,

    Yes it certainly possible and there some the Uart register available by which you can do these setting and you will have the 9600...
    If you got stuck any time, just reply i will help you more with more details...
     
  3. Twisted_transistor

    Twisted_transistor New Member

    Joined:
    Jul 22, 2012
    Messages:
    23
    Likes:
    0
    k.. Thank you.. But will it be exact 9600?

    And also can u pls recommend any other controller which has two UARTs?
     
  4. dave

    Dave New Member

    Joined:
    Jan 12, 1997
    Messages:
    -
    Likes:
    0


     
  5. DJ.

    DJ. New Member

    Joined:
    Jul 1, 2012
    Messages:
    100
    Likes:
    7

    yes it would be exactly 9600...
    And is there any reason you wont to have any other controller because LPC2148 also is having the 2 Uart.
     
  6. Twisted_transistor

    Twisted_transistor New Member

    Joined:
    Jul 22, 2012
    Messages:
    23
    Likes:
    0
    k.. thanks alot:) The thing is in our college we have not yet studied ARM.. But I'm using it for my project since it has 2 UARTs.. & I dont know if other controllers have. Could u pls advise me..?
     
  7. پروژه های الکترو

    پروژه های الکترو Member

    Joined:
    Apr 20, 2012
    Messages:
    37
    Likes:
    0
    Location:
    تهران اندروید
    As DJ said, 2148 has two USARTs.

    But if you are looking for a simpler microcontroller,
    AVR series like ATmega162 have two USARTs and available in DIP packages.
     
  8. DJ.

    DJ. New Member

    Joined:
    Jul 1, 2012
    Messages:
    100
    Likes:
    7
    wic of the controller has been completed in college, so we can help you out with one of those...
     
  9. Twisted_transistor

    Twisted_transistor New Member

    Joined:
    Jul 22, 2012
    Messages:
    23
    Likes:
    0
    We r currently doing 8051.. But I think i'll stick wid LPC2148.. Coz we are using MEMS sensors which gives an I2C output.. & thanks alot:)
     
  10. پروژه های الکترو

    پروژه های الکترو Member

    Joined:
    Apr 20, 2012
    Messages:
    37
    Likes:
    0
    Location:
    تهران اندروید
    8051 from which company?

    TI? Dallas? NXP? Atmel? ST? SL?

    See C8051F58x-59x or MSC12 from TI or DS89C4x0 from Dallas.

    Also you can easily use bit-banging to emulate UART communications.

    See the sample C code in http://fa.wikipedia.org/wiki/بیت_بنگ
     
    Last edited by a moderator: Dec 26, 2013
  11. Twisted_transistor

    Twisted_transistor New Member

    Joined:
    Jul 22, 2012
    Messages:
    23
    Likes:
    0
    ATMEL.. & besides MEMS, we r interfacing it with GPS & GSM..
     
  12. DJ.

    DJ. New Member

    Joined:
    Jul 1, 2012
    Messages:
    100
    Likes:
    7
    I think its a good choice to go ahead with 2148 only...
     
  13. Twisted_transistor

    Twisted_transistor New Member

    Joined:
    Jul 22, 2012
    Messages:
    23
    Likes:
    0
    OK..yes.. thanks alot:)
     

Share This Page