Electronic Components Datasheet Search
  English  ▼

X  

WM0011 Datasheet(PDF) 161 Page - Cirrus Logic

Part # WM0011
Description  General Purpose Low-Power Audio DSP
PDF  233 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  CIRRUS [Cirrus Logic]
Direct Link  http://www.cirrus.com
Logo CIRRUS - Cirrus Logic

WM0011 Datasheet(HTML) 161 Page - Cirrus Logic

Back Button WM0011 Datasheet HTML 157Page - Cirrus Logic WM0011 Datasheet HTML 158Page - Cirrus Logic WM0011 Datasheet HTML 159Page - Cirrus Logic WM0011 Datasheet HTML 160Page - Cirrus Logic WM0011 Datasheet HTML 161Page - Cirrus Logic WM0011 Datasheet HTML 162Page - Cirrus Logic WM0011 Datasheet HTML 163Page - Cirrus Logic WM0011 Datasheet HTML 164Page - Cirrus Logic WM0011 Datasheet HTML 165Page - Cirrus Logic Next Button
Zoom Inzoom in Zoom Outzoom out
 161 / 233 page
background image
WM0011
Production Data
w
PD, Rev 4.1, August 2013
161
MISO/MOSI (DATA) CONFIGURATION
The SPI_CFG configuration register contains control parameters for the MOSI/MISO data.
The BIT_ORDER register selects whether data is transmitted MSB-first or LSB-first.
The WL_1 [1:0] and WL_2 fields select the data word length. The word length can be 8, 16, 24, 32 or
64 bits. The transmission of WL bits is one “transfer”. The SPI Slave Select (SPISS
¯¯¯¯¯) remains asserted
for the entire word transfer length.
Note that 64-bit mode (WL_2=1) is only valid for DMA transfers.
SPISS (SLAVE SELECT) PROTOCOL
The SPI module supports two different SPISS
¯¯¯¯¯ protocols. These are the ‘Single-Word’ transfer mode
and the ‘Multiple Word’ transfer modes.
In Master mode, the SPI_MT_ENA bit controls whether the SPISS
¯¯¯¯¯ signal de-asserts between each
word transfer (single-word transfers), remains asserted over multiple word transfers.
Setting SPI_MT_ENA=1 selects the function of the SPI module continually asserting SPISS
¯¯¯¯¯ over
multiple word transfers. When SPI_MT_ENA=0, the SPI module will treat each data transfer as a
separate sequence of SPISS
¯¯¯¯¯ assertion, SPISCLK/MOSI data transfer, SPISS
¯¯¯¯¯ de-assertion.
Note that, in Slave mode, there is no unique concept of Multiple-Transfer mode (multiple data
transfers per single SPISS
¯¯¯¯¯ assertion). The SPI module will simply accommodate whatever is
presented on the SPI bus, and move a data word as soon as all the bits are received, regardless of
whether SPISS
¯¯¯¯¯ is de-asserted between words.
When ‘Multiple Word’ transfer mode is selected in Master mode, the SPISS
¯¯¯¯¯ signal will assert upon the
first data transmission (same as in single-word mode). After completion of the first data word
transmission, SPISS
¯¯¯¯¯ remains asserted. Subsequent writes to the SPI_DAT register simply perform
further data word transmissions (SPISCLK/MOSI data transfers), and the SPI module remains in this
state indefinitely.
When ‘Multiple Word’ transfer mode is selected in Master mode, there are three methods by which the
SPISS
¯¯¯¯¯ line may be de-asserted:
1.
De-select Multiple Transfer mode (set SPI_MT_ENA=0). Slave Select (SPISS
¯¯¯¯¯) is de-
asserted and the Master Mode state machine is returned to ‘Idle’. Subsequent SPI transfers
will be single-word, unless the SPI_MT_ENA bit is once again set to ‘1’.
2.
Re-arm the Multiple Transfer mode by writing a ‘1’ to SPI_MT_IDLE. Slave Select (SPISS
¯¯¯¯¯)
is de-asserted and the master mode state machine is returned to ‘Idle’. This effectively does
the same thing as (1) above, but without ever leaving the Multiple Transfer mode.
3.
Select automatic re-arming of the Multiple Transfer mode each time the transfer count
(SPI_BP_CNT) is reached. This is valid for byte-packing mode only, and must always be
selected when Multiple Transfer mode and Byte-Packing modes are both enabled. This
effectively does the same thing as (2) above, but without having to write to the SPI_CTRL
register to de-assert SPISS
¯¯¯¯¯. This function is controlled via register bit BP_MT_ENA.
Note that the request to exit the Multiple Transfer mode is queued, and not immediate. If there is a
current transfer in progress, or more outgoing data queued, then SPISS
¯¯¯¯¯ will remain asserted until the
outgoing data transmission has completed. The request to exit or re-arm Multiple Transfer mode will
occur after transmission of the queued data has completed.
The Single-Word transfer protocol is illustrated in Figure 35 and Figure 36. The Multiple-Word transfer
protocol is illustrated in Figure 37.



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


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
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