| 전자부품 데이터시트 검색엔진 |
|
CS494002 데이터시트(PDF) 45 Page - Cirrus Logic |
|
|
|||||||||||||||||||||||||||||
CS494002 데이터시트(HTML) 45 Page - Cirrus Logic |
|
45 / 100 page ![]() 45 Figure 31, "SPI Timing for DSPAB" on page 43 timing diagram shows the relative edges of the control lines for an SPI read and write. 6.1.2 SPI Communication for DSPC SPI communication with the DSPC is accomplished with five communication lines: chip select, serial control clock, serial data in, serial data out, and an interrupt request line that signals DSPC has data to transmit to the host. Table 5 lists the mnemonic, pin name, and pin number of each of these signals on DSPC. 6.1.2.1 Writing in SPI for DSPC When writing to the device in SPI the same protocol will be used whether writing a byte, a message or even an entire executable download image. The examples shown in this document can be expanded to fit any write situation. Figure 33, "SPI Write Flow Diagram for DSPC" on page 45 shows a typical write sequence The following is a detailed description of an SPI write sequence with DSPC. 1) An SPI transfer is initiated when chip select (SCS) is driven low. 2) This is followed by a 7-bit address and the read/write bit set low for a write. The address for DSPC defaults to 1000001b. It is necessary to clock in this address prior to any transfer in order for DSPC to accept the write. In other words a byte of 0x82 should be clocked into the device preceding any write. The 0x82 byte represents the 7-bit address 1000001b, and the least significant bit set to 0 to designate a write. 3) The host should then clock data into the device most significant bit first, four bytes at a time. The data byte is transferred to the DSP on the falling edge of the eighth serial clock. For this Mnemonic Pin Name 144-Pin Package, Pin Number 100-Pin Package, Pin Number Chip Select SCS 135 93 Serial Clock SCCLK 142 98 Serial Data In SCDIN 136 94 Serial Data Out SCDOUT 140 97 Host Busy HINBSY 141 N/A Interrupt Request INTREQ 33 Table 5. SPI Communication Signals for DSPC SPISTART:SCS (LOW) WRITE ADDRESS BYTE WITH MODE BIT SET TO 0 FOR WRITE MORE DATA? Y N WRITE 4 DATA BYTES SPI STOP: SCS (HIGH) HINBSY (HIGH)? N Y Figure 33. SPI Write Flow Diagram for DSPC |
|
링크 URL |
| ALLDATASHEET 가 귀하에 도움이 되셨나요? [ DONATE ] |
Alldatasheet는? | 광고문의 | 운영자에게 연락하기 | 개인정보취급방침 | 링크 투 데이터시트 | 링크교환 | 제조사별 검색 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 |