Libre LS9-AC11DBT User manual

Libre Wireless Technologies © 2016
Libre Confidential
User Guide
Module: LS9-AC11DBT
Rev: 3.3.1

LS9 User Guide
Libre Wireless Technologies User Guide: LS9 Ver. 3.3.1 Page 2 of 93
Libre Confiden ial
Libre Wireless Technologies Priva e Limi ed
librewireless.com
Copyrigh © 2016 Libre Wireless Technologies. All righ s reserved.
Circuit diagrams and other information relating to Libre Wireless Technologies products are included as a means
of illustrating typical applications. Consequently complete information sufficient for construction purposes is not
necessarily given. Although the information has been checked and is believed to be accurate no responsibility is
assumed for inaccuracies. Libre Wireless Technologies reserves the right to make changes to specifications and
product descriptions at any time without notice. Contact your local Libre Wireless Technologies sales office to
obtain the latest specifications before placing your product order. The provision of this information does not
convey to the purchaser of the described semiconductor devices any licenses under any patent rights or other
intellectual property rights of Libre Wireless Technologies or others. All sales are expressly conditional on your
agreement to the terms and conditions of the most recently dated version of Libre Wireless Technologies standard
Terms of Sale Agreement dated before the date of your order (the "Terms of Sale Agreement"). The product may
contain design defects or errors known as anomalies which may cause the product's functions to deviate from
published specifications. Anomaly sheets are available upon request. Libre Wireless Technologies products are
not designed intended authorized or warranted for use in any life support or other application where product
failure could cause or contribute to personal injury or severe property damage. Any and all such uses without
prior written approval of an Officer of Libre Wireless Technologies and further testing and/or modification will
be fully at the risk of the customer. Copies of this document or other Libre Wireless Technologies literature as
well as the Terms of Sale Agreement may be obtained by visiting Libre Wireless Technologies website.
LIBRE WIRELESS TECHNOLOGIES DISCLAIMS AND EXCLUDES ANY AND ALL WARRANTIES, INCLUDING
WITHOUT LIMITATION ANY AND ALL IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A
PARTICULAR PURPOSE, TITLE, AND AGAINST INFRINGEMENT AND THE LIKE, AND ANY AND ALL
WARRANTIES ARISING FROM ANY COURSE OF DEALING OR USAGE OF TRADE. IN NO EVENT SHALL LIBRE
WIRELESS TECHNOLOGIES BE LIABLE FOR ANY DIRECT, INCIDENTAL, INDIRECT, SPECIAL, PUNITIVE, OR
CONSEQUENTIAL DAMAGES; OR FOR LOST DATA, PROFITS, SAVINGS OR REVENUES OF ANY KIND;
REGARDLESS OF THE FORM OF ACTION, WHETHER BASED ON CONTRACT; TORT; NEGLIGENCE OF LIBRE
WIRELESS TECHNOLOGIES OR OTHERS; STRICT LIABILITY; BREACH OF WARRANTY; OR OTHERWISE;
WHETHER OR NOT ANY REMEDY OF BUYER IS HELD TO HAVE FAILED OF ITS ESSENTIAL PURPOSE, AND
WHETHER OR NOT LIBRE WIRELESS TECHNOLOGIES HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
DAMAGES

LS9 User Guide
Libre Wireless Technologies User Guide: LS9 Ver. 3.3.1 Page 3 of 93
Libre Confiden ial
Table of Con en s
1. In roduc ion ................................................................................................................................. 9
1.1. User Guide Insight ............................................................................................................................. 9
2. Libre Wireless Technologies’ EVK ...................................................................................... 11
2.1. LS9 EVK Setup .................................................................................................................................. 12
3. Firmware Upgrade ................................................................................................................... 14
3.1. LS Firmware Upgrade ................................................................................................................... 14
3.1.1 Firmware Upgrade Using PC / Laptop Method ................................................................... 14
3.1.2 Firmware Upgrade Using USB Method ................................................................................... 16
3.1.3 Firmware Upgrade Using Network Method.......................................................................... 18
3.2. HOST-Firmware Update ............................................................................................................... 21
4. Ne work Configura ion ........................................................................................................... 24
4.1. Wireless Network Setup Using WAC and SAC ..................................................................... 24
WAC / SAC Trigger Commands ............................................................................................................ 24
4.1.1 Wireless Network Setup Using WAC ....................................................................................... 24
4.1.2 Wireless Network Setup Using SAC (Speaker Android Configuration) method..... 25
4.2. Wireless Network Setup Using Webserver ........................................................................... 28
4.2.1 LS-Connect Method ........................................................................................................................ 28
4.2.2 Webpage Method ............................................................................................................................ 29
4.2.3 Manual Configuration Method ................................................................................................... 30
5. Configuring Non-Vola ile-I em ............................................................................................ 32
5.1. Host Communication Over UART ............................................................................................. 33
5.2. Telnet ................................................................................................................................................... 33
5.3. Network Interface ........................................................................................................................... 34
5.4. SSID of DDMS-Zone in SA-Mode ................................................................................................ 35
5.5. DDMS-Zone Password ................................................................................................................... 35
5.6. I2S LR-Clock ...................................................................................................................................... 35
5.7. I2S M-Clock ........................................................................................................................................ 36

LS9 User Guide
Libre Wireless Technologies User Guide: LS9 Ver. 3.3.1 Page 4 of 93
Libre Confiden ial
5.8. ACP ........................................................................................................................................................ 36
5.9. Model Name ...................................................................................................................................... 36
5.10. Manufacturer Name ....................................................................................................................... 37
5.11. WAC SSID ........................................................................................................................................... 37
5.12. HOST BAUDRATE ............................................................................................................................ 38
5.13. Serial Number................................................................................................................................... 38
5.14. Model Number ................................................................................................................................. 38
5.15. Hardware Version ........................................................................................................................... 39
5.16. Firmware Version ........................................................................................................................... 39
5.17. Spotify APP Key ............................................................................................................................... 39
5.18. SPDIF .................................................................................................................................................... 40
5.19. Current Volume ............................................................................................................................... 40
5.20. X-MODEM Packet Size ................................................................................................................... 40
5.21. Bluetooth ............................................................................................................................................ 41
5.22. BT Device Name ............................................................................................................................... 41
5.23. DLNA Connection Close ................................................................................................................ 41
5.24. Tidal User Name .............................................................................................................................. 42
5.25. Dezeer User Name .......................................................................................................................... 42
5.26. Current Volume ............................................................................................................................... 43
5.27. DDMSOOHmode .............................................................................................................................. 43
5.28. p2p_state ............................................................................................................................................ 43
5.29. PlayerState ......................................................................................................................................... 44
5.30. Scene Name ....................................................................................................................................... 44
6. Fea ures ....................................................................................................................................... 45
6.1. Libre APP for Android ................................................................................................................... 45
6.2. DDMS ................................................................................................................................................... 45
6.3. Source Switching ............................................................................................................................. 46
6.4. Software Security ............................................................................................................................ 46
6.5. Airplay® .............................................................................................................................................. 46

LS9 User Guide
Libre Wireless Technologies User Guide: LS9 Ver. 3.3.1 Page 5 of 93
Libre Confiden ial
Password for Airplay Playback ............................................................................................................. 47
6.6. Cast For Audio .................................................................................................................................. 50
6.7. Spotify Connect ................................................................................................................................ 52
6.8. AUX-In Support ................................................................................................................................ 55
6.9. DLNA ® / DMR .................................................................................................................................. 55
6.10. LUCI Over UART .............................................................................................................................. 57
6.11. Switch between Wired and wireless modes ......................................................................... 57
Switching to Wired Mode ........................................................................................................................ 58
Switching to Wireless Mode ................................................................................................................... 59
6.12. TCP / IP Tunneling ......................................................................................................................... 60
6.13. Wi-Fi Scan Result ............................................................................................................................ 60
6.14. Device Name Configuration ........................................................................................................ 61
6.15. Switch between Wired and wireless modes ......................................................................... 62
Switching to Wired Mode ........................................................................................................................ 62
Switching to Wireless Mode ................................................................................................................... 63
6.16. Music Services .................................................................................................................................. 64
vTuner .......................................................................................................................................................... 64
TuneIn ......................................................................................................................................................... 66
QQ Music ........................................................................................................................................................ 68
Spotify ........................................................................................................................................................... 72
Deezer ........................................................................................................................................................... 75
Tidal .......................................................................................................................................................... 77
7. Appendix ..................................................................................................................................... 80
7.1. ACP Setup ........................................................................................................................................... 80
7.2. Rework on LS6 EVK to evaluate LS9 Module. ...................................................................... 81
7.3. Install USB Composite Drive ....................................................................................................... 81
7.4. Install Android Composite ADB Driver .................................................................................. 85
7.5. Sharing Folder .................................................................................................................................. 91
Windows ........................................................................................................................................................ 91
Ubuntu ........................................................................................................................................................... 91

LS9 User Guide
Libre Wireless Technologies User Guide: LS9 Ver. 3.3.1 Page 6 of 93
Libre Confiden ial
Table of Figures
Figure 2-1: LS9 Module (v1.0) In erfaces.................................................................................... 11
Figure 2-2: LS9 Module (v1.1) In erfaces.................................................................................... 11
Figure 2.1-1: LS9 Module and LS9 Bridge-Board ..................................................................... 12
Figure 3.1-1: LS9 Firmware Folder S ruc ure ........................................................................... 15
Figure 4.1.-1: WAC Speaker Lis ed ................................................................................................ 25
Figure 4.1.-2: Libre APP .................................................................................................................... 26
Figure 6.2-1: DDMS Se up in webpage ......................................................................................... 45
Figure 6.5-1 AirPlay S ream ............................................................................................................ 47
Figure 6.5-2: Password for Airplay ............................................................................................... 48
Figure 6.5-3: En er Password for S reaming ............................................................................. 49
Figure 6.6-1: Disable Airplay Password ...................................................................................... 50
Figure 6.6-1: Cas for Audio Applica ion Menu ......................................................................... 51
Figure 6.6-2: Device lis ..................................................................................................................... 51
Figure 6.6-3: Cas for Audio Enabled Device Selec ed ............................................................ 52
Figure 6.7-1: Spo ify APP .................................................................................................................. 53
Figure 6.7-2: Spo ify Login Screen ................................................................................................. 54
Figure 6.7-3: Device Selec ion......................................................................................................... 55
Figure 6.7-4: Device Lis ................................................................................................................... 55
Figure 6.9-1: Media Player S ream Menu.................................................................................... 56
Figure 6.9-2: Media S reaming Op ions ....................................................................................... 57
Figure 6.11-1: Swi ch o Wired Mode ........................................................................................... 58
Figure 6.11-2: Swi ch o Wi-Fi Mode............................................................................................. 60
Figure 6.14-1: Device Name Sec ion ............................................................................................. 62
Figure 6.15-1: Swi ch o Wired Mode ........................................................................................... 63
Figure 6.16-1: Swi ch o Wi-Fi Mode............................................................................................. 64
Figure 6.16.1-1: vTuner Browse Screen ...................................................................................... 65
Figure 6.16.1-2: Now Playing Screen for vTuner ..................................................................... 66
Figure 6.16.2-1: TuneIn Browse Screen ...................................................................................... 67

LS9 User Guide
Libre Wireless Technologies User Guide: LS9 Ver. 3.3.1 Page 7 of 93
Libre Confiden ial
Figure 6.16.2-2: Now Playing Screen for TuneIn ..................................................................... 68
Figure 6.16.3-1: QQ Music APP ....................................................................................................... 69
Figure 6.16.3-2: Login Screen ......................................................................................................... 70
Figure 6.16.3-3: Device Selec ion Op ion .................................................................................... 71
Figure 6.16.3-4: Device Lis ............................................................................................................. 72
Figure 6.16.4-1: Spo ify APP ............................................................................................................ 73
Figure 6.16.4-2: Spo ify Login Screen .......................................................................................... 74
Figure 6.16.4-3: Device Selec ion .................................................................................................. 74
Figure 6.16.4-4: Device Lis ............................................................................................................. 75
Figure 6.16.5-1: Deezer Browse Screen ...................................................................................... 76
Figure 6.16.6-2: Now Playing Screen for Deezer ...................................................................... 77
Figure 6.16.6-1: Tidal Browse Screen .......................................................................................... 78
Figure 6.16.6-2: Now Playing Screen for Tidal .......................................................................... 79

LS9 User Guide
Libre Wireless Technologies User Guide: LS9 Ver. 3.3.1 Page 8 of 93
Libre Confiden ial
Documen Revision His ory
Revision Da e Descrip ion of change
3.3 March 7 2016 Updated Section 2.1 with Setup Button
information.
3.2 February 10 2016 Updated Section 3.1 “Firmware Upgrade
Using USB Method”.
3.1 February 1 2016 Updated section 5 “ Configuring Non-
Volatile-Item”
Updated section 6 “ Features”
•DDMS
•Libre APP
•DLNA / DMR Playback
•Device Name Configuration
•Wi-Fi Scan Result
•Music Services
3.0 January 22 2016 Updated Section 3 “Firmware Upgrade”
Added Section 3.1.3 and 3.2
2.9 January 18 2016 Updated EVK setup procedure
2.8 December 4 2015 Included SPDIF NV-Item
2.7 December 31 2015 Updated Airplay TCP / IP Tunneling sections
2.6 December 24 2015 Fixed review comments
2.5 December 23 2015 Fixed review comments

LS9 User Guide
Libre Wireless Technologies User Guide: LS9 Ver. 3.3.1 Page 9 of 93
Libre Confiden ial
1. In roduc ion
Libre Wireless provides evaluation kit (EVK) for users to gain familiarity with our products
and expedite their own design and development. User can connect to LS9 module through
USB or wireless interface to configure the module manage the on board device on the
module and perform functional test.
1.1. User Guide Insigh
This document provides information on the procedures to be followed while using
LibreSync for various purpose such as
•Firmware update
•Network Configuration
-WAC / SAC Method
-Webserver Method
oWeb page method
oLS-Connect Method
oManual Configuration Method
•Configuring Non-Volatile Items
•Streaming Airplay / Cast For Audio / Spotify Connect
•Source Switching
•Software Security
•DDMS
•DLNA / DMR
•Wi-Fi Scan Results
•Music Services
•LUCI

LS9 User Guide
Libre Wireless Technologies User Guide: LS9 Ver. 3.3.1 Page 10 of 93
Libre Confiden ial
•AUX Support
•Bluetooth Support
•TCP / IP Tunneling
•Device Name Configuration

LS9 User Guide
Libre Wireless Technologies User Guide: LS9 Ver. 3.3.1 Page 11 of 93
Libre Confiden ial
2. Libre Wireless Technologies’ EVK
Figure 2-1 Marks different components of the LS9 Module
Figure 2-1: LS9 Module (v1.0) In erfaces
Figure 2-2: LS9 Module (v1.1) In erfaces

LS9 User Guide
Libre Wireless Technologies User Guide: LS9 Ver. 3.3.1 Page 12 of 93
Libre Confiden ial
2.1. LS9 EVK Se up
To setup the LS9 EVK and Get Started proceed as below.
ACP is not provided along with Libre EVK. It is recommended to buy “ACP-V2.0C”. from
Apple Inc.
Connec he LS9 module o LS9 Bridge-Board.
Figure 2.1-1: LS9 Module and LS9 Bridge-Board
Inser LS9 Bridge-Board and LS9 module on LS9-EVK.
Inser ACP on LS9 EVK.
See sec ion 7.1 for more de ails on ACP Se up.
Connec USB-Type-A o USB-Type-A cable o, he Lap op USB por .
Ins all Marvell Windows USB Driver in your PC / Lap op.
See sec ion 7.3 for procedure on ins alling Marvell Windows USB

LS9 User Guide
Libre Wireless Technologies User Guide: LS9 Ver. 3.3.1 Page 13 of 93
Libre Confiden ial
Driver
Ins all Android Composi e ADB Driver.
See sec ion 7.4 for procedure on ins alling Android Composi e ADB
Driver
Inser he USB and he UART cable o Speaker and he Lap op / PC
Open he device erminal such as, Tera erm(for windows) / Zoc6 /
CoolTerm (for Mac) and se he Baud ra e o 115200 like shown
below
Connec he Power adap or o DC Jack on EVK
Power On he EVK, using ON/ OFF Swi ch
Open he ADB Shell on your lap op / PC

LS9 User Guide
Libre Wireless Technologies User Guide: LS9 Ver. 3.3.1 Page 14 of 93
Libre Confiden ial
3. Firmware Upgrade
3.1. LS Firmware Upgrade
•To upgrade LS9 modules loaded with firmware version 9006 or before
follow the procedure as described in section 0.
•To upgrade LS9 modules loaded with firmware version 9006 or later
follow the procedure as described in section 3.1.2.
Firmware Upgrade on LS9 module can be done in three ways.
•PC / Laptop Method
•USB Method
•Network Method
To know the firmware version and Release date execute the following command
“#getprop” in the device terminal.
3.1.1 Firmware Upgrade Using PC / Lap op Me hod
To update the firmware on to the LS9 module using your PC / Laptop proceed as below.
Download LS9 Basic Release Package (LS9_Release_9004) from
h ps://librewireless.sharefile.com/share#/view/scd4d08862784b26b
If you have already downloaded the 9004 release package ignore S ep 1.

LS9 User Guide
Libre Wireless Technologies User Guide: LS9 Ver. 3.3.1 Page 15 of 93
Libre Confiden ial
Download and unzip he la es firmware image (83_IMAGE) from
Libre Por al.
h ps://librewireless.sharefile.com/d-s85ceb93437747d98
Copy he la es firmware image (83_IMAGE) in o he Basic Release
Package folder “usb_boo _bin_a0_m1_ACas _042715”.
Figure 3.1-1: LS9 Firmware Folder S ruc ure
Connec he Lap op o LS9 EVK wi h he USB ype A o Type A
connec or
Download and ins all PuTTY Applica ion
h p://www.pu y.org/
Connec he power adap or, press and hold he USB-Boo bu on, and
simul aneously connec he USB cable and power on he EVK.
execu e he scrip run.bat

LS9 User Guide
Libre Wireless Technologies User Guide: LS9 Ver. 3.3.1 Page 16 of 93
Libre Confiden ial
LS9 boots to bootloader.
Execu e he command #l2nand –m <image_number> on debug shell.
Syn ax
#l2nand –m <image_number>
Example
# l2nand-m 83_IMAGE
LS flashes the image onto LS9.
On Successful Comple ion Reboo he Module.
End - -
3.1.2 Firmware Upgrade Using USB Me hod
To update the LS9 Firmware using USB proceed as below.
LS9 Firmware image is a Single-image binary file (File name: 83_IMAGE). The firmware
image is upgraded by a trigger from Command-Shell or via Webpage.
S eps
Using Command Shell
Place the firmware image in the root directory of USB.
Ensure he binary filename is “83_IMAGE”
The Firmware image should not contain any extensions.
Inser he USB in LS9 EVK
Execu e command #usb_upda e in he device erminal.
End--
Using Webpage
Place the firmware image in the root directory of USB.
Ensure he binary filename is “83_IMAGE”

LS9 User Guide
Libre Wireless Technologies User Guide: LS9 Ver. 3.3.1 Page 17 of 93
Libre Confiden ial
The Firmware image should not contain any extensions.
Inser he USB in LS9 EVK
Execu e command #ne cfg in he device erminal o know he device
IP.
For Example, 10.0.1.13
En er he IP address in he address bar of your browser.
In Firmware Upgrade sec ion, selec Me hod as USB, and Click
Upgrade.
LS flashes he image on o LS9 module.
Module will reboot on completion of firmware upgrade.
End - -

LS9 User Guide
Libre Wireless Technologies User Guide: LS9 Ver. 3.3.1 Page 18 of 93
Libre Confiden ial
3.1.3 Firmware Upgrade Using Ne work Me hod
•At present firmware upgrade over Ethernet is supported.
•It takes about 2 minutes to complete the upgrade progress.
LS9 module does not support Ethernet port on the module. Hence it is recommended to use
External USB Network adapter to configure LS9 to Ethernet mode.
LS9 Supports below listed network adapters.
•XR22800 Hi-Speed USB to 10/100 Ethernet Bridge from EXAR
•RTL8150 USB 10/100 Fast Ethernet Adapter from REALTEK
•MAC book USB to Ethernet adapter.
To update the binary file (Application-Image or Single-Image) on the LS9 module over
network proceed as below.
Make sure the LS9 EVK and your laptop / PC is connected to the
same network.
Share he folder of he binary file (83_IMAGE) o be loaded on o he
LS9 Module.
Make sure your laptop / PC is not password protected and is not
binded to the work domain.
For information on procedure to disable password see below
links

LS9 User Guide
Libre Wireless Technologies User Guide: LS9 Ver. 3.3.1 Page 19 of 93
Libre Confiden ial
•Windows 10: http://www.isunshare.com/windows-
10/turn-off-or-on-password-protected-sharing-in-
windows-10.html
•Windows 8:
http://www.eightforums.com/tutorials/9907-password-
protected-sharing-turn-off-windows-8-a.html
•Windows 7: http://www.home-network-
help.com/password-protected-file-sharing-in-windows-
7.html
For the procedure to share the folder in Windows and Ubuntu see section 7.5.
Execu e command #ne cfg in he device erminal o know he device
IP
For Example, 10.0.1.13
En er he IP in he address bar of your browser.
For Example, 10.0.1.13
In he Firmware upgrade sec ion, Selec Me hod as Network

LS9 User Guide
Libre Wireless Technologies User Guide: LS9 Ver. 3.3.1 Page 20 of 93
Libre Confiden ial
En er he file pa h (IP address of he PC/Folder Name) in he ex
box.
For example if the IP address of your PC is 192.168.1.109 and the folder name is XYZ then
the file path is “//192.168.1.109/XYZ”.
Click Upgrade
Table of contents