Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.NET

X  

AN2682 Datasheet(PDF) 6 Page - STMicroelectronics

Part # AN2682
Description  This application note describes how to interface
PDF  15 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  STMICROELECTRONICS [STMicroelectronics]
Direct Link  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

AN2682 Datasheet(HTML) 6 Page - STMicroelectronics

Back Button 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 AN2682 Datasheet HTML 10Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 6 / 15 page
background image
CPLD design
AN2682 - Application note
6/15
The I2S signal combination chosen for this solution is:
●
Transmitter SD active on SCK falling edge
●
Receiver SD active on SCK falling edge
●
WS active on SCK falling edge
The CPLD brige functions in two modes:
1.
Configuration mode: When the Start signal is low, the interface waits for configuration
parameters. These parameters are transmitted through a three-bit register named
Conf_Reg:
Figure 5.
Conf_Reg content
The Transmit and Receive bits activate or disactivate the corresponding directions in or
out of the CPLD interface.
DW (Double Word), when set, enables the support of any data format from 17 to 32 bits
by setting a WS length of 32 bits instead of 16.
The configuration register is set by the MISO line clocked by the falling edge of the Conf
signal while Start is low.
2.
Communication mode: This mode is active when the Start signal is high. The
interface generates the SCLK and SCK signals with their associated delays. It also
controls the WS signal as well as the data lengths.
The CPLD implementation is illustrated in Figure 6.
Figure 6.
SPI to I2S CPLD bridge internal diagram
The solution is synthesized on ALTERA QUARTUSII software using a MAX3000A 32
macrocell device. The implementation is done with 17 macrocells.
The VHDL code implementation is provided with this AN for STR71x and STR750. The
STR750 VHDL code can also be used for the STR91x and STM32 microcontroller.
Receive
Transmit
bit 0
bit 1
bit 2
DW
Start
Conf
MISO
CLK
Conf_reg
Delay control
WS generator
I2S clock control
16 bits
32bits
WSt
Start
SCKi
WSi
SDi
SCK
WSo
SDo
MOSI
SCLK
Central
block
CLK
CLK
CLK
WSt
Start
TR enable 1
TR enable 2
CLK
Start
DW
Mode select
DW
MISO



Html Pages

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


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