This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

how to set LPC_UART1->LCR value

i am using lpc 1768 but i dont know how to set how to set LPC_UART1->LCR=?? value for 4800 baud,8 data bits,odd parity,1 stop.I hope that someone help me. Thank you.

Parents
  • Dear Friends

    Thank for your replies. i have datasheet,usermanual,keil sample code etc see here i used UART based sensor. that datasheet was gave 4800 baud ,8data bytes,1stop bit for receive that values

    first i tried in hyperterminal everything is fine i modify the keil receiver code. according to that LPC_UART0->LCR = 0xb8. i got data but that value was different compare than microcontroller

Reply
  • Dear Friends

    Thank for your replies. i have datasheet,usermanual,keil sample code etc see here i used UART based sensor. that datasheet was gave 4800 baud ,8data bytes,1stop bit for receive that values

    first i tried in hyperterminal everything is fine i modify the keil receiver code. according to that LPC_UART0->LCR = 0xb8. i got data but that value was different compare than microcontroller

Children
No data