background image

 

 

WIZ-iRadio User’s Manual   

 

© Copyright 2008 WIZnet Inc. All rights reserved

 

   

24

 

 

1) Initialize device 
When power is supplied, all devices are initialized. 

GPIO  is  configured  and  clock  is  set.  In  regard  to  external  memory  interface,  CS1  is 
connected to W5100, CS2 is to SRAM and CS3 is to LCD. According to this interface, set the 
‘wait’ and ‘bus’ size.   
Timer  0  is  used  for  DHCP  request  during  lease  time,  and  Timer  1  is  for  operation  of  IR 
Remote Controller.   
VS1033  chip  used  for  decoding  of  MP3  and  WMA  is  connected  to  MCU  by  SPI.  The 
interrupt should be set.   
EEPROM is used for saving MAC address or IP address. As EEPORM is connected to MCU by 
I2C, I2C should be set. 

LCD is connected to the memory BUS. Only RESET of LCD can be controlled by port. As RS 
of  LCD  is  connected  to  A0,  LCD  can  be  controlled  by  define  as  below.  When  writing 
command, the RS becomes low, and writing data, the RS becomes High. 
 
#define LCDCmdAddress     

*((volatile u8 *) 0x66000000) 

#define LCDDataAddress     

*((volatile u8 *) 0x66000001) 

 
2) Read channel information from Flash 

The  address  of  Internet  radio  broadcasting  station  is  saved  in  the  Flash  of  MCU 

(0x400C0000). After reading this, it is saved in channel buffer.   

 

3) Read configuration data from EEPROM 
The sequence of information saved in EEPROM is as below.   
 

NAME 

Byte 

Description 

EEP_MAC 

MAC address 

EEP_LIP 

Local IP address 

EEP_SN 

Subnet mask 

EEP_GW 

Gateway 

EEP_CUR_CH 

Current channel number 

EEP_DHCP 

DHCP or static 

EEP_VER 

F/W version 

EEP_SIP 

Server IP address 

EEP_SPORT 

Server Port number 

EEP_STATUS 

Status 

EEP_DNSIP 

DNS server IP address 

EEP_D_IP 

128 

URL of Server 

Summary of Contents for WIZ-iRadio

Page 1: ...WIZ iRadio User s Manual Ver 1 0 2008 WIZnet Inc All Rights Reserved For more information visit our website at www wiznet co kr...

Page 2: ...WIZ iRadio User s Manual Copyright 2008 WIZnet Inc All rights reserved 2 Document History Information Revision Date Description V1 0 May 1 2008 Original Document...

Page 3: ...have something to ask about WIZnet Products Write down your question on Q A Board in WIZnet website www wiznet co kr WIZnet Engineer will give an answer as soon as possible Technical Support support w...

Page 4: ...iption 8 2 1 Board Configuration 8 2 2 Pin Description 10 2 3 Dimension 12 2 4 Remote Controller 12 3 Configuration Tool 13 3 1 Description 13 3 2 How to Use Configuration Tool Examples 14 4 Firmware...

Page 5: ...e 7 WIZ iRadio Configuration Tool 13 Figure 8 App Scat 15 Figure 9 Boot Scat 16 Figure 10 Compile 1 17 Figure 11 Compile 2 18 Figure 12 Compile 3 19 Figure 13 Compile 4 20 Figure 14 Compile 5 21 Figur...

Page 6: ...module 1 WIZ iRadio Base Board 1 Power Adaptor 5V 500mA 1 Accessory Software CD 1 UTP Cable 1 Remote Controller 1 Table 1 WIZ iRadio Evaluation Board Directory Contents WIZ iRadio DOCs Manual WIZ iRad...

Page 7: ...net Controller z CODEC VS1033C z Power Consumption 175mA WIZ iRadio Base Board z Power DC 5V input z LCD 128 x 64 graphic LCD with Blue Backlight z JTAG I F 2 x 10 male box header z SERIAL I F 1 x 4 m...

Page 8: ...tains the MCU RAM Ethernet Controller and CODEC that are responsible for the main functions of Internet Radio In the base board power for module operation and peripheral devices for input and output a...

Page 9: ...e board For details of pin descriptions refer to chapter 2 2 z Audio Connector It uses 3 5 stereo phone jack and connects to input of speaker z LAN Connector It is the port to be connected by UTP cabl...

Page 10: ...Y_0 KEY_1 KEY_2 AGND AUDIO_RIGHT AUDIO_LEFT TXOP TXON GND RXIP RXIN GND 2 5V AUDIO_GBUF J15 J14 Figure 4 WIZ iRadio Modue Pin Descripation Symbol Typ e Pin No Description 3 3V P J15 1 J15 2 DC 3 3V po...

Page 11: ...a on the TXOP TXON signal pair TXON O J14 3 RXIP I J14 7 The differential data from the media is received on the RXIP RXIN signal pair RXIN I J14 9 LINK_LED O J14 2 Active low in link state indicates...

Page 12: ...WIZ iRadio User s Manual Copyright 2008 WIZnet Inc All rights reserved 12 2 3 Dimension Figure 5 WIZ iRadio Module Dimension unit mm 2 4 Remote Controller Figure 6 WIZ iRadio Remote Controller...

Page 13: ...firmware version of WIZ iRadio module C Status It shows the connection status between module and server D IP Configuration Method It configures network related parameters of the module z Static When...

Page 14: ...changed configurations G F W upload It is for upgrading the firmware H URLset It saves changed channel information 3 2 How to Use Configuration Tool Examples A Changing Network Information z Click Sea...

Page 15: ...ng In the WIZ iRadio STR710FZ2 from STMicroelectronics is used In the Flash of this MCU Application and Boot firmware is written according to the memory map below Application 0x40000000 0x40010000 Int...

Page 16: ...ing in the flash memory of STR710FZ2 You can select one of them For the not used mode mark it as commentary The program starts from 0x400300000 of flash memory at the Boot The scat file in the Boot fo...

Page 17: ...m and open the project file by selecting the menu Project Open project If you select Project Project properties Project Properties window is displayed In this window the modified part are shown in blu...

Page 18: ...WIZ iRadio User s Manual Copyright 2008 WIZnet Inc All rights reserved 18 Figure 11 Compile 2...

Page 19: ...WIZ iRadio User s Manual Copyright 2008 WIZnet Inc All rights reserved 19 COMFILE arm Preprocessor Figure 12 Compile 3 ASSEMB E arm Source...

Page 20: ...WIZ iRadio User s Manual Copyright 2008 WIZnet Inc All rights reserved 20 Figure 13 Compile 4 BUILD Link Advanced Entry and Scatter files should be specified...

Page 21: ...WIZ iRadio User s Manual Copyright 2008 WIZnet Inc All rights reserved 21 Figure 14 Compile 5 The compile is processed after Build Compile...

Page 22: ...order to change this file to binary format use fromelf You can do it as below It is created in the file bin bat After changing the file network axf file to network bin if you execute ROM_Tool exe prog...

Page 23: ..._state 7 IR_MainProc 8 Recv_ConfigMsg 9 check socket status 1 Initialize device a GPIO b Clock c Setting EMI External Memory Interface CS1 for W5100 CS2 for external SRAM and CS3 for LCD d Timer e DMA...

Page 24: ...RESET of LCD can be controlled by port As RS of LCD is connected to A0 LCD can be controlled by define as below When writing command the RS becomes low and writing data the RS becomes High define LCD...

Page 25: ...t 4 hardware sockets Each sockets are used as below socket 0 Streaming TCP socket 1 Configuration UDP socket 2 DNS UDP socket 3 DHCP UDP The port for communication with Configuration program is as bel...

Page 26: ...lue of IR remote controller can be changed by users Current Key values are defined as below Table 6 IR Remote Controller Key Value KEY_POWER Re Boot KEY_MUTE mute KEY_VOL_UP1 KEY_VOL_UP2 volume up KEY...

Page 27: ...OUTCAST or HTTP In case of MMS the address starts with mms So the firmware operates according to MMS method without checking process 4 5 Server list File Server list file is used at the Configuration...

Page 28: ...plies only to defects which occur during normal use and does not extend to damage to products or parts which results from alternation repair modification faulty installation or service by anyone other...

Reviews: