SlideShare a Scribd company logo
1 of 36
By/ Mostafa Khamis
Mostafaa.soc@riotmicro.com
SAI Design and Verification
Specs
 Introduction
 Block architecture
 Free protocol modes
 SPDIF protocol
 PDM interface
 AC’97 protocol
 Low-power modes
 Verification Specs.
Outline
Mostafa KhamisSAI Design and Verification Specs
Introduction
 The SAI interface (Serial Audio Interface) is a peripheral that communicates with
external audio devices, supporting a wide set of audio protocols:
 PDM Interface (Pulse Density Modulation)
 I2S Philips standards, (Inter-IC Sound)
 SPDIF Output, (Sony/Philips Digital InterFace)
 PCM, (Pulse Code Modulation)
 TDM, (Time Division Multiplexing)
 AC’97, (Audio Codec ’97 from Intel)

 Fully Configurable
 Two independent sub-blocks.
Overview
Mostafa KhamisSAI Design and Verification Specs
 Audio sampling rates: 44.1, 16, 48, 96, and 192 Khz
 Master or slave mode for each sub-block

 Data input, output, or full-duplex for each sub-block.

 Clock generator for each sub-block

 Synchronization between sub-blocks or with other SAIs

 Companding modes (Micro-Law, A-Law)

 8-word FIFO size.

 2 DMA interfaces.

 2 Interrupt lines.

 Stereo/Mono audio frame capability.
SAI Features
Mostafa KhamisSAI Design and Verification Specs
Block Architecture
SAI embeds:

 Two independent sub-blocks (channels):
 Each sub-block can be configured in Receiver or Transmitter
 mode and in Master or Slave mode with its own protocol.

 A clk generator
 A flexible serial interface
 FIFO buffers
 APB interface
 DMA and interrupt services


 Synchronization mechanism
 Internal and external synchronization allows
 two sub-blocks to be synchronized, or several
 SAI interfaces to be synchronized.
Block Diagram
Mostafa KhamisSAI Design and Verification Specs
SAI embeds:

 IO line management
 Each sub-block can handle up to four IOs

 A PDM interface
 allows the connection of up to 8
 digital microphones.

Block Diagram
Mostafa KhamisSAI Design and Verification Specs
 Rich Kernel clock selection (SAI_CK_X):
 The kernel clock is used to generate the timing
of the SAI when in Master mode.
 One of the 3PLL outputs (which are
 embedded in STM32H7), or
 One of the oscillator outputs, or
 Clock from pad

 Flexible internal synchronization
 Each SAI can provide a synchronization to
 the 3 other SAI (to support multi-lane devices)
 Each SAI can be synchronized with one of
 the 3other SAIs.

 Possibility to support both 48 KHz and 44.1 Khz
 streams simultaneously in parallel

 Note: SAI4 has two independent multiplexers for the
 kernel clock selection because it is located in the D3 domain.
SAI in the circuit
Mostafa KhamisSAI Design and Verification Specs
Master Full-Duplex or Dual Lane
Mostafa KhamisSAI Design and Verification Specs
Slave Full-Duplex or Dual Lane
Mostafa KhamisSAI Design and Verification Specs
Free Protocol Modes
 The free protocol modes should be selected to configure SAI:
 I2S Philips standard
 I2S MSB or LSB-justified
 TDM or PCM
 Data Justification (LSB/MSB first)
 Data Size, Slot (channel) size
 Number of slots per frame
 Data position into a slot
 Sampling edge of the serial clock

 The free protocol mode is used to adjust the following:
 Frame size, frame polarity, frame period
 Frame active level size
 Frame synchronization mode
 Master/Slave mode
 Single or multiple or full-duplex data lanes
Protocol Modes
Mostafa KhamisSAI Design and Verification Specs

I2S-like Protocol Timings
Mostafa KhamisSAI Design and Verification Specs

TDM-like Protocol Timings
Mostafa KhamisSAI Design and Verification Specs
 Up to 16 slots per audio frame

 Each slot can be defined as active or not

 Possibility to adjust the position of the data within a slot
 by defining the first bit offset FBOFF

 Possibility to set the data line in HiZ
 For inactive slots
 During FBOFF (First bit offset) area which is used
 to control the position of the data inside each slot
Slot Timings
Mostafa KhamisSAI Design and Verification Specs
Free Protocol Modes
Mostafa KhamisSAI Design and Verification Specs
SAI Synchronization
Mostafa KhamisSAI Design and Verification Specs
Companding
Mostafa KhamisSAI Design and Verification Specs
Specific Feature: Mute Mode
Mostafa KhamisSAI Design and Verification Specs
Anticipated/Late Frame Error
Mostafa KhamisSAI Design and Verification Specs
SPDIF Protocol
SPDIF Protocol
Mostafa KhamisSAI Design and Verification Specs
SPDIF Protocol
Mostafa KhamisSAI Design and Verification Specs
SPDIF Protocol
Mostafa KhamisSAI Design and Verification Specs
SPDIF Protocol
Mostafa KhamisSAI Design and Verification Specs
PDM Protocol
PDM Interface
Mostafa KhamisSAI Design and Verification Specs
AC’97 Protocol
AC’97 Protocol
Mostafa KhamisSAI Design and Verification Specs
Low Power Modes
Low-power Modes
Mostafa KhamisSAI Design and Verification Specs
Verification Specs
UVM Environment
Mostafa KhamisSAI Design and Verification Specs
Mostafa KhamisSAI Design and Verification Specs
SAI Design and Verification Specs

More Related Content

What's hot

Chapter 8 Embedded Hardware Design and Development (third portion)
Chapter 8 Embedded Hardware Design and Development (third portion)Chapter 8 Embedded Hardware Design and Development (third portion)
Chapter 8 Embedded Hardware Design and Development (third portion)Moe Moe Myint
 
Typical Embedded System
Typical Embedded SystemTypical Embedded System
Typical Embedded Systemanand hd
 
composite video signal
composite video signalcomposite video signal
composite video signalMinakshi Atre
 
TV transmission principles
TV transmission principlesTV transmission principles
TV transmission principlesnnmaurya
 
Presentation systemc
Presentation systemcPresentation systemc
Presentation systemcSUBRAHMANYA S
 
Radio Frequency Front End (RFFE) MIPI core from Arasan Chip Systems
Radio Frequency Front End (RFFE) MIPI core from Arasan Chip SystemsRadio Frequency Front End (RFFE) MIPI core from Arasan Chip Systems
Radio Frequency Front End (RFFE) MIPI core from Arasan Chip SystemsArasan Chip Systems
 
EEL316: CDMA with DSSS
EEL316: CDMA with DSSSEEL316: CDMA with DSSS
EEL316: CDMA with DSSSUmang Gupta
 
Phydyas 09 fFilter Bank Multicarrier (FBMC): An Integrated Solution to Spectr...
Phydyas 09 fFilter Bank Multicarrier (FBMC): An Integrated Solution to Spectr...Phydyas 09 fFilter Bank Multicarrier (FBMC): An Integrated Solution to Spectr...
Phydyas 09 fFilter Bank Multicarrier (FBMC): An Integrated Solution to Spectr...Marwan Hammouda
 
Digital speech processing lecture1
Digital speech processing lecture1Digital speech processing lecture1
Digital speech processing lecture1Samiul Parag
 
Link budget satalite for calculation system
Link budget satalite for calculation systemLink budget satalite for calculation system
Link budget satalite for calculation systemUniversity of Technology
 
Pipelining approach
Pipelining approachPipelining approach
Pipelining approachGopinathD17
 
Multiple acces techniques
Multiple acces techniquesMultiple acces techniques
Multiple acces techniquesparamsidhu89
 
Multiple Access in wireless communication
Multiple Access in wireless communicationMultiple Access in wireless communication
Multiple Access in wireless communicationMaulik Togadiya
 

What's hot (20)

Colour television
Colour televisionColour television
Colour television
 
Chapter 8 Embedded Hardware Design and Development (third portion)
Chapter 8 Embedded Hardware Design and Development (third portion)Chapter 8 Embedded Hardware Design and Development (third portion)
Chapter 8 Embedded Hardware Design and Development (third portion)
 
Typical Embedded System
Typical Embedded SystemTypical Embedded System
Typical Embedded System
 
composite video signal
composite video signalcomposite video signal
composite video signal
 
TV transmission principles
TV transmission principlesTV transmission principles
TV transmission principles
 
8085 microprocessor Embedded system
8085 microprocessor  Embedded system8085 microprocessor  Embedded system
8085 microprocessor Embedded system
 
Basics of RF
Basics of RFBasics of RF
Basics of RF
 
Television Receiver
Television ReceiverTelevision Receiver
Television Receiver
 
Presentation systemc
Presentation systemcPresentation systemc
Presentation systemc
 
Radio Frequency Front End (RFFE) MIPI core from Arasan Chip Systems
Radio Frequency Front End (RFFE) MIPI core from Arasan Chip SystemsRadio Frequency Front End (RFFE) MIPI core from Arasan Chip Systems
Radio Frequency Front End (RFFE) MIPI core from Arasan Chip Systems
 
EEL316: CDMA with DSSS
EEL316: CDMA with DSSSEEL316: CDMA with DSSS
EEL316: CDMA with DSSS
 
Phydyas 09 fFilter Bank Multicarrier (FBMC): An Integrated Solution to Spectr...
Phydyas 09 fFilter Bank Multicarrier (FBMC): An Integrated Solution to Spectr...Phydyas 09 fFilter Bank Multicarrier (FBMC): An Integrated Solution to Spectr...
Phydyas 09 fFilter Bank Multicarrier (FBMC): An Integrated Solution to Spectr...
 
Digital speech processing lecture1
Digital speech processing lecture1Digital speech processing lecture1
Digital speech processing lecture1
 
Link budget satalite for calculation system
Link budget satalite for calculation systemLink budget satalite for calculation system
Link budget satalite for calculation system
 
Rs 422
Rs 422Rs 422
Rs 422
 
Pipelining approach
Pipelining approachPipelining approach
Pipelining approach
 
Multiple acces techniques
Multiple acces techniquesMultiple acces techniques
Multiple acces techniques
 
Asi presentation 08
Asi presentation 08Asi presentation 08
Asi presentation 08
 
Multiple Access in wireless communication
Multiple Access in wireless communicationMultiple Access in wireless communication
Multiple Access in wireless communication
 
Set Top Box
Set Top BoxSet Top Box
Set Top Box
 

Similar to SAI Design and Verification Specs

Overview Study on PIC32MX3XX / 4XX 32-Bit Controller
Overview Study on PIC32MX3XX / 4XX 32-Bit ControllerOverview Study on PIC32MX3XX / 4XX 32-Bit Controller
Overview Study on PIC32MX3XX / 4XX 32-Bit ControllerPremier Farnell
 
PIC32MX5XX/6XX/7XX USB, CAN and Ethernet 32-Bit Flash Microcontrollers
PIC32MX5XX/6XX/7XX USB, CAN and Ethernet 32-Bit Flash MicrocontrollersPIC32MX5XX/6XX/7XX USB, CAN and Ethernet 32-Bit Flash Microcontrollers
PIC32MX5XX/6XX/7XX USB, CAN and Ethernet 32-Bit Flash MicrocontrollersPremier Farnell
 
Introducing OMAP-L138/AM1808 Processor Architecture and Hawkboard Peripherals
Introducing OMAP-L138/AM1808 Processor Architecture and Hawkboard PeripheralsIntroducing OMAP-L138/AM1808 Processor Architecture and Hawkboard Peripherals
Introducing OMAP-L138/AM1808 Processor Architecture and Hawkboard PeripheralsPremier Farnell
 
Introduction to i.MX27 Multimedia Applications Processors
Introduction to i.MX27 Multimedia Applications ProcessorsIntroduction to i.MX27 Multimedia Applications Processors
Introduction to i.MX27 Multimedia Applications ProcessorsPremier Farnell
 
Overview of LPC214x MCUs
Overview of LPC214x MCUsOverview of LPC214x MCUs
Overview of LPC214x MCUsPremier Farnell
 
EC 8691 Microprocessor and Microcontroller.pptx
EC 8691 Microprocessor and Microcontroller.pptxEC 8691 Microprocessor and Microcontroller.pptx
EC 8691 Microprocessor and Microcontroller.pptxGobinathAECEJRF1101
 
Synopsys User Group Presentation
Synopsys User Group PresentationSynopsys User Group Presentation
Synopsys User Group Presentationemlawgr
 
An Overview on Programmable System on Chip: PSoC-5
An Overview on Programmable System on Chip: PSoC-5An Overview on Programmable System on Chip: PSoC-5
An Overview on Programmable System on Chip: PSoC-5Premier Farnell
 
Overview of ST7 8-bit Microcontrollers
Overview of ST7 8-bit MicrocontrollersOverview of ST7 8-bit Microcontrollers
Overview of ST7 8-bit MicrocontrollersPremier Farnell
 
eCOG1X 16-bit Microcontrollers
eCOG1X 16-bit MicrocontrollerseCOG1X 16-bit Microcontrollers
eCOG1X 16-bit MicrocontrollersPremier Farnell
 
MPC854XE: PowerQUICC III Processors
MPC854XE: PowerQUICC III ProcessorsMPC854XE: PowerQUICC III Processors
MPC854XE: PowerQUICC III ProcessorsPremier Farnell
 
AMC & VPX Form Factor Boards With High Speed SERDES: Embedded World 2010
AMC & VPX Form Factor Boards With High Speed SERDES: Embedded World 2010AMC & VPX Form Factor Boards With High Speed SERDES: Embedded World 2010
AMC & VPX Form Factor Boards With High Speed SERDES: Embedded World 2010Altera Corporation
 
The FlexTiles Development Platform offers Dual FPGA for 3D SoC Prototyping
The FlexTiles Development Platform offers Dual FPGA for 3D SoC PrototypingThe FlexTiles Development Platform offers Dual FPGA for 3D SoC Prototyping
The FlexTiles Development Platform offers Dual FPGA for 3D SoC PrototypingFlexTiles Team
 
Introduction to Stellaris Family Microcontrollers
Introduction to Stellaris Family MicrocontrollersIntroduction to Stellaris Family Microcontrollers
Introduction to Stellaris Family MicrocontrollersPremier Farnell
 
SurfRider/AMC™ - Modular DSP Resource Board
SurfRider/AMC™ - Modular DSP Resource BoardSurfRider/AMC™ - Modular DSP Resource Board
SurfRider/AMC™ - Modular DSP Resource Boardwebhostingguy
 
NI Compact RIO Platform
NI Compact RIO PlatformNI Compact RIO Platform
NI Compact RIO Platformjlai
 
PIC32MX Microcontroller Family
PIC32MX Microcontroller FamilyPIC32MX Microcontroller Family
PIC32MX Microcontroller FamilyPremier Farnell
 
Introduction of 16-Bit Automotive Microcontrollers S12XE
Introduction of 16-Bit Automotive Microcontrollers S12XEIntroduction of 16-Bit Automotive Microcontrollers S12XE
Introduction of 16-Bit Automotive Microcontrollers S12XEPremier Farnell
 

Similar to SAI Design and Verification Specs (20)

Overview Study on PIC32MX3XX / 4XX 32-Bit Controller
Overview Study on PIC32MX3XX / 4XX 32-Bit ControllerOverview Study on PIC32MX3XX / 4XX 32-Bit Controller
Overview Study on PIC32MX3XX / 4XX 32-Bit Controller
 
PIC32MX5XX/6XX/7XX USB, CAN and Ethernet 32-Bit Flash Microcontrollers
PIC32MX5XX/6XX/7XX USB, CAN and Ethernet 32-Bit Flash MicrocontrollersPIC32MX5XX/6XX/7XX USB, CAN and Ethernet 32-Bit Flash Microcontrollers
PIC32MX5XX/6XX/7XX USB, CAN and Ethernet 32-Bit Flash Microcontrollers
 
Introducing OMAP-L138/AM1808 Processor Architecture and Hawkboard Peripherals
Introducing OMAP-L138/AM1808 Processor Architecture and Hawkboard PeripheralsIntroducing OMAP-L138/AM1808 Processor Architecture and Hawkboard Peripherals
Introducing OMAP-L138/AM1808 Processor Architecture and Hawkboard Peripherals
 
Introduction to i.MX27 Multimedia Applications Processors
Introduction to i.MX27 Multimedia Applications ProcessorsIntroduction to i.MX27 Multimedia Applications Processors
Introduction to i.MX27 Multimedia Applications Processors
 
FPGA Introduction
FPGA IntroductionFPGA Introduction
FPGA Introduction
 
Overview of LPC214x MCUs
Overview of LPC214x MCUsOverview of LPC214x MCUs
Overview of LPC214x MCUs
 
EC 8691 Microprocessor and Microcontroller.pptx
EC 8691 Microprocessor and Microcontroller.pptxEC 8691 Microprocessor and Microcontroller.pptx
EC 8691 Microprocessor and Microcontroller.pptx
 
Synopsys User Group Presentation
Synopsys User Group PresentationSynopsys User Group Presentation
Synopsys User Group Presentation
 
An Overview on Programmable System on Chip: PSoC-5
An Overview on Programmable System on Chip: PSoC-5An Overview on Programmable System on Chip: PSoC-5
An Overview on Programmable System on Chip: PSoC-5
 
Overview of ST7 8-bit Microcontrollers
Overview of ST7 8-bit MicrocontrollersOverview of ST7 8-bit Microcontrollers
Overview of ST7 8-bit Microcontrollers
 
eCOG1X 16-bit Microcontrollers
eCOG1X 16-bit MicrocontrollerseCOG1X 16-bit Microcontrollers
eCOG1X 16-bit Microcontrollers
 
MPC854XE: PowerQUICC III Processors
MPC854XE: PowerQUICC III ProcessorsMPC854XE: PowerQUICC III Processors
MPC854XE: PowerQUICC III Processors
 
AMC & VPX Form Factor Boards With High Speed SERDES: Embedded World 2010
AMC & VPX Form Factor Boards With High Speed SERDES: Embedded World 2010AMC & VPX Form Factor Boards With High Speed SERDES: Embedded World 2010
AMC & VPX Form Factor Boards With High Speed SERDES: Embedded World 2010
 
The FlexTiles Development Platform offers Dual FPGA for 3D SoC Prototyping
The FlexTiles Development Platform offers Dual FPGA for 3D SoC PrototypingThe FlexTiles Development Platform offers Dual FPGA for 3D SoC Prototyping
The FlexTiles Development Platform offers Dual FPGA for 3D SoC Prototyping
 
8086 ppt
8086 ppt8086 ppt
8086 ppt
 
Introduction to Stellaris Family Microcontrollers
Introduction to Stellaris Family MicrocontrollersIntroduction to Stellaris Family Microcontrollers
Introduction to Stellaris Family Microcontrollers
 
SurfRider/AMC™ - Modular DSP Resource Board
SurfRider/AMC™ - Modular DSP Resource BoardSurfRider/AMC™ - Modular DSP Resource Board
SurfRider/AMC™ - Modular DSP Resource Board
 
NI Compact RIO Platform
NI Compact RIO PlatformNI Compact RIO Platform
NI Compact RIO Platform
 
PIC32MX Microcontroller Family
PIC32MX Microcontroller FamilyPIC32MX Microcontroller Family
PIC32MX Microcontroller Family
 
Introduction of 16-Bit Automotive Microcontrollers S12XE
Introduction of 16-Bit Automotive Microcontrollers S12XEIntroduction of 16-Bit Automotive Microcontrollers S12XE
Introduction of 16-Bit Automotive Microcontrollers S12XE
 

Recently uploaded

Heart Disease Prediction using machine learning.pptx
Heart Disease Prediction using machine learning.pptxHeart Disease Prediction using machine learning.pptx
Heart Disease Prediction using machine learning.pptxPoojaBan
 
DATA ANALYTICS PPT definition usage example
DATA ANALYTICS PPT definition usage exampleDATA ANALYTICS PPT definition usage example
DATA ANALYTICS PPT definition usage examplePragyanshuParadkar1
 
Introduction to Machine Learning Unit-3 for II MECH
Introduction to Machine Learning Unit-3 for II MECHIntroduction to Machine Learning Unit-3 for II MECH
Introduction to Machine Learning Unit-3 for II MECHC Sai Kiran
 
Architect Hassan Khalil Portfolio for 2024
Architect Hassan Khalil Portfolio for 2024Architect Hassan Khalil Portfolio for 2024
Architect Hassan Khalil Portfolio for 2024hassan khalil
 
Past, Present and Future of Generative AI
Past, Present and Future of Generative AIPast, Present and Future of Generative AI
Past, Present and Future of Generative AIabhishek36461
 
pipeline in computer architecture design
pipeline in computer architecture  designpipeline in computer architecture  design
pipeline in computer architecture designssuser87fa0c1
 
CCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdf
CCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdfCCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdf
CCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdfAsst.prof M.Gokilavani
 
Work Experience-Dalton Park.pptxfvvvvvvv
Work Experience-Dalton Park.pptxfvvvvvvvWork Experience-Dalton Park.pptxfvvvvvvv
Work Experience-Dalton Park.pptxfvvvvvvvLewisJB
 
An experimental study in using natural admixture as an alternative for chemic...
An experimental study in using natural admixture as an alternative for chemic...An experimental study in using natural admixture as an alternative for chemic...
An experimental study in using natural admixture as an alternative for chemic...Chandu841456
 
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...srsj9000
 
main PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfidmain PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfidNikhilNagaraju
 
Artificial-Intelligence-in-Electronics (K).pptx
Artificial-Intelligence-in-Electronics (K).pptxArtificial-Intelligence-in-Electronics (K).pptx
Artificial-Intelligence-in-Electronics (K).pptxbritheesh05
 
Oxy acetylene welding presentation note.
Oxy acetylene welding presentation note.Oxy acetylene welding presentation note.
Oxy acetylene welding presentation note.eptoze12
 
Concrete Mix Design - IS 10262-2019 - .pptx
Concrete Mix Design - IS 10262-2019 - .pptxConcrete Mix Design - IS 10262-2019 - .pptx
Concrete Mix Design - IS 10262-2019 - .pptxKartikeyaDwivedi3
 
Introduction-To-Agricultural-Surveillance-Rover.pptx
Introduction-To-Agricultural-Surveillance-Rover.pptxIntroduction-To-Agricultural-Surveillance-Rover.pptx
Introduction-To-Agricultural-Surveillance-Rover.pptxk795866
 
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdfCCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdfAsst.prof M.Gokilavani
 
complete construction, environmental and economics information of biomass com...
complete construction, environmental and economics information of biomass com...complete construction, environmental and economics information of biomass com...
complete construction, environmental and economics information of biomass com...asadnawaz62
 
Sachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
Sachpazis Costas: Geotechnical Engineering: A student's Perspective IntroductionSachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
Sachpazis Costas: Geotechnical Engineering: A student's Perspective IntroductionDr.Costas Sachpazis
 

Recently uploaded (20)

Heart Disease Prediction using machine learning.pptx
Heart Disease Prediction using machine learning.pptxHeart Disease Prediction using machine learning.pptx
Heart Disease Prediction using machine learning.pptx
 
DATA ANALYTICS PPT definition usage example
DATA ANALYTICS PPT definition usage exampleDATA ANALYTICS PPT definition usage example
DATA ANALYTICS PPT definition usage example
 
young call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Service
young call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Serviceyoung call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Service
young call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Service
 
Introduction to Machine Learning Unit-3 for II MECH
Introduction to Machine Learning Unit-3 for II MECHIntroduction to Machine Learning Unit-3 for II MECH
Introduction to Machine Learning Unit-3 for II MECH
 
Architect Hassan Khalil Portfolio for 2024
Architect Hassan Khalil Portfolio for 2024Architect Hassan Khalil Portfolio for 2024
Architect Hassan Khalil Portfolio for 2024
 
Past, Present and Future of Generative AI
Past, Present and Future of Generative AIPast, Present and Future of Generative AI
Past, Present and Future of Generative AI
 
pipeline in computer architecture design
pipeline in computer architecture  designpipeline in computer architecture  design
pipeline in computer architecture design
 
CCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdf
CCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdfCCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdf
CCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdf
 
🔝9953056974🔝!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...
🔝9953056974🔝!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...🔝9953056974🔝!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...
🔝9953056974🔝!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...
 
Work Experience-Dalton Park.pptxfvvvvvvv
Work Experience-Dalton Park.pptxfvvvvvvvWork Experience-Dalton Park.pptxfvvvvvvv
Work Experience-Dalton Park.pptxfvvvvvvv
 
An experimental study in using natural admixture as an alternative for chemic...
An experimental study in using natural admixture as an alternative for chemic...An experimental study in using natural admixture as an alternative for chemic...
An experimental study in using natural admixture as an alternative for chemic...
 
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
 
main PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfidmain PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfid
 
Artificial-Intelligence-in-Electronics (K).pptx
Artificial-Intelligence-in-Electronics (K).pptxArtificial-Intelligence-in-Electronics (K).pptx
Artificial-Intelligence-in-Electronics (K).pptx
 
Oxy acetylene welding presentation note.
Oxy acetylene welding presentation note.Oxy acetylene welding presentation note.
Oxy acetylene welding presentation note.
 
Concrete Mix Design - IS 10262-2019 - .pptx
Concrete Mix Design - IS 10262-2019 - .pptxConcrete Mix Design - IS 10262-2019 - .pptx
Concrete Mix Design - IS 10262-2019 - .pptx
 
Introduction-To-Agricultural-Surveillance-Rover.pptx
Introduction-To-Agricultural-Surveillance-Rover.pptxIntroduction-To-Agricultural-Surveillance-Rover.pptx
Introduction-To-Agricultural-Surveillance-Rover.pptx
 
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdfCCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
 
complete construction, environmental and economics information of biomass com...
complete construction, environmental and economics information of biomass com...complete construction, environmental and economics information of biomass com...
complete construction, environmental and economics information of biomass com...
 
Sachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
Sachpazis Costas: Geotechnical Engineering: A student's Perspective IntroductionSachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
Sachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
 

SAI Design and Verification Specs

  • 2.  Introduction  Block architecture  Free protocol modes  SPDIF protocol  PDM interface  AC’97 protocol  Low-power modes  Verification Specs. Outline Mostafa KhamisSAI Design and Verification Specs
  • 4.  The SAI interface (Serial Audio Interface) is a peripheral that communicates with external audio devices, supporting a wide set of audio protocols:  PDM Interface (Pulse Density Modulation)  I2S Philips standards, (Inter-IC Sound)  SPDIF Output, (Sony/Philips Digital InterFace)  PCM, (Pulse Code Modulation)  TDM, (Time Division Multiplexing)  AC’97, (Audio Codec ’97 from Intel)   Fully Configurable  Two independent sub-blocks. Overview Mostafa KhamisSAI Design and Verification Specs
  • 5.  Audio sampling rates: 44.1, 16, 48, 96, and 192 Khz  Master or slave mode for each sub-block   Data input, output, or full-duplex for each sub-block.   Clock generator for each sub-block   Synchronization between sub-blocks or with other SAIs   Companding modes (Micro-Law, A-Law)   8-word FIFO size.   2 DMA interfaces.   2 Interrupt lines.   Stereo/Mono audio frame capability. SAI Features Mostafa KhamisSAI Design and Verification Specs
  • 7. SAI embeds:   Two independent sub-blocks (channels):  Each sub-block can be configured in Receiver or Transmitter  mode and in Master or Slave mode with its own protocol.   A clk generator  A flexible serial interface  FIFO buffers  APB interface  DMA and interrupt services    Synchronization mechanism  Internal and external synchronization allows  two sub-blocks to be synchronized, or several  SAI interfaces to be synchronized. Block Diagram Mostafa KhamisSAI Design and Verification Specs
  • 8. SAI embeds:   IO line management  Each sub-block can handle up to four IOs   A PDM interface  allows the connection of up to 8  digital microphones.  Block Diagram Mostafa KhamisSAI Design and Verification Specs
  • 9.  Rich Kernel clock selection (SAI_CK_X):  The kernel clock is used to generate the timing of the SAI when in Master mode.  One of the 3PLL outputs (which are  embedded in STM32H7), or  One of the oscillator outputs, or  Clock from pad   Flexible internal synchronization  Each SAI can provide a synchronization to  the 3 other SAI (to support multi-lane devices)  Each SAI can be synchronized with one of  the 3other SAIs.   Possibility to support both 48 KHz and 44.1 Khz  streams simultaneously in parallel   Note: SAI4 has two independent multiplexers for the  kernel clock selection because it is located in the D3 domain. SAI in the circuit Mostafa KhamisSAI Design and Verification Specs
  • 10. Master Full-Duplex or Dual Lane Mostafa KhamisSAI Design and Verification Specs
  • 11. Slave Full-Duplex or Dual Lane Mostafa KhamisSAI Design and Verification Specs
  • 13.  The free protocol modes should be selected to configure SAI:  I2S Philips standard  I2S MSB or LSB-justified  TDM or PCM  Data Justification (LSB/MSB first)  Data Size, Slot (channel) size  Number of slots per frame  Data position into a slot  Sampling edge of the serial clock   The free protocol mode is used to adjust the following:  Frame size, frame polarity, frame period  Frame active level size  Frame synchronization mode  Master/Slave mode  Single or multiple or full-duplex data lanes Protocol Modes Mostafa KhamisSAI Design and Verification Specs
  • 14.  I2S-like Protocol Timings Mostafa KhamisSAI Design and Verification Specs
  • 15.  TDM-like Protocol Timings Mostafa KhamisSAI Design and Verification Specs
  • 16.  Up to 16 slots per audio frame   Each slot can be defined as active or not   Possibility to adjust the position of the data within a slot  by defining the first bit offset FBOFF   Possibility to set the data line in HiZ  For inactive slots  During FBOFF (First bit offset) area which is used  to control the position of the data inside each slot Slot Timings Mostafa KhamisSAI Design and Verification Specs
  • 17. Free Protocol Modes Mostafa KhamisSAI Design and Verification Specs
  • 18. SAI Synchronization Mostafa KhamisSAI Design and Verification Specs
  • 19. Companding Mostafa KhamisSAI Design and Verification Specs
  • 20. Specific Feature: Mute Mode Mostafa KhamisSAI Design and Verification Specs
  • 21. Anticipated/Late Frame Error Mostafa KhamisSAI Design and Verification Specs
  • 23. SPDIF Protocol Mostafa KhamisSAI Design and Verification Specs
  • 24. SPDIF Protocol Mostafa KhamisSAI Design and Verification Specs
  • 25. SPDIF Protocol Mostafa KhamisSAI Design and Verification Specs
  • 26. SPDIF Protocol Mostafa KhamisSAI Design and Verification Specs
  • 28. PDM Interface Mostafa KhamisSAI Design and Verification Specs
  • 30. AC’97 Protocol Mostafa KhamisSAI Design and Verification Specs
  • 32. Low-power Modes Mostafa KhamisSAI Design and Verification Specs
  • 34. UVM Environment Mostafa KhamisSAI Design and Verification Specs
  • 35. Mostafa KhamisSAI Design and Verification Specs