Xilinx XAPP169 manual

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27

Go to page of

A good user manual

The rules should oblige the seller to give the purchaser an operating instrucion of Xilinx XAPP169, along with an item. The lack of an instruction or false information given to customer shall constitute grounds to apply for a complaint because of nonconformity of goods with the contract. In accordance with the law, a customer can receive an instruction in non-paper form; lately graphic and electronic forms of the manuals, as well as instructional videos have been majorly used. A necessary precondition for this is the unmistakable, legible character of an instruction.

What is an instruction?

The term originates from the Latin word „instructio”, which means organizing. Therefore, in an instruction of Xilinx XAPP169 one could find a process description. An instruction's purpose is to teach, to ease the start-up and an item's use or performance of certain activities. An instruction is a compilation of information about an item/a service, it is a clue.

Unfortunately, only a few customers devote their time to read an instruction of Xilinx XAPP169. A good user manual introduces us to a number of additional functionalities of the purchased item, and also helps us to avoid the formation of most of the defects.

What should a perfect user manual contain?

First and foremost, an user manual of Xilinx XAPP169 should contain:
- informations concerning technical data of Xilinx XAPP169
- name of the manufacturer and a year of construction of the Xilinx XAPP169 item
- rules of operation, control and maintenance of the Xilinx XAPP169 item
- safety signs and mark certificates which confirm compatibility with appropriate standards

Why don't we read the manuals?

Usually it results from the lack of time and certainty about functionalities of purchased items. Unfortunately, networking and start-up of Xilinx XAPP169 alone are not enough. An instruction contains a number of clues concerning respective functionalities, safety rules, maintenance methods (what means should be used), eventual defects of Xilinx XAPP169, and methods of problem resolution. Eventually, when one still can't find the answer to his problems, he will be directed to the Xilinx service. Lately animated manuals and instructional videos are quite popular among customers. These kinds of user manuals are effective; they assure that a customer will familiarize himself with the whole material, and won't skip complicated, technical information of Xilinx XAPP169.

Why one should read the manuals?

It is mostly in the manuals where we will find the details concerning construction and possibility of the Xilinx XAPP169 item, and its use of respective accessory, as well as information concerning all the functions and facilities.

After a successful purchase of an item one should find a moment and get to know with every part of an instruction. Currently the manuals are carefully prearranged and translated, so they could be fully understood by its users. The manuals will serve as an informational aid.

Table of contents for the manual

  • Page 1

    XAPP169 (v1.0 ) November 24, 1999 www .x ilinx.com 1 1-800- 255-7778 Summary This applic ation note illustr ates the use of Xi linx Sp artan-II F PGA and an IDT RC32364 RISC control ler in a ha ndheld, cons umer ele ctronics p latform. S pecific ally the target appl ication is an MP3 audi o player wi th advanc ed user in terface f eatures. In this [...]

  • Page 2

    2 www.xi linx .co m XAPP169 (v1.0 ) November 24, 1999 1-800-255-7 778 MP3 NG: A Next Generation Consumer Platform R MP3 T e chnology MP3 refe rs to the MP EG Lay er 3 audio c ompressi on schem e that was d efined as part of th e Internati onal Stan dards O rganizati on (ISO ) Movi ng Pict ure Exp erts Gro up (MPE G) audio/ video coding sta ndard. M[...]

  • Page 3

    MP3 NG: A Next Generation Consumer Platform XAPP169 (v1 .0) November 24 , 1999 w ww .x ilin x.c om 3 1-800-255-7 778 R IDT RC32364 RISCont roller™ The proces sor chos en for this design is the IDT RC323 64. The fea tures of this d evice tha t are leve raged in this applic ation are: • Paged mem ory man agemen t unit. • High-perfo rmance, 175 [...]

  • Page 4

    4 www.xi linx .co m XAPP169 (v1.0 ) November 24, 1999 1-800-255-7 778 MP3 NG: A Next Generation Consumer Platform R The vari able page size le ts eac h mapping indep endently represent memory regions tha t can range from 4 KB t o 16 MB. Thi s featur e lets the system designer ad just the address mapping granula rity for di fferent memory regions . [...]

  • Page 5

    MP3 NG: A Next Generation Consumer Platform XAPP169 (v1 .0) November 24 , 1999 w ww .x ilin x.c om 5 1-800-255-7 778 R The RC323 64 inter faces to the sys tem throu gh a 32-b it multi plexe d address/ data bu s. The b us offers a rich set of si gnals to c ontrol transfers of which o nly a su bset was require d for this applica tion. Fi gure 4 shows[...]

  • Page 6

    6 www.xi linx .co m XAPP169 (v1.0 ) November 24, 1999 1-800-255-7 778 MP3 NG: A Next Generation Consumer Platform R Crystal CS4343 Stereo DAC The Digital -to-Analo g Conver ter chosen for this des ign is the Crystal CS 4343 from Cirrus Logic. T his devic e featur es: • 1.8V to 3.3 V operat ion. • 24-bit con version at up to 96 kHz. • Digi tal[...]

  • Page 7

    MP3 NG: A Next Generation Consumer Platform XAPP169 (v1 .0) November 24 , 1999 w ww .x ilin x.c om 7 1-800-255-7 778 R The serial port can be conf igured for seve ral operatin g modes . The mode of ope ration ch osen for this applicat ion is re ferred to in the CS4 343 docum entation a s "Serial Audio For mat 2". Figure 7 gives an ov ervi[...]

  • Page 8

    8 www.xi linx .co m XAPP169 (v1.0 ) November 24, 1999 1-800-255-7 778 MP3 NG: A Next Generation Consumer Platform R Samsung FLASH Memory The FLASH me mory cho sen for this des ign is the KM 29U6400 0T 8M x 8 devi ce from Sam sung Semicon ductor . This devic e is base d on NAND FLASH te chnology and is popul ar in MP3 p layer applica tions due to it[...]

  • Page 9

    MP3 NG: A Next Generation Consumer Platform XAPP169 (v1 .0) November 24 , 1999 w ww .x ilin x.c om 9 1-800-255-7 778 R Micron SDRAM Memory The S DRAM memo ry chose n for this design is the MT 48LC1M16 A1S - 51 2K x 16 x 2 bank device fr om Micron S emicond uctor . This devi ce is a vailable i n speed grad es from 125 to 166 MHz oper ating ove r an [...]

  • Page 10

    10 www.xi linx .co m XAPP169 (v1.0 ) November 24, 1999 1-800-255-7 778 MP3 NG: A Next Generation Consumer Platform R 11 11 11 RAS# REFRESH CONTROLLER 2,048 REFRESH COUNTER CAS# 256 256 (x16) 8 COLUMN- ADDRESS BUFFER BURST COUNTER ROW- ADDRESS MUX CLK CS# WE# CKE 256 (x16) BANK1 MEMORY ARRAY (2,048 x 256 x 16) SENSE AMPLIFIERS I/O GATING DQM MASK LO[...]

  • Page 11

    MP3 NG: A Next Generation Consumer Platform XAPP169 (v1 .0) November 24 , 1999 w ww .x ilin x.c om 11 1-800-255-7 778 R National Semiconductor USBN9602 USB Function Controller The USB interfac e in the d esign is based o n a Nati onal Semi conduct or USBN96 02 con troller . This d evice, pac kaged in a 28-pin SOIC pac kage, su pports fu ll speed US[...]

  • Page 12

    12 www.xi linx .co m XAPP169 (v1.0 ) November 24, 1999 1-800-255-7 778 MP3 NG: A Next Generation Consumer Platform R System Implementation This secti on descr ibes how all of the se piece s are i ntegrated into a com plete system. First describe d is the s oftware arc hitecture a nd the f unctionalit y of the key mod ules. Nex t is the archite ctur[...]

  • Page 13

    MP3 NG: A Next Generation Consumer Platform XAPP169 (v1 .0) November 24 , 1999 w ww .x ilin x.c om 13 1-800-255-7 778 R The RTOS provides process schedul ing and m emory al loca tion funct ions. The RTOS could be any of th e commer cially a vailabl e packages . Proba bly more o f a fac tor than any tech nical iss ue is the licen sing model for the [...]

  • Page 14

    14 www.xi linx .co m XAPP169 (v1.0 ) November 24, 1999 1-800-255-7 778 MP3 NG: A Next Generation Consumer Platform R The refer ence cod e that was develope d for the stan dard is av ailable from the Fr aunhofer Institute at the foll owing URL: http://www .iis.fhg.de /amm/techi nf/layer3/i ndex.html A comm ercial d ecoder i s availab le from X audio[...]

  • Page 15

    MP3 NG: A Next Generation Consumer Platform XAPP169 (v1 .0) November 24 , 1999 w ww .x ilin x.c om 15 1-800-255-7 778 R While m ost of the b locks are fairly independ ent, the F LASH, SDRA M, and Comp actFla sh interfac es share c ommo n address a nd data busses. While th is resul ts in a fai rly comp lex muxing s cheme for th ese datapa ths it is [...]

  • Page 16

    16 www.xi linx .co m XAPP169 (v1.0 ) November 24, 1999 1-800-255-7 778 MP3 NG: A Next Generation Consumer Platform R CPU Interface The CPU Interfac e block per forms three function s: protoc ol conversi on, CPU initia lizatio n and address de-mul tiplexi ng. Figure 16 shows a block di agram of t his block . The CPU i nitiali zation bl ock gen erate[...]

  • Page 17

    MP3 NG: A Next Generation Consumer Platform XAPP169 (v1 .0) November 24 , 1999 w ww .x ilin x.c om 17 1-800-255-7 778 R There is no dire ct softwar e suppor t requi red for thi s block, b ut the US B inter face itsel f requir es consid erable s oftware fo r operation . This s oftware co nsists o f the USB p rotocol stack, w hich include s a US B in[...]

  • Page 18

    18 www.xi linx .co m XAPP169 (v1.0 ) November 24, 1999 1-800-255-7 778 MP3 NG: A Next Generation Consumer Platform R The LCD Co ntroller is an IP bus master and f etches da ta for sc reen refres h indepen dently of CPU activ ities. Th e displa y data that is fe tched is loaded in to a FIF O using a block tr ansfer across th e IP bus. T he shift reg[...]

  • Page 19

    MP3 NG: A Next Generation Consumer Platform XAPP169 (v1 .0) November 24 , 1999 w ww .x ilin x.c om 19 1-800-255-7 778 R The onl y softwar e suppo rt requ ired for th is bloc k is t he screen BIOS wh ich con sists of fu nctio ns to generate screen imag es by manip ulating the fr ame buffer memor y . This buffer appears as an array of 5 12, 32-bi t w[...]

  • Page 20

    20 www.xi linx .co m XAPP169 (v1.0 ) November 24, 1999 1-800-255-7 778 MP3 NG: A Next Generation Consumer Platform R SDRAM Contro ller The SDRA M controll er desi gn ( Figure 19 ) is based o n the de sign dev eloped by X ilinx in applica tion no te XAPP 134: Virtex Synthe sizabl e High Perf ormance S DRAM Control ler . T he changes made in the orig[...]

  • Page 21

    MP3 NG: A Next Generation Consumer Platform XAPP169 (v1 .0) November 24 , 1999 w ww .x ilin x.c om 21 1-800-255-7 778 R When the a rchitec ture for th is sys tem was be ing plann ed, one is sue that n eeded to be address ed was wh ether to exec ute the pr ogram imag e directly from FLA SH or to copy it to SDRAM. T here were two k ey issu es that ne[...]

  • Page 22

    22 www.xi linx .co m XAPP169 (v1.0 ) November 24, 1999 1-800-255-7 778 MP3 NG: A Next Generation Consumer Platform R Software support required fo r this bloc k consis ts of the FL ASH BIO S which impl ements l ow leve l primit ives for p rogramm ing, e rasing, and chec king va lidity o f memor y blocks . IRDA Controller The IRDA control ler is es s[...]

  • Page 23

    MP3 NG: A Next Generation Consumer Platform XAPP169 (v1 .0) November 24 , 1999 w ww .x ilin x.c om 23 1-800-255-7 778 R Audio DAC Interface The inte rface for t he CS4343 con sists of two separat e function al block s, one fo r each of the serial in terfaces that are required t o suppor t this devic e. Figu re 22 shows a b lock di agram of this int[...]

  • Page 24

    24 www.xi linx .co m XAPP169 (v1.0 ) November 24, 1999 1-800-255-7 778 MP3 NG: A Next Generation Consumer Platform R Like the IRDA con troller , an interrupt is gener ated eve ry tim e the FIF Os tran sfer the ir last wo rd into th e shift regi sters. Assuming a 48 kH z audio s ampling rate, this will r esult in an interru pt every 83.3 µ s. T o p[...]

  • Page 25

    MP3 NG: A Next Generation Consumer Platform XAPP169 (v1 .0) November 24 , 1999 w ww .x ilin x.c om 25 1-800-255-7 778 R Spartan Device Selec tion Spartan dev ices a re availab le in a r ange of d ensities and pac kages. The followin g criter ia were used to s elect the device us ed in this applicati on: • I/O Pins. The design r equire s a total o[...]

  • Page 26

    26 www.xi linx .co m XAPP169 (v1.0 ) November 24, 1999 1-800-255-7 778 MP3 NG: A Next Generation Consumer Platform R References RC32 364 RISCon troller , Hardware User’s Manu al , April 1999 , Integ rated Dev ice T echno logy Xilinx Sp artan-II FPGA Data She et , Ja nuary 2000 , Xilin x IRMS6100 1.15 Mb/s IrDT Data T ransceiver Data Sheet , May 1[...]

  • Page 27

    MP3 NG: A Next Generation Consumer Platform XAPP169 (v1 .0) November 24 , 1999 w ww .x ilin x.c om 27 1-800-255-7 778 R Revision History © 1999 Xil inx, Inc. All rights reserved. All Xili nx tradema rks, registe red tradema rks, patents , and disclaim - ers ar e as liste d at http://www .xilinx .com/legal. htm . All o ther trademark s and regi ste[...]