| Electronic Components Datasheet Search |
|
WM0011 Datasheet(PDF) 174 Page - Cirrus Logic |
|
|
|||||||||||||||||||||||||||||
WM0011 Datasheet(HTML) 174 Page - Cirrus Logic |
|
174 / 233 page ![]() WM0011 Production Data w PD, Rev 4.1, August 2013 174 SPI_SCLKDIV – SPI CLOCK DIVISION REGISTER For custom-programmed devices, the start-up (default) contents of this register are configured in the fuse memory, and can be set according to the application requirements. Note that this register can be written and updated prior to software download using the “PLL Configuration Download” code packet. SPI_SCLKDIV SPI CLOCK DIVISION REGISTER Address = 0xF030_0010 Default value = 0x0000_0008 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 BITS FIELD NAME S/W ACCESS RESET VALUE FIELD DESCRIPTION 31:16 Reserved 0 15:0 SPI_SCLKDIV RW 0x0008 Clock Divisor for master mode SPISCLK generation. This field sets the number of AHBCLK cycles in each phase of the SPISCLK output. 0000h = 1 clock cycle 0001h = 2 clock cycles 0002h = 3 clock cycles … FFFFh = 65536 clock cycles AHBCLK : SPISCLK frequency ratio = (SPI_SCLKDIV+1) * 2 This field must be set to 3 or higher. Table 123 SPI_SCLKDIV Register SPI_STATUS – SPI STATUS REGISTER The SPI_STATUS register is defined in Table 124. Four status bits in the SPI_STATUS register give an indication of the status of each word transferred. The table below shows some typically expected status, assuming that the status bits are cleared to ‘0’ by software after being read (i.e. reset the status for each transfer). SS_LE UCLK_ERR CYC_DONE SS_TE INTERPRETATION 1 0 1 0 First word of a transfer completed – it may be a multiple-word transfer, or it may be a single-word transfer and the chip select has yet to be de-asserted. 1 0 1 1 Single-word transfer completed and chip select has already de- asserted 0 0 0 1 Chip select was de-asserted. 1 1 0 1 Underclock error, single-word transfer (not enough bits sent prior to de-assertion of chip select) 0 0 1 0 Subsequent word of a multiple-word transfer completed – there may be more words to come, or it may be the last word and the chip select has yet to be de-asserted. 0 0 1 1 Last word of a multiple-word transfer completed and chip select de- asserted 0 1 0 1 Underclock error on subsequent or last word of a multiple-word transfer x 1 1 1 Underclock error on the ‘next’ word transfer, before s/w could clear the CYC_DONE status of the previous word. This could occur because Underclock detection is possible within one bit time of the previous successful transfer. |
|
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 |
| 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 |