数据搜索系统,热门电子元器件搜索
  Chinese  ▼
ALLDATASHEETCN.COM

X  

CS5530 数据表(PDF) 117 Page - National Semiconductor (TI)

[Old version datasheet] Texas Instruments acquired National semiconductor.
部件名 CS5530
功能描述  Geode??CS5530 I/O Companion Multi-Function South Bridge
PDF  241 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
制造商  NSC [National Semiconductor (TI)]
网页  http://www.national.com
标志 NSC - National Semiconductor (TI)

CS5530 数据表(HTML) 117 Page - National Semiconductor (TI)

Back Button CS5530 Datasheet HTML 113Page - National Semiconductor (TI) CS5530 Datasheet HTML 114Page - National Semiconductor (TI) CS5530 Datasheet HTML 115Page - National Semiconductor (TI) CS5530 Datasheet HTML 116Page - National Semiconductor (TI) CS5530 Datasheet HTML 117Page - National Semiconductor (TI) CS5530 Datasheet HTML 118Page - National Semiconductor (TI) CS5530 Datasheet HTML 119Page - National Semiconductor (TI) CS5530 Datasheet HTML 120Page - National Semiconductor (TI) CS5530 Datasheet HTML 121Page - National Semiconductor (TI) Next Button
Zoom Inzoom in Zoom Outzoom out
 117 / 241 page
background image
Revision 4.1
117
www.national.com
Functional Description (Continued)
3.7.1.4
Programming Model
The following discussion explains, in steps, how to initiate
and maintain a bus master transfer between memory and
an audio slave device.
In the steps listed below, the reference to “Example”
refers to Figure 3-20, PRD Table Example.
1)
Software creates a PRD table in system memory.
Each PRD entry is 8 bytes long; consisting of a base
address pointer and buffer size. The maximum data
that can be transferred from a PRD entry is 64 KB. A
PRD table must be aligned on a 4-byte boundary.
Thelast PRD inaPRD tablemust havethe EOTor
JMP bit set.
Example - Assume the data is outbound. There are
three PRDs in the example PRD table. The first two
PRDs (PRD_1, PRD_2) have only the EOP bit set.
The last PRD (PRD_3) has only the JMP bit set. This
example creates a PRD loop.
2)
Software loads the starting address of the PRD table
by programming the PRD Table Address Register.
Example - Program the PRD Table Address Register
with Address_3.
3)
Software must fill the buffers pointed to by the PRDs
with audio data. It is not absolutely necessary to fill
the buffers; however, the buffer filling process must
stay ahead of the buffer emptying. The simplest way
to do this is by using the EOP flags to generate an
SMI when a PRD is empty.
Example - Fill Audio Buffer_1 and Audio Buffer_2.
The SMI generated by the EOP from the first PRD
allows the software to refill Audio Buffer_1. The
second SMI will refill Audio Buffer_2. The third SMI
will refill Audio Buffer_1 and so on.
4)
Read the SMI Status Register to clear the Bus
Master Error and End of Page bits (bits 1 and 0).
Set the correct direction to the Read or Write Control
bit (Command Register bit 3). Note that the direction
of the data transfer of a particular bus master is fixed
and therefore the direction bit must be programmed
accordingly. It is assumed that the codec has been
properly programmed to receive the audio data.
Engage the bus master by writing a “1” to the Bus
Master Control bit (Command Register bit 0).
The bus master reads the PRD entry pointed to by
the PRD Table Address Register and increments the
address by 08h to point to the next PRD. The transfer
begins.
Example -
The
bus
master
is
now
properly
programmed to transfer Audio Buffer_1 to a specific
slot(s) in the AC97 interface.
Figure 3-20. PRD Table Example
Address_1
Size_1
EOT = 0
Audio
Buffer_1
Audio
Buffer_2
Size_1
Size_2
Address_1
EOP = 1
JMP = 0
Address_2
Size_2
EOT = 0
EOP = 1
JMP = 0
Address_3
Don’t Care
EOT = 0
EOP = 0
JMP = 1
PRD_1
PRD_2
PRD_3
Address_2
Address_3



Html Pages

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 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100  ...More


数据表 下载

Go To PDF Page


链接网址



ALLDATASHEET是否为您带来帮助?  [ DONATE ] 

关于 Alldatasheet   |   广告服务   |   联系我们   |   隐私政策   |   数据表链接    |   链接交换   |   制造商名单
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com