Zakładka z wyszukiwarką danych komponentów
  Polish  ▼
ALLDATASHEET.PL

X  

AN2682 Arkusz danych(PDF) 4 Page - STMicroelectronics

Numer części AN2682
Szczegółowy opis  This application note describes how to interface
PDF  15 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Producent  STMICROELECTRONICS [STMicroelectronics]
Strona internetowa  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

AN2682 Arkusz danych(HTML) 4 Page - STMicroelectronics

  AN2682 Datasheet HTML 1Page - STMicroelectronics AN2682 Datasheet HTML 2Page - STMicroelectronics AN2682 Datasheet HTML 3Page - STMicroelectronics AN2682 Datasheet HTML 4Page - STMicroelectronics AN2682 Datasheet HTML 5Page - STMicroelectronics AN2682 Datasheet HTML 6Page - STMicroelectronics AN2682 Datasheet HTML 7Page - STMicroelectronics AN2682 Datasheet HTML 8Page - STMicroelectronics AN2682 Datasheet HTML 9Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 4 / 15 page
background image
General description
AN2682 - Application note
4/15
Figure 2.
I2S protocol signal description and configuration
1.2
SPI protocol
The SPI is chosen to implement this solution because its protocol is the most similar to the
I2S protocol.
It uses four pins:
●
Two pins (MOSI and MISO) to transmit and receive serial data
●
One pin (SCLK) for data clocking (either rising or falling edge modes are available)
●
One pin (nSS) to choose between master and slave modes.
When nSS is tied to Gnd, the SPI peripheral functions in Slave mode: it receives the data
clock (SCLK) from the master which controls how and when data are transmitted or
received.
When nSS is tied to Vcc, the SPI peripheral functions in master mode and SCLK is then an
output.
MISO is the Master Input in master mode and the Slave Output in slave mode.
MOSI is the Master Output in master mode and the Slave Input in slave mode.
There are two main differences between the I2S and SPI protocols:
●
The I2S clock is continuous while the SPI clock is generated only during word
transmission and is stopped afterwards.
●
The data format in SPI protocol is fixed to 16 or 8 bits only, while the data in I2S can
have any length.
Due to these two differences, the SPI peripheral cannot be configured in master mode in
this case. This is due to the fact that in SPI master mode, data are transmitted with a delay
between the words. Besides, many difficulties would arise when other tasks are performed
by the microcontroller. So the solution uses the SPI in slave mode.
Transmitter = Master
Receiver = Master
Controller = Master
SCK
WS
SD
SCK
WS
SD
SCK
WS
SD
Transmitter
Receiver
Transmitter
Controller
Transmitter
Receiver
Receiver



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15


Arkusz danych Pobierz

Go To PDF Page


Link URL



Czy Alldatasheet okazała się pomocna?  [ DONATE ] 

O Alldatasheet   |   Reklama   |   Kontakt   |   Polityka prywatności   |   Link do karty katalogowej    |   Linki   |   Lista producentów
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