Vlsi VS1000 Technical manual

VLSI
Solution
y
Controlled Document
VS1000B/C Audio Book
VS1000 “VLSI Solution Ogg Vorbis Player”
Project Code:
Project Name: VS1000
Revision History
Rev. Date Author Description
0.92 2008-10-31 PO Public domain content, works with Developer
Board.
0.9 2008-02-05 PO Menu file format changed.
0.8 2008-01-23 PO Programming instructions update, low-voltage
poweroff disabled.
0.7 2008-01-07 PO Better menu generator, a few additions.
0.6 2007-12-20 PO First beta version.
0.5 2007-11-26 PO Initial version.
Rev. 0.92 2008-10-31 Page 1(16)

VLSI
Solution
y
PO
VS1000B/C Audio Book VS1000
Table of Contents
1 VS1000 Audio Book 3
1.1 Introduction................................... 4
1.2 Keys....................................... 5
1.3 Battery Level Measurement . . . . . . . . . . . . . . . . . . . . . . . . . . 6
1.4 StartupScreen ................................. 7
1.5 MenuSystem .................................. 8
1.6 UserInterface.................................. 12
1.7 Flashing the Test Software through USB . . . . . . . . . . . . . . . . . . . 13
1.8 Flashing the Test Software Through UART . . . . . . . . . . . . . . . . . 14
1.9 ExampleFiles.................................. 15
2 Changes 16
Rev. 0.92 2008-10-31 Page 2(16)

VLSI
Solution
y
PO
VS1000B/C Audio Book VS1000
1. VS1000 AUDIO BOOK
1VS1000 Audio Book
Figure 1.1: VS1000 Audio Book
•Graphical startup screen and main menu heading.
•A menu system described in MENU.MNU is used.
•A menu entry can point to a sample-exact position in an Ogg Vorbis file.
•Allows browsing menu during audio playback.
•Battery level measurement.
•Bookmarks and keylock.
•Backlight timer.
•Can also use a display with parallel interface.
Rev. 0.92 2008-10-31 Page 3(16)

VLSI
Solution
y
PO
VS1000B/C Audio Book VS1000
1. VS1000 AUDIO BOOK
1.1 Introduction
This document shows the main features of the VS1000 Audio Book, and talks about how
some things are implemented. Free code space and the structure of code limits which
improvements are possible.
To make it easier to change files, the USB mass storage is enabled. The USB is only
detected at poweron, and only Mass Storage is supported. If a valid FAT filesystem or
the menu file is not found, the software waits for USB to be attached.
For code space reasons the software is in three separate programs. This is why the
software can not be loaded and run with the emulator.
•Init - performs initialization, reads settings and bookmarks, shows startup screen,
and detects USB.
•Book - implements the player and menu system.
•Power off - saves settings and bookmarks, turns the unit off.
Changes required to the VS1000 Developer Board:
•Extra button added to GPIO0[5] for bookmark / lock. The software can be tested
without the button.
•Battery level measurement using a comparator in GPIO0[6]. Without the extra
circuit battery is shown to be empty (JP14 open) or full (JP14 closed).
•Backlight LED connected between TX and IOVDD (with a resistor).
•A 1 nF capacitor added to reset line for better OLED display reset.
Rev. 0.92 2008-10-31 Page 4(16)

VLSI
Solution
y
PO
VS1000B/C Audio Book VS1000
1. VS1000 AUDIO BOOK
1.2 Keys
The VS1000 Audio Book uses one extra key in addition to the normal keys. The extra
key is added to GPIO0[5] in the same way as the other other keys on GPIO0. The
following key arrangement is recommended for a product.
MODE
VOL+
NEXTPREV
MARK/LOCK
SELECT
POWER
PLAY/PAUSEVOL−
Figure 1.2: Suggested Key Arrangement
Rev. 0.92 2008-10-31 Page 5(16)

VLSI
Solution
y
PO
VS1000B/C Audio Book VS1000
1. VS1000 AUDIO BOOK
1.3 Battery Level Measurement
VS1000 does not have a analog-to-digital converter that could be used for monitoring
battery voltage. However, in player mode the voltage of the AVDD regulator can be
changed quite freely without it affecting the audio quality (20 steps from 12 to 31). By
using a simple comparator circuit the AVDD can act as a changable reference to find out
what the battery voltage level is.
GPIO0_6
−
+
GND
100k
56k
100k
IOVDD
GND
AVDD
VBATT
VREF
Figure 1.3: Voltage Monitor
The resistor divider in AVDD determines the comparison range.
In the VS1000 Audio Book battery measurement is done at startup and once per sec-
ond. The battery voltage is compared to a reference voltage and the result is read using
GPIO0 6. The reference voltage is generated from AVDD using a resistor divider. Be-
cause AVDD can be changed by controlling the internal regulators, the battery voltage
can be measured with 20 steps.
Measurement is not done during low-power pause mode.
Low-power pause mode is entered when the audio is not playing and the backlight has
been turned off. The low-power pause mode has 5-minute power-off timeout.
IMPROVEMENT: The low-power pause mode should wake up peridiocally to check the
battery level.
Rev. 0.92 2008-10-31 Page 6(16)

VLSI
Solution
y
PO
VS1000B/C Audio Book VS1000
1. VS1000 AUDIO BOOK
1.4 Startup Screen
The graphics for the startup screen is taken from the file SCREEN.SCR. The size should
be 8×132 bytes. If this file does not exist, the software goes to main menu directly.
If the file exists, the startup screen is shown for about 10 seconds, or until any key is
pressed. After that the main menu is shown.
Figure 1.4: Startup Screen
The unit does not turn on if you quickly touch the power button. There is a small time
limit of 0.25 seconds. If the press was too short, the unit will turn itself off again after
one second.
If the backlight is not configured to be always off, it is on during the display of the startup
screen.
Rev. 0.92 2008-10-31 Page 7(16)

VLSI
Solution
y
PO
VS1000B/C Audio Book VS1000
1. VS1000 AUDIO BOOK
1.5 Menu System
The whole audio book is built around a menu system. Only audio files that have been
added to the menu system are playable. One file MENU.MNU describes the menu tree.
The playable menu entries specify a file name, a starting position, and an end position.
The playback starts from the start position and continues until the end of the .ogg file.
After that the player returns to menu.
A menu entry can also specify that the end position is used to end the playback. In that
case the portion between the start and end positions are played and after that the player
returns to menu. This can be used to play only a specific fraction of a file, for example
one part of a larger story.
The verse entries are used to display the name of the current play position during play-
back.
Figure 1.5: Menu Structure
Each entry is 64 bytes long. This includes a 42-character menu entry name, sub-menu
indices, 8-character FAT filename, start and end times, and menu flags.
Bookmark menu entries have a filename starting with “:”, but they have special processing
in the software: only bookmarks that exist are shown in the menu. You can also select
the bookmark to continue browsing from the bookmarked verse.
Backlight timer menu entries have a filename starting with “!”, and you can have different
backlight timer values by just modifying the menu entries.
See also genmenu.c and menu.txt for examples and comments.
Rev. 0.92 2008-10-31 Page 8(16)

VLSI
Solution
y
PO
VS1000B/C Audio Book VS1000
1. VS1000 AUDIO BOOK
The main menu can have a graphical top line from MAINMENU.SCR, 2×132 bytes. The
battery symbol is drawn on top of the graphics. If the file is not found, the default
graphics “MAIN MENU” is used.
Figure 1.6: Main Menu
Selecting an entry with NEXT or MODE/MENU button will advance in the menu tree.
Pressing PLAY will start playing from the beginning of the current entry at any level, if
the menu entry has the autoplay option.
Figure 1.7: Book Selection
After book selection you can select a chapter. At the lowest level you can select individual
verses.
Figure 1.8: Chapter and Verse selection
Rev. 0.92 2008-10-31 Page 9(16)

VLSI
Solution
y
PO
VS1000B/C Audio Book VS1000
1. VS1000 AUDIO BOOK
You can set bookmarks in play mode and remove bookmarks in the bookmark menu.
The bookmarked verse name is shown in the bookmark menu. You can press play to
start playing, or you can press mode or next to start browsing from the bookmarked
entry.
You can not enter the bookmark menu if there are no bookmarks. If you remove all
bookmarks, you will be automatically returned to the main menu.
There is currently space for 28 bookmarks.
Figure 1.9: Main Menu
The current backlight timer setting is shown beside the backlight timer entry. ++ is
shown if the backlight is always on, 00s is shown if the backlight is always off. Select the
backlight menu to change the backlight timer setting.
Figure 1.10: Backlight Timer
Highlight the setting you want, then press mode, next, or play to select it. You will be
automatically returned to the main menu.
Bookmarks, the volume setting and backlight timer configuration are saved to FLASH
when the unit is turned off using the power key.
Rev. 0.92 2008-10-31 Page 10(16)
Other manuals for VS1000
2
This manual suits for next models
1
Table of contents
Popular Computer Hardware manuals by other brands

EMC2
EMC2 VNX Series Hardware Information Guide

Panasonic
Panasonic DV0PM20105 Operation manual

Mitsubishi Electric
Mitsubishi Electric Q81BD-J61BT11 user manual

Gigabyte
Gigabyte B660M DS3H AX DDR4 user manual

Raidon
Raidon iT2300 Quick installation guide

National Instruments
National Instruments PXI-8186 user manual











