Baud Rate in uartcontrol030.zip

Writing software that controls the system and peripherals such as displays, SD cards, Buttons, LEDs, Serial Ports etc.
Post Reply
Jaison
User
Posts: 14
Joined: Tue 2013-08-06 14:09

Baud Rate in uartcontrol030.zip

Post by Jaison » Wed 2013-08-14 14:16

Hello,

Please help me to change the baud rate of the default "uartcontrol030.zip" code from 115200 to 57600 or lesser rate.

Thanks
Jaison

User avatar
pasi
VLSI Staff
Posts: 1670
Joined: Thu 2010-07-15 16:04

Re: Baud Rate in uartcontrol030.zip

Post by pasi » Fri 2013-08-16 12:58

Add "uartByteSpeed = 57600/10;" before calling InitAudio(); or

Code: Select all

 uartByteSpeed = 57600/10;
 PERIP(UART_DIV) = UartDiv();
somewhere during initialization.
Visit https://www.facebook.com/VLSISolution VLSI Solution on Facebook

Jaison
User
Posts: 14
Joined: Tue 2013-08-06 14:09

Re: Baud Rate in uartcontrol030.zip

Post by Jaison » Fri 2013-08-16 14:09

Thank you.

Post Reply