Analog.com Analog Dialogue Wiki 简体中文
EngineerZone
EngineerZone
  • Log in
  • Site
  • Search
  • Log in
  • Home
  • Blogs ⌵
    • EngineerZone Spotlight
    • The Engineering Mind
    • Analog Garage
  • Browse ⌵
    • All Groups
    • All Members
  • Support ⌵
    • 3D ToF Depth Sensing
    • Amplifiers
    • Analog Microcontrollers
    • Audio
    • Clock and Timing
    • Data Converters
    • Design Tools and Calculators
    • Direct Digital Synthesis (DDS)
    • Embedded Vision Sensing
    • Energy Monitoring and Metering
    • FPGA Reference Designs
    • Industrial Ethernet
    • Interface and Isolation
    • Low Power RF Transceivers
    • MeasureWare
    • MEMS Inertial Sensors
    • Motor Control Hardware Platforms
    • Optical Sensing
    • Power By Linear
    • Processors and DSP
    • Reference Circuits
    • RF and Microwave
    • Switches/Multiplexers
    • Temperature Sensors
    • Video
    • Wireless Sensor Networks Reference Library
  • My EZ
  • More
  • Cancel
SHARC Processors
  • Processors and DSP
  • More
SHARC Processors
Documents Example of using I2S PCG and SPORT interrupts
  • Q&A
  • Discussions
  • Documents
  • File Uploads
  • Video/Images
  • Sub-Groups
  • Tags
  • Reports
  • More
  • Cancel
  • New
SHARC Processors requires membership for participation - click to join
  • Documents
  • 214xx IIR Accelerator -  how to use the save state operation ?
  • 214xx processors: pull down resistor at SPI_CLK(DPI3) pin may result in SPI master boot failure
  • ADSP-21469 DDR2 controller-  How to configure bit 0 of the DDR2CTL3 register
  • ADSP-SC58x FFTA Benchmarks
  • Example of using I2S PCG and SPORT interrupts
  • FAQ: Does ADI provide USB VID/PID?
  • FAQ: Flash read/prgm via JTAG
  • FAQ: I'm interested in the SHARC processor family but don’t know where to start?
  • FAQ: Is it possible to program the internal ROM on the SHARC family 2126x, 2136x, 2137x and 2146x Processors?
  • FAQ: Standard Math Library for SHARC
  • FAQ: Using the Expert Code Generator (EE-322) and Expert DAI (EE-243) plugins for VisualDSP++ in Windows Vista, Windows 7 and Windows 8
  • FAQ: Why do the January, 2018 ADSP-214xx anomaly lists look so different?
  • FAQ:  ADSP-21369 EZKit expansion port dimensions
  • FAQ:  How do I debug an application which is not booting properly?
  • How to configure SRU for using TWI on SHARC processors?
  • If the breakpoint is anywhere in the area of code that the CRC is being checked on, then there could be a problem.
  • New SHARC Hardware Reference released
  • Programming PLL on ADSP-214xx processors
  • SHARC PROCESSORS
  • SPI serial flash driver & SAFP python script
  • The ADSP-21469 datasheet rev 0 shows tMCFDZ (DAT/SIG Output Time to Three-state)  parameter to be 15ns. However, MediaLB specs require this value for 1024*fs to be less than 6.1ns. Is this a concern?
  • What is the difference between ADSP-21371KSWZ-2A and ADSP-21371KSWZ-2B
  • What is the maximum allowed serial port  (SPORT) clock (SCLK) frequency for SHARC processors ?

Example of using I2S PCG and SPORT interrupts

Example of using I2S PCG and SPORT interrupts by harders@khtronik.de

Hi,

due to the invaluable help from Mahesh i got my problem with the SPORT interrupts solved and the code works fine. As a little pay back to the help i post this example using the PCG and the SPORTs 0/1 in a pass through mode.

The attached file is a complete CCES project.

The program initializes one PCG and supplies the clock and frame-sync internally to SPORT0 and SPORT1. It also supplies these signals to the external codec. So none of the SPORTSs nor the Codec is a master. The SPORT0 interrupt gets the data from the ADC part of the codec and store it for the SPORT1 service routine. The SPORT1 service routine outputs the data to the DAC.

If you have any comments, corrections or questions please post them :-).

Regards and special thanks to Mahesh, Kurt

SPORT-example.zip
  • Share
  • History
  • More
  • Cancel
Comments
Anonymous
Related
 
Social
Quick Links
  • About ADI
  • Partners
  • Analog Dialogue
  • Careers
  • Contact us
  • Investor Relations
  • News Room
  • Quality & Reliability
  • Sales & Distribution
  • Analog Garage
Languages
  • English
  • 简体中文
  • 日本語
  • Руccкий
Newsletters

Interested in the latest news and articles about ADI products, design tools, training and events? Choose from one of our 12 newsletters that match your product area of interest, delivered monthly or quarterly to your inbox.

Sign Up
Switch to mobile view
Analog Logo
© 1995 - 2019 Analog Devices, Inc. All Rights Reserved 沪ICP备09046653号
  • ©
  • 1995 - 2019 Analog Devices, Inc. All Rights Reserved
  • 沪ICP备09046653号
  • Sitemap
  • Privacy & Security
  • Privacy Settings
  • Terms of use
EngineerZone Uses cookies to ensure you get the best experience in our community. For more information on cookies, please read our Privacy & Security Statement.