McBSP Copyright © 2012 Texas Instruments. All rights reserved. Technical Training Organization T TO C6657 Workshop.

Slides:



Advertisements
Similar presentations
Copyright © 2003 Texas Instruments. All rights reserved.
Advertisements

TMS320C6xx Architecture C6xx
Chapter 20 This chapter provides a series of applications. There is no daughter cards with the DSK6713 and DSK6416 Part 1: Applications using the PCM3003.
Chapter 20 This chapter provides a series of applications. There is no daughter cards with the DSK6713 and DSK6416 Part 1: Applications using the PCM3003.
Chapter 5 Enhanced Direct Memory Access (EDMA). Dr. Naim Dahnoun, Bristol University, (c) Texas Instruments 2004 Chapter 5, Slide 2 Learning Objectives.
Georgia Tech Digital Back-end µHRG interface Curtis Mayberry School of Electrical and Computer Engineering Georgia Institute of Technology January 13 th,
Chapter 6 Multi-channel Buffered Serial Port (McBSP)
1 2015/5/18 Digital Signal Processor /5/18 Analog to Digital Shift.
Serial Communication Buses: I 2 C and SPI By Brody Dunn.
0 - 1 © 2007 Texas Instruments Inc, Content developed in partnership with Tel-Aviv University From MATLAB ® and Simulink ® to Real Time with TI DSPs Audio.
Chapter 9 Bootloader. Dr. Naim Dahnoun, Bristol University, (c) Texas Instruments 2002 Chapter 9, Slide 2 Learning Objectives  Need for a bootloader.
Presented by: Reshef Schreiber Itay Leibovich Instructed by: Eran Segev.
Capstone Fall 2005 GFX-One Guitar Processor Team Carpal Tunnel October 6 th 2005.
Presenting: Yaron Yagoda Kobi Cohen DSP SWITCH Digital Systems Laboratory Winter Supervisor: Isaschar Walter Mid-Term Presentation.
HT46 A/D Type MCU Series Data Memory (Byte) Program Memory HT46R22 (OTP) HT46C22 (Mask) 2Kx Kx16 4Kx HT46R23 (OTP) HT46C23 (Mask) HT46R24.
Lab #1 Introduction to Hardware & Software Tools of TMS320C6748 DSK
EE 445S Real-Time Digital Signal Processing Lab Fall 2011 Lab #2 Generating a Sine Wave Using the Hardware & Software Tools for the TI TMS320C6748 DSP.
Midterm Presentation Project Name: Serial Communication Analyzer Company Name: Digital laboratory Presenter Name: Igal Kogan Alexander Rekhelis Instructor:
The 6713 DSP Starter Kit (DSK) is a low-cost platform which lets customers evaluate and develop applications for the Texas Instruments C67X DSP family.
DSP C5000 Chapter 9 Understanding and Programming the Multi-channel Buffered Serial Port (McBSP) Copyright © 2003 Texas Instruments. All rights reserved.
TI Accelerates Femtocell Deployments with DSP Solution Kathy Brown General Manager, Wireless Infrastructure Josef Alt Business Development Manager, Communication.
Copyright © 2003 Texas Instruments. All rights reserved. DSP C5000 Chapter 11 Understanding and Programming the Bootloader.
SC200x Peripherals Broadband Entertainment Division DTV Source Applications July 2001.
Volume. 1-the idea of the program is to increase, decrease the volume. 2-the program does the following: A-PF8:decrease the volume B-Pf9:increase the.
AT91 Embedded Peripherals
EE 445S Real-Time Digital Signal Processing Lab Fall 2013 Lab #2 Generating a Sine Wave Using the Hardware & Software Tools for the TI TMS320C6748 DSP.
EDMA3 Keystone SoC Devices
EE 445S Real-Time Digital Signal Processing Lab Fall 2011 Lab #2 Generating a Sine Wave Using the Hardware & Software Tools for the TI TMS320C6713 DSP.
11/16/2006 WSN Mote- MCU & Sensor Hardware 1 ECET 581 Wireless Sensor Networks Mote – MCU & Sensor Hardware 2 of 3 Fall 2006
ENG241 Digital Design Week #8 Registers and Counters.
ATtiny23131 A SEMINAR ON AVR MICROCONTROLLER ATtiny2313.
Performed by: Yevgeny Safovich Yevgeny Zeldin Instructor: Yevgeni Rifkin המעבדה למערכות ספרתיות מהירות High speed digital systems laboratory.
Introduction to the C6713 Laurier Boulianne
EDMA3, QDMA and IDMA for the Keystone Platform
7 - 1 Texas Instruments Incorporated Module 7 : Serial Peripheral Interface C28x 32-Bit-Digital Signal Controller TMS320F2812.
OCRP RF Control WINLAB – Rutgers University Date : June Authors : Prasanthi Maddala, Khanh Le,
RX Serial Peripheral Interface (RSPI)
Serial Communication Analyzer Company Name: Digital laboratory Presenter Name: Igal Kogan Alexander Rekhelis Instructor: Hen Broodney Semester:Winter/Spring.
Presenting: Yaron Yagoda Kobi Cohen DSP SWITCH Digital Systems Laboratory Winter Supervisor: Isaschar Walter Semester A final Presentation.
Host Port Interface Expansion Bus Chapter 16 C6000 Integration Workshop Copyright © 2005 Texas Instruments. All rights reserved. T TO Technical Training.
© 2009, Renesas Technology America, Inc., All Rights Reserved 1 Course Introduction  Purpose:  This course provides an overview of the serial communication.
Using the McBSP Chapter 6 C6000 Integration Workshop Copyright © 2005 Texas Instruments. All rights reserved. Technical Training Organization T TO.
Chapter 6 Multi-channel Buffered Serial Port (McBSP)
Basic Memory Management Chapter 3 C6000 Integration Workshop Copyright © 2005 Texas Instruments. All rights reserved. Technical Training Organization T.
Serial Peripheral Interface SPI I2C (i-squared cee)
DSP C 5000 Chapter 8 Direct Memory Access (DMA) Copyright © 2003 Texas Instruments. All rights reserved.
EE 345S Real-Time Digital Signal Processing Lab Fall 2007 Lab #2 Generating a Sine Wave Using the Hardware & Software Tools for the TI TMS320C6713 DSP.
1 MPC 555: Queued Serial Module. 2 MPC 555 QSM QSPI: Queued Serial Peripheral Interface: full duplex serial, synchronous interface. 160B of queue RAM.
SINE8I PROGRAM. AICSEC.word 162Ch,1h,4892h,67h ;Fs = 8 kHz This instruction sets the sampling frequency, fs, at 8 kHz.
EE 345S Real-Time Digital Signal Processing Lab Fall 2008 Lab #3 Generating a Sine Wave Using the Hardware & Software Tools for the TI TMS320C6713 DSP.
Real time DSP Professors: Eng. Diego Barral Eng. Mariano Llamedo Soria Julian Bruno.
Serial Communication Buses: I2C and SPI
EE 107 Fall 2017 Lecture 5 Serial Buses – UART & SPI
96-channel, 10-bit, 20 MSPS ADC board with Gb Ethernet optical output
Chapter 4 C6000 Integration Workshop
Programming Microcontroller ADC – Analog Digital Converter
Implementing A Double-Buffered System
EE 445S Real-Time Digital Signal Processing Lab Spring 2017
Subject Name: Digital Signal Processing Algorithms & Architecture
ECE 3551 Microcomputer Systems 1
Digital Signal Processor
This chapter provides a series of applications.
Serial Communication Interface: Using 8251
ADC, DAC, and Sensor Interfacing
EE 445S Real-Time Digital Signal Processing Lab Fall 2013
Channel Sorting with the EDMA
Digital Signal Processors-1
Chapter 9 Bootloader.
Chapter 6 Multi-channel Buffered Serial Port (McBSP)
EE 345S Real-Time Digital Signal Processing Lab Fall 2007
Presentation transcript:

McBSP Copyright © 2012 Texas Instruments. All rights reserved. Technical Training Organization T TO C6657 Workshop

Outline  McBSP Overview (data Ch on DSK) Technical Training Organization T TO

McBSP Block Diagram CPU EDMA InternalBusInternalBus DXRDXR DX XSR CLKR FSR CLKX FSX CLKS RBRRBRDRRDRR 32 DR RSR Expand (optional) Compress (optional) McBSP Control Registers SPCR RCR XCRPCR SRGR McBSP = Multi-channel Buffered Serial Port DRR = Data Rcv Reg, DXR = Data Xmt Reg, RBR = Rcv Buffer Reg RSR = Rcv Shift Reg, XSR = Xmt Shift Reg Technical Training Organization T TO Let’s look at some basic definitions…

Basic Definitions - Bit, Word CLK b7b6b5b4b3b2b1b0 Word FS a1a0 Bit D  “Word” or “channel” contains #bits specified by WDLEN1 (8, 12, 16, 20, 24, 32)  “Bit” - one data bit per SP clock period SP Ctrl (SPCR) Rcv Ctrl (RCR) Xmt Ctrl (XCR) Rate (SRGR) Pin Ctrl (PCR) Serial Port RWDLEN1 XWDLEN1

Basic Definitions - Frame SP Ctrl (SPCR) Rcv Ctrl (RCR) Xmt Ctrl (XCR) Rate (SRGR) Pin Ctrl (PCR) Serial Port  “Frame” - contains one or multiple words w0w1w2w3w4w5w6w7 Frame Word w6w7 D FS RFRLEN1 XFRLEN1  FRLEN1 specifies #words per frame (1-128) RWDLEN1 XWDLEN1

EDMA Sync Events from McBSP “Ready to Read” EDMA CODECCODEC REVT1 RRDY=1 DRRRBRRSRDXRXSR Receive Event (REVT1)  When value reaches DRR, sync event sent to EDMA.  This can be used to trigger an EDMA transfer. SP Ctrl (SPCR) Rcv Ctrl (RCR) Xmt Ctrl (XCR) Rate (SRGR) Pin Ctrl (PCR) Serial Port XRDY=1 “Ready to Write” XEVT1 Transmit Event (XEVT1)  Sent to EDMA when DXR is emptied (and ready to receive another value) XRDY RRDY

Control Channel Data Channel (Stereo)  24-bit resolution (90db SNR ADC, 100db SNR DAC)  Multiple Digital transfer widths (16-bits, 20-bits, 24-bits, 32-bits)  Programmable frequency (8K, 16K, 24K, 32K, 44.1K, 48K, 96K)  AIC23 has two serial ports: Control : reads/writes AIC23’s control registers Data: Bidirectional pin to transfer data from A/D and to D/A converters AIC23 Audio CODEC Example Technical Training Organization T TO  2-wire  SPI  Right Justified  Left Justified  I2S  DSP Mode C6657: I2C C6657 : McBSP1

SCR & McBSP EDMA3 TC0 TC1 TC2TC3 EMAC HPI PCI SRIO TCP2 VCP2 McBSP PCI Utopia DDR2 L2 Mem Ctrl L2 L1P L1D D S M L D S M L CPU C64x+ MegaModule M S S M M S IDMA L1P Mem Ctrl L1D Mem Ctrl AET DATA SCR CFG SCR EMIF 128 Cfg PERIPH MS MS MasterSlave  McBSP is a slave on the DATA SCR  DRR/DXR (data) registers are accessed via the DATA SCR  McBSP configuration registers are accessed via the CFG SCR 32 PERIPH = All peripheral’s Cfg registers SCR = Switched Central Resource 32 External Mem Cntl CC

ti Technical Training Organization Technical Training Organization T TO