Note the following details of the code protection feature on Microchip devices:
YSTEM
CERTIFIED BY DNV
== ISO/TS 16949==
•Microchip products meet the specification contained in their particular Microchip Data Sheet.
•Microchip believes that its family of products is one of the most secure families of its kind on the market today, when used in the
intended manner and under normal conditions.
•There are dishonest and possibly illegal methods used to breach the code protection feature. All of these methods, to our
knowledge, require using the Microchip products in a manner outside the operating specifications contained in Microchip’s Data
Sheets. Most likely, the person doing so is engaged in theft of intellectual property.
•Microchip is willing to work with the customer who is concerned about the integrity of their code.
•Neither Microchip nor any other semiconductor manufacturer can guarantee the security of their code. Code protection does not
mean that we are guaranteeing the product as “unbreakable.”
Code protection is constantly evolving. We at Microchip are committed to continuously improving the code protection features of our
products. Attempts to break Microchip’s code protection feature may be a violation of the Digital Millennium Copyright Act. If such acts
allow unauthorized access to your software or other copyrighted work, you may have a right to sue for relief under that Act.
Information contained in this publication regarding device
applications and the like is provided only for your convenience
and may be superseded by updates. It is your responsibility to
ensure that your application meets with your specifications.
MICROCHIP MAKES NO REPRESENTATIONS OR
WARRANTIES OF ANY KIND WHETHER EXPRESS OR
IMPLIED, WRITTEN OR ORAL, STATUTORY OR
OTHERWISE, RELATED TO THE INFORMATION,
INCLUDING BUT NOT LIMITED TO ITS CONDITION,
QUALITY, PERFORMANCE, MERCHANTABILITY OR
FITNESS FOR PURPOSE. Microchip disclaims all liability
arising from this information and its use. Use of Microchip
devices in life support and/or safety applications is entirely at
the buyer’s risk, and the buyer agrees to defend, indemnify and
hold harmless Microchip from any and all damages, claims,
suits, or expenses resulting from such use. No licenses are
conveyed, implicitly or otherwise, under any Microchip
intellectual property rights.
Trademarks
The Microchip name and logo, the Microchip logo, dsPIC,
FlashFlex, flexPWR, JukeBlox, K
LANCheck, MediaLB, MOST, MOST logo, MPLAB,
OptoLyzer , PIC, PICST AR T, PIC
SST, SST Logo, SuperFlash and UNI/O are registered
trademarks of Microchip Technology Incorporated in the
U.S.A. and other countries.
The Embedded Control Solutions Company and mTouch are
registered trademarks of Microchip Technology Incorporated
in the U.S.A.
Analog-for-the-Digital Age, BodyCom, chipKIT, chipKIT logo,
CodeGuard, dsPICDEM, dsPICDEM.net, ECAN, In-Circuit
Serial Programming, ICSP, Inter-Chip Connectivity, KleerNet,
KleerNet logo, MiWi, MPASM, MPF, MPLAB Certified logo,
MPLIB, MPLINK, MultiTRAK, NetDetach, Omniscient Code
Generation, PICDEM, PICDEM.net, PICkit, PICtail,
RightTouch logo, REAL ICE, SQI, Serial Quad I/O, Total
Endurance, TSHARC, USBCheck, VariSense, ViewSpan,
WiperLock, Wireless DNA, and ZENA are trademarks of
Microchip Technology Incorporated in the U.S.A. and other
countries.
SQTP is a service mark of Microchip T echnology Incorporated
in the U.S.A.
Silicon Storage Technology is a registered trademark of
Microchip Technology Inc. in other countries.
GestIC is a registered trademarks of Microchip Technology
Germany II GmbH & Co. KG, a subsidiary of Microchip
Technology Inc., in other countries.
All other trademarks mentioned herein are property of their
respective companies.
DS50002260B-page 2 2014 Microchip Technology Inc.
Microchip received ISO/TS-16949:2009 certification for its worldwide
headquarters, design and wafer fabrication facilities in Chandler and
T empe, Arizona; Gresham, Oregon and design centers in California
and India. The Company’s quality system processes and procedures
are for its PIC
devices, Serial EEPROMs, microperipherals, nonvolatile memo ry and
analog products. In addition, Microchip’s quality system for the desig n
and manufacture of development systems is ISO 9001:2000 certified.
DS50002260B-page 4Preliminary 2014 Microchip Technology Inc.
CY920 GETTING STARTED GUIDE
Preface
NOTICE TO CUSTOMERS
All documentation becomes dated, and this manual is no exception. Microchip tools and
documentation are constantly evolving to meet customer needs, so some actual dialogs
and/or tool descriptions may differ from those in this document. Please refer to our web site
(www.microchip.com) to obtain the latest documentation available.
Documents are identified with a “DS” number. This number is located on the bottom of each
page, in front of the page number. The numbering convention for the DS number is
“DSXXXXXXXXA”, where “XXXXXXXX” is the document number and “A” is the revision level
of the document.
INTRODUCTION
This chapter contains general information that will be useful to know before using the
CY920 Network Media module. Items discussed in this chapter include:
• Document Layout
• Conventions Used in this Guide
• Recommended Reading
• The Microchip Web Site
• Development Systems Customer Change Notification Service
• Customer Support
• Document Revision History
DOCUMENT LAYOUT
This guide describes information on evaluating the CY920 Network Media module
using the Evaluation board (CE2).
The document is organized as follows:
• Chapter 1. “Introduction” provides a brief description of the CY920 module features. It also covers functionality and features of the CE2 board.
• Chapter 2. “Evaluating CY920 Board” describes information on how to evalua te
the CY920 module using the CE2 Board.
• Chapter 3. “Network Configuration”describes configuring the CY920 module
using Ethernet or Wi-Fi mode.
• Chapter 4. “Audio Streaming” describes the CY920 module
• supported various sources of audio streaming informations.
Choice of mutually exclusive
arguments; an OR selection
Represents code supplied by
user
A Note presents information
that we want to re-emphasize,
either to help you avoid a
common pitfall or to make you
aware of operating differences
between some device family
members. A Note can be in a
box, or when used in a table
or figure, it is located at the
bottom of the table or figure.
“Save project before build”
valid filename
[options]
errorlevel {0|1}
void main (void)
{ ...
}
DS50002260B-page 6Preliminary 2014 Microchip Technology Inc.
RECOMMENDED READING
The following Microchip documents are available and recommen ded as suppleme nt al
reference resources.
JukeBlox
DM920 Multi-Core Network Media Processor System-on-Chip (SoC) with
Integrated Wi-Fi
CY920 Network Media Module Data Sheet (DS60 001270)
®
Technology 4.X SDK User's Guide (DS70005181)
THE MICROCHIP WEB SITE
Microchip provides online support via our web site at: http://www.microchip.com. This
web site makes files and informati on easily available to customers. Accessible by most
Internet browsers, the web site contains the following information:
• Product Support – Data sheets and errata, application notes and sample
programs, design resources, user’s guides and hardware support documents,
latest software releases and archived software
• General Technical Support – Frequently Asked Questions (FAQs), technical
support requests, online discussion groups, Microchip consultant program
member listings
• Business of Microchip – Product selector and ordering guides, latest Microchip
press releases, listings of seminars and events; and listings of Microchip sales
offices, distributors and factory representatives
DEVELOPMENT SYSTEMS CUSTOMER CHANGE NOTIFICATION SERVICE
Microchip’s customer notification service helps keep customers current on Microchip
products. Subscribers will receive e-mail notification whenever there are changes,
updates, revisions or errata related to a spec ified product family or development tool of
interest.
To register, access the Microchip web site at www.microchip.com, click on Customer
Change Notification and follow the registration instructions.
Advanced RISC Machine (ARM
software on JukeBlox 4.X. ARM Development S tudio 5 (DS-5) can be downloaded from
ARM web site.
Latest version of the product DS-5 V5.13 (Windows) is available; link to download DS-5
is as follows:
License required for compiling CY920 SDK code is DS-5 Pro. When purchasing the
license, it is suggested that customers should check if the license supports DS - 5 as
well.
CUSTOMER SUPPORT
Users of Microchip products can receive assistance through several channels:
• Distributor or Representative
• Local Sales Office
• Field Application Engineer (FAE)
• Technical Support
Customers should contact their distributor, representative or field application engineer
(FAE) for support. Local sa les of fices ar e also available to help cu stomers. A listing of
sales offices and locations is included in the back of this document.
Technical support is available through the web site at: http://support.microchip.com.
®
) Development Studio 5 (DS-5™) is used to develop
DS50002260B-page 8Preliminary 2014 Microchip Technology Inc.
DS50002260B-page 10Preliminary 2014 Microchip Technology Inc.
CY920 GETTING STARTED GUIDE
Chapter 1. Introduction
Thank you for purchasing the CY920 Network Media module. The CY920 module is
built on a single DM920 System-on-Chip (SoC). The feature-rich CY92 0 module comes
along with connectivity features, such as USB 2.0, Wi-Fi
Bluetooth
This document is intended to help users to evaluate the CY920 Network Media module
using the Evaluation board (CE2). It also provides procedure to perform Air Play
DLNA™ streaming. It is assumed that the user of this document has prior knowledge
of Airplay and DLNA.
Figure 1-1 illustrates the features of the CY920 module. The CY920 module has
various hardware configurations, known as S tock Keeping Units (SKUs). The hardware
features of the CY920 module can vary depending on the SKUs used. For more
information on SKUs used in the CY920 module, refer to the Ordering Guide section in
the “CY920 Network Media Module Data Sheet” (DS60001270).
FIGURE 1-1:CY920 NETWORK MEDIA MODULE BLOCK DIAGRAM
DS50002260B-page 12Preliminary 2014 Microchip Technology Inc.
1.2CY920 MODULE TOP AND BOTTOM VIEW
This section provides the top and bottom view of the CY920 module with RF shield.
Figure 1-2 shows the top view of the CY920 module with RF shield.
Figure 1-3 shows the bottom view of the CY920 module with RF shield. It also features
the following key components:
1. Basic Connector
2. Extended Connector (optional)
The extended connector is not available for certain SKUs of the CY920 module.
FIGURE 1-3:CY920 MODULE (BOTTOM VIEW)
DS50002260B-page 14Preliminary 2014 Microchip Technology Inc.
1.3EVALUATION BOARD FUNCTIONALITY AND FEATURES
1
1
2
3
4
5
6
7
8
The Evaluation board (CE2) is a development base board with a ll the input and output
interfaces to the CY920 module.The CE2 board has the following key features, as
indicated by the corresponding numbers in Figure 1-4.
1. Antenna Upgrade Kit for connecting the external RF antennas to the CE2 board .
The Antenna Upgrade Kit includes two antennas and extended connecting
cables to the module.
2. X2 connector, mounted on the CE2 board for inserting the CY920 interconnect
card.
3. USB to serial adapter or RS232 cable connection to the CE2 board
4. Ethernet cable connection to the CE2 board
5. Ultra Small Surface Mount Coaxial (U.FL) connectors, used for connecting the
external RF antennas
6. Speaker or headphone connection to the CE2 board
7. I/O Expander card connection at the X13 location (tuner module connector) on
the CE2 board.
8. ACP 2.0C connection to the CE2 board
FIGURE 1-4:EVALUATION BOARD WITH VARIOUS CONNECTIONS
DS50002260B-page 16Preliminary 2014 Microchip Technology Inc.
CY920 GETTING STARTED GUIDE
Chapter 2. Evaluating CY920 Board
This chapter describes evaluating the CY920 mo dule using the CE2 board. The CY920
module is not a stand-alone module and it must be hosted on an interconnect card
before connecting it to the CE2 board. The following sections provide prerequisites for
connecting the CE2 board and various inputs and outputs interfaces:
• EVM CE2 board with two antennas
• Interconnect card
• Authentication co-processor ACP 2.0C (compatible with the CE2 board)
• Power adapter (supplied along with the CE2 board (9V/2.0A))
• USB to serial converter for UART connection between computer and CE2 board
• Speaker or headphone
• Wi-Fi Access Point (AP)
2.1CONNECTING CY920 MODULE, CE2 BOARD, AND INTERCONNECT CARD
To connect the CY920 module, CE2 board and interconnect card, follow these steps:
1. Connect the CY920 module to the inter con n ec t car d as sh ow n in Figure 2-1.
FIGURE 2-1:CY920 MODULE AND INTERCONNECT CARD ASSEMBLY
2. Connect the CY920 module and the interconnect card asse mbly to the connector
X2 (200 pin SODIMM connector) on the CE2 board, see Figure 1-4. Ensure that
the edge of the interconnect card must be aligned to the X2 connector and it is
inserted at an angle shown in Figure 2-2. Push the interconnect card down to
lock it on both the sides of the X2 connector.
FIGURE 2-2:INTERCONNECT CARD CONNECTED TO CE2 BOARD
3. To view shell logs, connect the USB to the serial adapter or connect the RS232
cable to the CE2 board, see Figure 1-4.
4. Use a serial terminal tool, Tera Term, for monitoring the RS232 serial data, see
Figure 2-3.
FIGURE 2-3:TERA TERM WINDOW TO SELECT COM PORT
DS50002260B-page 18Preliminary 2014 Microchip Technology Inc.
Evaluating CY920 Board
5. Configure the user console on a computer using the Serial port setup, see
Figure 2-4.
FIGURE 2-4:SERIAL PORT SETUP
6. Power on the CE2 board using the power adapter, see Figure 2-5.
FIGURE 2-5:POWER JACK CONNECTOR
7. On powering, the Bootloader software is executed. If a valid application is found,
the booting sequence will be completed and the device starts in normal mode.
8. When the application is running, continue to press <Enter> until the “
shell command is displayed on the window, see Figure 2-6.
DS50002260B-page 20Preliminary 2014 Microchip Technology Inc.
CY920 GETTING STARTED GUIDE
cd cne/Application/NetIF
ls –v
set CurrentMode wired
ls -v
Chapter 3. Network Configuration
The CY920 module can be configured using Ethernet or Wi-Fi mode. To ch eck whether
a particular SKU can support Ethernet or Wi-Fi mode, refer to the Ordering Guide section in the “CY920 Network Media Module Data Sheet” (DS60001270).
3.1CONFIGURING CY920 IN ETHERNET MODE
Some of the CY920 module SKUs have provision for Ethernet mode. To connect the
CY920 module to Ethernet mode, the set up needs an AP with Dynamic Host Control
Protocol (DHCP) support. Y ou must connect the CE2 b oard to the AP using an Ethernet
cable. Figure 1-4 shows the Ethernet cable is connected to the CE2 board.
To set up the CY920 module in Ethernet mode, perform the following steps:
1. Set up the CE2 board, see 2.1 “Connecting CY920 Module, CE2 Board, and
Interconnect Card”.
2. Power on the CY920 module and wait till the “
or press <Enter> until the shell command prompt appears.
3. Configure the CnE value “
following path “
cne/Application/NetIF”, see Example 3-1.
CurrentMode” to “wired”, which is available on the
sds://” shell command to display ,
EXAMPLE 3-1: SHELL COMMAND
4. Reboot the CY920 module and wait for the “
on the window.
5. Run the “
to the network or not.
6. The acquired IP address of the Digital Media Player (DMP) device will be
displayed on the window, see Figure 3-1.
netcfg” command to confirm whether the CY920 module is connected
7. If IP address of the DMP device is not acquired, IP address will not be displayed
on the window, see Figure 3-2.
FIGURE 3-2:DISPLAY WHEN IP ADDRESS NOT ACQUIRED
DS50002260B-page 22Preliminary 2014 Microchip Technology Inc.
3.2CONFIGURING CY920 IN Wi-Fi® MODE
The CY920 module can be configured in two Wi-Fi modes: an unse cured (open) mode
or a secured mode. The CY920 module has two U.FL connectors for connecting the
external RF antennas mounted on the CE2 board. Figure 1-4 shows the U.FL connec-
tors used for connecting the antennas.
3.2.1Unsecured Wi-Fi® Mode Setup
To configure the CY920 module in an unsecured Wi-Fi mode, follow these steps:
1. Set up the CE2 board, see 2.1 “Connecting CY920 Module, CE2 Board, and
Interconnect Card”.
2. Power on the CY920 module and wait for the “
on the window, or press <Enter> until the shell command prompt appears.
3. Run the following command in the shell prompt: “
WlanCfg/Profilel
4. Set the user SSID as “
AP.
5. Set the security to none “
6. Reboot the CY920 module and run the “
CY920 module is acquired an IP address or not.
”.
set SSID <APSSID>”. Where, “APSSID” is the SSID of the
set Security NONE”.
Network Configuration
sds://” shell command to appear
cd cne/Networking/DrvCfg/
netcfg” command to verify whether the
3.2.2Secured Wi-Fi® Mode Setup
The CY920 module can be configured on the diff erent, secured Wi-Fi secu rity modes,
refer to Chapter 3. Wireless Network Configuration in “JukeBlox® Technology 4.X SDK User’s Guide” (DS70005181). This section only describes the WPAPSK Wi-Fi
security setup method.
To configure the CY920 module in the WPAPSK Wi-Fi security mode, follow these
steps:
1. Set up the CE2 board, see 2.1 “Connecting CY920 Module, CE2 Board, and
Interconnect Card”.
2. Power on the CY920 module and wait for the “
on the window, or press <Enter> until the “
3. Configure the CnE value “
available on the following path “
CurrentMode” to “wireless” or “autosense”, which is
cne/Application/NetIF”, see Example 3-3.
4. Run the following command in the shell prompt: “
WlanCfg/Profile1
”. Where, “Profile1” is the active profile.
5. Set security and cipher, according to the Home AP, using the security
set cne/Networking/DrvCfg/WlanCfg/Profile1/Security WPAWPA2PSK
set cne/Networking/DrvCfg/WlanCfg/Profile1/WPAPSK/Cipher AES
6. The security CnE parameter is located at the following location: “cne/Network-
ing/DrvCfg/WlanCfg/Profile1
pharse are located at “
7. Example 3-2 provides examples to set the credentials for a AP configured with
WPA2PSK and AES.
EXAMPLE 3-2: CREDENTIALS FOR AP CONFIGURATION WITH WPA2PSK
cne/Networking/DrvCfg/WlanCfg/Profile1/WPAPSK”.
AND AES
”. The CnE parameter for cipher and pass-
8. Set the passphrase: “
phrase
is the Passphrase used by the AP. The WPAPSK Wi-Fi configuration
details will be displayed on the window, see Figure 3-3.
FIGURE 3-3:WPAPSK METHOD
set Passphrase <APPassphrase>”. Where, APPass-
9. Reboot the CY920 module and wait for the “
Ensure that the Ethernet cable is not connected.
10. Once the shell prompt is displayed, run the “
the CY920 module is acquired an IP address or not.
Note:The system might require several seconds to acquire an IP addr ess, and it
depends on the characteristics of the network.
DS50002260B-page 24Preliminary 2014 Microchip Technology Inc.
sds://” shell command to display.
netcfg” command to verify whether
Network Configuration
cd cne
cd Application/NetIF
set mode wireless
cd /cne/Networking/DrvCfg/WlanCfg/Profile1
set SSID BCO-T1
set Security WPAWPA2PSK
cd WPAPSK
set Cipher AES
set Passphrase WelCome!23
sys reboot
Optional: Users can list all the preceding commands in the Wireless_Set-
ting.txt
configure the CY920 module in the WPAPSK Wi-Fi security mode, see
Example 3-3,
EXAMPLE 3-3: Wireless_Setting.txt FILE
file and copy all the commands to a serial terminal tool, Tera Term, to
Perform the following steps for the DLNA streaming:
1. Set up the CE2 board, see 2.1 “Connecting CY920 Module, CE2 Board, and
Interconnect Card”.
2. Configure the CY920 module network using Ethernet or Wi-Fi m ode , see Chap-
ter 3. “Network Configuration”.
3. Connect the computer and the CY920 module to the same network.
4. Connect the speaker to an audio out pin of the CE2 board, see Figure 1-4.
5. To enable the audio decoders, configure the CnE values “
as shown in Example 4-1.
EXAMPLE 4-1: ENABLING AUDIO DECODER VALUES
cne\cneGroup” to “1”
DS50002260B-page 28Preliminary 2014 Microchip Technology Inc.
6. Reboot the CY920 module.
7. Run Microsoft
®
Windows Media Player 12 (WMP 12) on the computer and
perform the WMP 12 “Play To” setup procedure provided in the Microsoft web
site: http://windows.microsoft.com/en-IN/windows7/using-the-play-to-feature-to-