Uartspeed - Automatic UART speed setting program

Designing hardware and software for systems that use the VS1010 MP3 Audio DSP Microcontroller.
Post Reply
Hannu
Senior User
Posts: 264
Joined: Mon 2016-05-30 11:54

Uartspeed - Automatic UART speed setting program

Post by Hannu »

Dear VS1010 users,

Here is tool for automatic setting of UART speed. Have a look at README.txt for it's full capabilities.

It has dependency to paramspl viewtopic.php?f=15&t=2498&p=13041

And as always, bug reports are welcome.

* Features

- Minimum parameter is to select uart and then single character is
received without printing or echoing.
- Works with both UARTs
- Can be set to echo received characters back to sender
- Can receive expected amount of chacters or stop on selected
character
- Print info to console about UART clock divider detection.

Code: Select all

VS1010>uartspeed -h
uartspeed [-0|-1] [-cchar] [-rcount][-sspeed] [-d] [-e] [-p] [-v] [-h]
-0	Select UART0
-1	Select UART1
-cchar	Exit on char character
-d	Round the speed down
-e	Echo character back
-p	Print UART speeds and exit
-rcount	Receive count characters and exit
-sspeed	Set speed to speed
-v	Verbose
-h	This help
Attachments
uartspeed.zip
Complete solution of uartspeed utility
(84.94 KiB) Downloaded 43 times
uartspeed.dlx
Uartspeed utility
(7.62 KiB) Downloaded 43 times
README.txt
Documentation of uartspeed utility
(2.61 KiB) Downloaded 48 times
Post Reply