Graduate Institute of Electronics Engineering, NTU FIR Filter Design, Implement, and Applicate on Audio Equalizing System ~System Architecture

Size: px
Start display at page:

Download "Graduate Institute of Electronics Engineering, NTU FIR Filter Design, Implement, and Applicate on Audio Equalizing System ~System Architecture"

Transcription

1 FIR Filter Design, Implement, and Applicate on Audio Equalizing System ~System Architecture Instructor: Prof. Andy Wu 2004/10/21 ACCESS IC LAB

2 Review of DSP System P2

3 Basic Structure for Audio System Use a timer interrupt to generate a periodic event. Once interrupt, its handler should: Reset the counter of timer and keep timer active Generate an invoking signal to get a datum from ADC Use the datum in DSP algorithm Put the computation result to DAC and activate a conversion Sampling frequency is set by the number which timer counts and generates interrupt. P3

4 Control Mechanism Use DMA controller for input buffer and output buffer. Use SPI to control ADC behavior Use SPORT to transmit data with peripheral devices Cycle time: ADC response time DAC response time Time to execute DSP algorithm Time to execute other parts (egg. Key manipulation) What will happen if latency is greater than cycle time? P4

5 System State Diagram Can be implement through: Infinite looping in main() and polling peripheral devices Infinite looping in main() with event-driven interrupt service routine P5

6 Review: Program Sequencer Core Architecture Typical Program Flow Variations [3] P6

7 Review: Core Event Controller & System Interrupt Controller The mechanism to call Interrupt Service Routine (ISR) is implement with two hardware block in BF533 chip: CEC and SIC Core Event Controller (CEC) The CEC supports nine general-purpose interrupts (IVG15 7), in addition to the dedicated interrupt and exception events. The two lowest-priority interrupts (IVG15 14) are recommended to be reserved for software interrupt handlers. Preserve seven prioritized interrupt inputs to support peripherals. System Interrupt Controller (SIC) The System Interrupt Controller provides the mapping and routing of events from the many peripheral interrupt sources to the prioritized general-purpose interrupt inputs of the CEC. Provide a default mapping, but user can alter the mappings and priorities of interrupt events by writing the appropriate values into the Interrupt Assignment Registers (SIC_IARx) P7

8 System ISR Flow Chart Look up EVT by entry to find the entry point of interrupt service routine MMR is programmable Latch not serviced interrupt Check whether wake up core or not Logs request and keep track of system interrupt serviced or not Mapping peripheral interrupt to core interrupt, determine interrupt priority Keep track of all currently nested interrupt to determine which one to serve [3] [1] P8

9 System Interrupt Controller P9

10 System Interrupt Controller (cont.) Set the relative priority of peripheral interrupts by mapping them to appropriate general-purpose interrupt level in the core Core Event Controller P10

11 Core Event Controller Keep iteration to handle and track nested interrupts Priority mapping and ISR routing Event Vector Table (EVT) Interrupt Service Routine (ISR) P11

12 Register Event Handler The register_handler function determines how the hardware event kind is handled by registering the function pointed to by fn as a handler for the event. Synopsis #include <sys/exception.h> ex_handler_fn register_handler(interrupt_kind kind, ex_handler_fn fn); ex_handler_fn value: [1] The kind event is an enumeration identifying each of the hardware events interrupts and exceptions accepted by the Blackfin processor. typedef enum { ik_emulation, ik_reset, ik_nmi, ik_exception, ik_global_int_enable, ik_hardware_err, ik_timer, ik_ivg7, ik_ivg8, ik_ivg9, ik_ivg10, ik_ivg11, ik_ivg12, ik_ivg13, ik_ivg14, ik_ivg15 } interrupt_kind; P12

13 ISR with Compiler Macro Include sys/exception.h to define a function as ISR. Declared and defined using macros in this header: There is a macro for each of the three kinds of events the compiler supports: EX_INTERRUPT_HANDLER, EX_EXCEPTION_HANDLER, EX_NMI_HANDLER Declare and define MyIsr() to be a handler for interrupt-type events. #include <sys/exception.h> EX_INTERRUPT_HANDLER(MyIsr) { } By default, the ISRs generated by the compiler are not re-entrant. There is a different macro for specifying a re-entrant interrupt handler: EX_REENTRANT_HANDLER The EX_INTERRUPT_HANDLER() macro uses a generic pragma, #pragma interrupt, to indicate which function is to be an interrupt handler. This generic pragma does not indicate which interrupt the function will handle. For more detail information about how compiler implements ISR and other functions available in ISR, please check Reference [4]. P13

14 ADSP BF533 EZ-KIT Block Diagram [2] P14

15 Introduction to Audio CODEC: AD1836 Include 4 ADC and 6 DAC 3 channels of stereo audio output 2 input channels with max analog to digital conversion rate: 96KHz Use SPORT interface to communicate with up, and support: I 2 S mode transmission Maximum sampling rate: 96KHz Constrained output: 2 channels Time-Division Multiplexed (TDM) mode transmission Maximum sampling rate: 48KHz Allow simultaneous use of all input and output Enable: Push Button Enable Switch (SW9) on p3-10 Configured through SPI port of up BF533 More configuration setting of AD1836, please check reference [5] P15

16 AD1836 on BF533 EZ-KIT EVBoard [4] Hardware Reset Initialization through SPI Data communication through SPORT [5] P16

17 SPI Controller in BF533 Serial Peripheral Interface (SPI) compatible port controller Industry-standard synchronous serial link (4 wire) for multimaster multislave communication SCK : serial peripheral interface click signal SPISS : serial peripheral interface slave select input MOSI : master out slave in MISO : master in slave out On-chip IO interface for connection between: Other CPU or microcontrollers Codec ADC or DAC SP/DIF or AES/EBU digital audio transmitters and receivers LCD displays Shift registers FPGAs with SPI emulation P17

18 Setting SPI Controller Register based control mechanism SPI_BAUD setting baud rate, 0 or 1 will disable SPI : assign 16 SPI_CTL configure and enable SPI SPI_FLAG slave-select mapping flag : PF4 is CS of AD1836 SPI_STAT detecting transmission complete or fail SPI_TDBR transmit data buffer register SPI_RDBR receive data buffer register SPI_SHADOW for debugging, a shadow of SPI_RDBR Set SPI control registers before communicate with AD1836 Store the configuration data in array, use DMA transfer to communicate with AD1836 Check reference datasheet of AD1836 for detail understanding P18

19 SPI_CTL P19

20 SPORT Controller Synchronous Serial PORT controller, support a variety of serial data communication protocols. Capable for full-duplex operation Use 8 wire P20

21 SPORT Block Diagram On-chip Block diagram of SPORT0 and SPORT1 Interconnection between up and codec [3] P21

22 SPORT Control Mechanism Each SPORT has its own set of control register and data buffers. Before enable SPORT controller, it should be configured by setting bit and field value in configuration register: SPORTx_TCR1, SPORTx_TCR2 SPORTx_RCR1, SPORTx_RCR2 Once enabled, further write to those configuration register is ignored, except SPORTx_TCLKDIV, SPORTx_RCLKDIV, and multichannel mode channel select registers. TSPEN and RSPEN bit control enable or not P22

23 Setting SPORT Controller P23

24 Setting SPORT Controller P24

25 Setting SPORT Controller P25

26 Setting SPORT Controller P26

27 Example Exercise Lab /Analog Devices/VisualDSP Bit/Blackfin/EZ-KitsADSP-BF533/ Examples/Audio codec talkthrough/c/i2s/ Read readme.txt first and then trace the source code Build and Run Receive analog audio signal from PC phone jack. Connect output phone jack on EZ-KIT to Speaker Playback any music file and listen P27

28 Submission Due: 2004/11/04 Thursday Mailto: Requirement: Observe the example system, draw detailed statediagrams of each part Plot input and output signal for a period of time and compare Discussion Suggest to this slide: content, teaching skill anything you feel inadequate. P28

29 Reference [1] Visual DSP Help for 16-Bit Processors, ~/VisualDSP Bit/Help/vdsp-help.chm [2] ADSP-BF533 EZ-KIT Lite Evaluation System Manual, ~/VisualDSP Bit/Help/WmBF533.chm [3] ADSP-BF533 Blackfin Processor Hardware Reference ~/VisualDSP Bit/Help/BF533_hwr_101.chm [4] Visual DSP Compiler and Library Manual for Blackfin Processors, Revision 2.2, October 2003, Part Number , p.1-154~1-160 [5] Multichannel 96 khz Codec AD1836A datasheet, P29

Graduate Institute of Electronics Engineering, NTU 9/16/2004

Graduate Institute of Electronics Engineering, NTU 9/16/2004 / 9/16/2004 ACCESS IC LAB Overview of DSP Processor Current Status of NTU DSP Laboratory (E1-304) Course outline of Programmable DSP Lab Lab handout and final project DSP processor is a specially designed

More information

Development Tool (Tool Installation)

Development Tool (Tool Installation) Development Tool (Tool Installation) Advisor: Prof. Andy Wu 2004/10/07 ACCESS IC LAB (p5~p33) Install the tools Register your tools PCI Driver Installation Building & Running a C Program Reference P2 No

More information

Microcontroller Not just a case of you say tomarto and I say tomayto

Microcontroller Not just a case of you say tomarto and I say tomayto Microprocessor or Microcontroller Not just a case of you say tomarto and I say tomayto M. Smith, ECE University of Calgary, Canada Information taken from Analog Devices On-line Manuals with permission

More information

Microprocessor or Microcontroller Not just a case of you say tomarto and I say tomayto

Microprocessor or Microcontroller Not just a case of you say tomarto and I say tomayto Microprocessor or Microcontroller Not just a case of you say tomarto and I say tomayto Discussion of the capabilities of the Analog Devices ADSP-5333 Evaluation Board used in this course M. Smith, ECE

More information

Graduate Institute of Electronics Engineering, NTU Audio Equalizer

Graduate Institute of Electronics Engineering, NTU Audio Equalizer Audio Equalizer Instructor: Prof. Andy Wu ACCESS IC LAB Basic Network Structure for FIR System M y[ n] = h[ k] x[ n k] k = 0 Direct-form Transposition of direct-form P2 Cascade Form Cascade 2nd-ordered

More information

Introduction to VisualAudio

Introduction to VisualAudio The World Leader in High Performance Signal Processing Solutions Introduction to VisualAudio Presented by: Paul Beckmann Analog Devices CPSG About this Module This module gives an overview of VisualAudio,

More information

Design and development of embedded systems for the Internet of Things (IoT) Fabio Angeletti Fabrizio Gattuso

Design and development of embedded systems for the Internet of Things (IoT) Fabio Angeletti Fabrizio Gattuso Design and development of embedded systems for the Internet of Things (IoT) Fabio Angeletti Fabrizio Gattuso Microcontroller It is essentially a small computer on a chip Like any computer, it has memory,

More information

SPI Universal Serial Communication Interface SPI Mode

SPI Universal Serial Communication Interface SPI Mode SPI Universal Serial Communication Interface SPI Mode Serial Peripheral Interface (SPI) is not really a protocol, but more of a general idea. It s the bare-minimum way to transfer a lot of data between

More information

Lecture 14 Serial Peripheral Interface

Lecture 14 Serial Peripheral Interface www.atomicrhubarb.com/systems Lecture 14 Serial Peripheral Interface Section Topic Where in the books Zilog PS220 "Enhanced Serial Peripheral Interface" Assorted datasheets Synchronous Serial Buses 1-wire

More information

Microprocessor or Microcontroller Not just a case of you say tomarto and I say tomayto

Microprocessor or Microcontroller Not just a case of you say tomarto and I say tomayto Microprocessor or Microcontroller Not just a case of you say tomarto and I say tomayto Discussion of the capabilities of the Analog Devices ADSP-5333 Evaluation Board used in this course M. Smith, ECE

More information

Microcontroller basics

Microcontroller basics FYS3240 PC-based instrumentation and microcontrollers Microcontroller basics Spring 2017 Lecture #4 Bekkeng, 30.01.2017 Lab: AVR Studio Microcontrollers can be programmed using Assembly or C language In

More information

Real Time Embedded Systems. Lecture 1 January 17, 2012

Real Time Embedded Systems.  Lecture 1 January 17, 2012 SPI 4-Wire 3-Wire Real Time Embedded Systems www.atomicrhubarb.com/embedded Lecture 1 January 17, 2012 Topic Section Topic Where in the books Catsoulis chapter/page Simon chapter/page Zilog UM197 (ZNEO

More information

WS_CCESBF7-OUT-v1.00.doc Page 1 of 8

WS_CCESBF7-OUT-v1.00.doc Page 1 of 8 Course Name: Course Code: Course Description: System Development with CrossCore Embedded Studio (CCES) and the ADSP-BF70x Blackfin Processor Family WS_CCESBF7 This is a practical and interactive course

More information

Welcome to this presentation of the STM32 direct memory access controller (DMA). It covers the main features of this module, which is widely used to

Welcome to this presentation of the STM32 direct memory access controller (DMA). It covers the main features of this module, which is widely used to Welcome to this presentation of the STM32 direct memory access controller (DMA). It covers the main features of this module, which is widely used to handle the STM32 peripheral data transfers. 1 The Direct

More information

An SPI Temperature Sensor Interface with the Z8 Encore! SPI Bus

An SPI Temperature Sensor Interface with the Z8 Encore! SPI Bus Application Note An SPI Temperature Sensor Interface with the Z8 Encore! SPI Bus AN012703-0608 Abstract This Application Note provides an overview of Zilog s Z8 Encore! Serial Peripheral Interface (SPI)

More information

PRELIMINARY TECHNICAL DATA

PRELIMINARY TECHNICAL DATA a PRELIMINARY TECHNICAL DATA Preliminary Technical Data FEATURES 300 MHz High-Performance MSA DSP Core Two 16-Bit MACs, Two 40-Bit ALUs, Four 8-Bit Video ALUs, 40-Bit Shifter RISC-Like Register and Instruction

More information

SYLLABUS UNIT - I 8086/8088 ARCHITECTURE AND INSTRUCTION SET

SYLLABUS UNIT - I 8086/8088 ARCHITECTURE AND INSTRUCTION SET 1 SYLLABUS UNIT - I 8086/8088 ARCHITECTURE AND INSTRUCTION SET Intel 8086/8088 Architecture Segmented Memory, Minimum and Maximum Modes of Operation, Timing Diagram, Addressing Modes, Instruction Set,

More information

PIC Serial Peripheral Interface (SPI) to Digital Pot

PIC Serial Peripheral Interface (SPI) to Digital Pot Name Lab Section PIC Serial Peripheral Interface (SPI) to Digital Pot Lab 7 Introduction: SPI is a popular synchronous serial communication protocol that allows ICs to communicate over short distances

More information

If we can just send 1 signal correctly over the SPI MOSI line, then Lab 4 will work!!!

If we can just send 1 signal correctly over the SPI MOSI line, then Lab 4 will work!!! If we can just send 1 signal correctly over the SPI MOSI line, then Lab 4 will work!!! Design and implementation details on the way to a valid SPI-LCD interface driver Slides 3 to 13 are old versions of

More information

Lecture 5: Computing Platforms. Asbjørn Djupdal ARM Norway, IDI NTNU 2013 TDT

Lecture 5: Computing Platforms. Asbjørn Djupdal ARM Norway, IDI NTNU 2013 TDT 1 Lecture 5: Computing Platforms Asbjørn Djupdal ARM Norway, IDI NTNU 2013 2 Lecture overview Bus based systems Timing diagrams Bus protocols Various busses Basic I/O devices RAM Custom logic FPGA Debug

More information

Grundlagen Microcontroller Interrupts. Günther Gridling Bettina Weiss

Grundlagen Microcontroller Interrupts. Günther Gridling Bettina Weiss Grundlagen Microcontroller Interrupts Günther Gridling Bettina Weiss 1 Interrupts Lecture Overview Definition Sources ISR Priorities & Nesting 2 Definition Interrupt: reaction to (asynchronous) external

More information

ADSP-21065L EZ-KIT Lite Evaluation System Manual

ADSP-21065L EZ-KIT Lite Evaluation System Manual ADSP-21065L EZ-KIT Lite Evaluation System Manual Part Number: 82-000490-01 Revision 2.0 January 2003 Notice Analog Devices, Inc. reserves the right to make changes to or to discontinue any product or service

More information

AVR XMEGA Product Line Introduction AVR XMEGA TM. Product Introduction.

AVR XMEGA Product Line Introduction AVR XMEGA TM. Product Introduction. AVR XMEGA TM Product Introduction 32-bit AVR UC3 AVR Flash Microcontrollers The highest performance AVR in the world 8/16-bit AVR XMEGA Peripheral Performance 8-bit megaavr The world s most successful

More information

C8051F700 Serial Peripheral Interface (SPI) Overview

C8051F700 Serial Peripheral Interface (SPI) Overview C8051F700 Serial Peripheral Interface (SPI) Overview Agenda C8051F700 block diagram C8051F700 device features SPI operation overview SPI module overview Where to learn more 2 Introducing The C8051F700

More information

Symphony SoundBite Reference Manual

Symphony SoundBite Reference Manual Symphony SoundBite Reference Manual Document Number: SNDBITERM Rev. 2.0 09/2008 Contents Section 1, Introduction page 2 Section 2, Functional Blocks page 3 Section 3, Configuration and Connections page

More information

GLOSSARY. VisualDSP++ Kernel (VDK) User s Guide B-1

GLOSSARY. VisualDSP++ Kernel (VDK) User s Guide B-1 B GLOSSARY Application Programming Interface (API) A library of C/C++ functions and assembly macros that define VDK services. These services are essential for kernel-based application programs. The services

More information

AVR XMEGA TM. A New Reference for 8/16-bit Microcontrollers. Ingar Fredriksen AVR Product Marketing Director

AVR XMEGA TM. A New Reference for 8/16-bit Microcontrollers. Ingar Fredriksen AVR Product Marketing Director AVR XMEGA TM A New Reference for 8/16-bit Microcontrollers Ingar Fredriksen AVR Product Marketing Director Kristian Saether AVR Product Marketing Manager Atmel AVR Success Through Innovation First Flash

More information

M68HC08 Microcontroller The MC68HC908GP32. General Description. MCU Block Diagram CPU08 1

M68HC08 Microcontroller The MC68HC908GP32. General Description. MCU Block Diagram CPU08 1 M68HC08 Microcontroller The MC68HC908GP32 Babak Kia Adjunct Professor Boston University College of Engineering Email: bkia -at- bu.edu ENG SC757 - Advanced Microprocessor Design General Description The

More information

WS_CCESSH-OUT-v1.00.doc Page 1 of 8

WS_CCESSH-OUT-v1.00.doc Page 1 of 8 Course Name: Course Code: Course Description: System Development with CrossCore Embedded Studio (CCES) and the ADI SHARC Processor WS_CCESSH This is a practical and interactive course that is designed

More information

Blackfin Embedded Processor ADSP-BF535

Blackfin Embedded Processor ADSP-BF535 a Blackfin Embedded Processor ADSP-BF535 KEY FEATURES 350 MHz High Performance Blackfin Processor Core Two 16-Bit MACs, Two 40-Bit ALUs, One 40-Bit Shifter, Four 8-Bit Video ALUs, and Two 40-Bit Accumulators

More information

ECE 511 Project Group 11: MP3 Boombox 12/03/2013. Carlos R Araujo Divya Chinthalapuri Leegia S Jacob Brian D Jarvis Shawn Wilkinson

ECE 511 Project Group 11: MP3 Boombox 12/03/2013. Carlos R Araujo Divya Chinthalapuri Leegia S Jacob Brian D Jarvis Shawn Wilkinson ECE 511 Project Group 11: MP3 Boombox 12/03/2013 Carlos R Araujo Divya Chinthalapuri Leegia S Jacob Brian D Jarvis Shawn Wilkinson Motivation A toy in the entertainment genre: With the use of a single

More information

UART TO SPI SPECIFICATION

UART TO SPI SPECIFICATION UART TO SPI SPECIFICATION Author: Dinesh Annayya dinesha@opencores.org Table of Contents Preface... 3 Scope... 3 Revision History... 3 Abbreviations... 3 Introduction... 3 Architecture... 4 Baud-rate generator

More information

Overview of Microcontroller and Embedded Systems

Overview of Microcontroller and Embedded Systems UNIT-III Overview of Microcontroller and Embedded Systems Embedded Hardware and Various Building Blocks: The basic hardware components of an embedded system shown in a block diagram in below figure. These

More information

DSP Platforms Lab (AD-SHARC) Session 05

DSP Platforms Lab (AD-SHARC) Session 05 University of Miami - Frost School of Music DSP Platforms Lab (AD-SHARC) Session 05 Description This session will be dedicated to give an introduction to the hardware architecture and assembly programming

More information

Audio Controller i. Audio Controller

Audio Controller i. Audio Controller i Audio Controller ii Contents 1 Introduction 1 2 Controller interface 1 2.1 Port Descriptions................................................... 1 2.2 Interface description.................................................

More information

Outline: System Development and Programming with the ADSP-TS101 (TigerSHARC)

Outline: System Development and Programming with the ADSP-TS101 (TigerSHARC) Course Name: Course Number: Course Description: Goals/Objectives: Pre-requisites: Target Audience: Target Duration: System Development and Programming with the ADSP-TS101 (TigerSHARC) This is a practical

More information

Fredrick M. Cady. Assembly and С Programming forthefreescalehcs12 Microcontroller. шт.

Fredrick M. Cady. Assembly and С Programming forthefreescalehcs12 Microcontroller. шт. SECOND шт. Assembly and С Programming forthefreescalehcs12 Microcontroller Fredrick M. Cady Department of Electrical and Computer Engineering Montana State University New York Oxford Oxford University

More information

Embedded Systems and Software. Serial Interconnect Buses I 2 C (SMB) and SPI

Embedded Systems and Software. Serial Interconnect Buses I 2 C (SMB) and SPI Embedded Systems and Software Serial Interconnect Buses I 2 C (SMB) and SPI I2C, SPI, etc. Slide 1 Provide low-cost i.e., low wire/pin count connection between IC devices There are many of serial bus standards

More information

ADSP EZ-KIT Lite Evaluation System Manual

ADSP EZ-KIT Lite Evaluation System Manual ADSP-6 EZ-KIT Lite Evaluation System Manual Revision., August 0 Part Number 8-000800-0 Analog Devices, Inc. One Technology Way Norwood, Mass. 006-906 a Copyright Information 0 Analog Devices, Inc., ALL

More information

Interrupt/Timer/DMA 1

Interrupt/Timer/DMA 1 Interrupt/Timer/DMA 1 Exception An exception is any condition that needs to halt normal execution of the instructions Examples - Reset - HWI - SWI 2 Interrupt Hardware interrupt Software interrupt Trap

More information

Graduate Institute of Electronics Engineering, NTU. ASIC Logic. Speaker: Lung-Hao Chang 張龍豪 Advisor: Prof. Andy Wu 吳安宇教授.

Graduate Institute of Electronics Engineering, NTU. ASIC Logic. Speaker: Lung-Hao Chang 張龍豪 Advisor: Prof. Andy Wu 吳安宇教授. ASIC Logic Speaker: Lung-Hao Chang 張龍豪 Advisor: Prof. Andy Wu 吳安宇教授 May 21, 2003 PP. 2 Prototyping Goal of This Lab Familiarize with ARM Logic Module (LM) Know how to program LM PP. 3 Introduction ARM

More information

AN-895 APPLICATION NOTE

AN-895 APPLICATION NOTE APPLICATION NOTE One Technology Way P.O. Box 9106 Norwood, MA 02062-9106, U.S.A. Tel: 781.329.4700 Fax: 781.461.3113 www.analog.com ADuC702x MicroConverter I 2 C -Compatible Interface by Michael Looney

More information

Application Note, V1.0, Jul AP XC16x. Interfacing the XC16x Microcontroller to a Serial SPI EEPROM. Microcontrollers

Application Note, V1.0, Jul AP XC16x. Interfacing the XC16x Microcontroller to a Serial SPI EEPROM. Microcontrollers Application Note, V1.0, Jul. 2006 AP16095 XC16x Interfacing the XC16x Microcontroller to a Serial SPI EEPROM Microcontrollers Edition 2006-07-10 Published by Infineon Technologies AG 81726 München, Germany

More information

Engineer-to-Engineer Note

Engineer-to-Engineer Note Engineer-to-Engineer Note EE-377 Technical notes on using Analog Devices products and development tools Visit our Web resources http://www.analog.com/ee-notes and http://www.analog.com/processors or e-mail

More information

Emulating an asynchronous serial interface (ASC0) via software routines

Emulating an asynchronous serial interface (ASC0) via software routines Microcontrollers ApNote AP165001 or æ additional file AP165001.EXE available Emulating an asynchronous serial interface (ASC0) via software routines Abstract: The solution presented in this paper and in

More information

PSIM Tutorial. How to Use SPI in F2833x Target. February Powersim Inc.

PSIM Tutorial. How to Use SPI in F2833x Target. February Powersim Inc. PSIM Tutorial How to Use SPI in F2833x Target February 2013-1 - Powersim Inc. With the SimCoder Module and the F2833x Hardware Target, PSIM can generate ready-to-run codes for DSP boards that use TI F2833x

More information

8051 Microcontroller

8051 Microcontroller 8051 Microcontroller The 8051, Motorola and PIC families are the 3 leading sellers in the microcontroller market. The 8051 microcontroller was originally developed by Intel in the late 1970 s. Today many

More information

AP16050 SAB C161V/K/O. Emulating an asynchronous serial interface (ASC) via software routines. Microcontrollers. Application Note, V 1.0, Feb.

AP16050 SAB C161V/K/O. Emulating an asynchronous serial interface (ASC) via software routines. Microcontrollers. Application Note, V 1.0, Feb. Application Note, V 1.0, Feb. 2004 SAB C161V/K/O Emulating an asynchronous serial interface (ASC) via software routines. AP16050 Microcontrollers Never stop thinking. TriCore Revision History: 2004-02

More information

Blackfin Embedded Processor ADSP-BF535

Blackfin Embedded Processor ADSP-BF535 a Blackfin Embedded Processor ADSP-BF535 KEY FEATURES 350 MHz High Performance Blackfin Processor Core Two 16-Bit MACs, Two 40-Bit ALUs, One 40-Bit Shifter, Four 8-Bit Video ALUs, and Two 40-Bit Accumulators

More information

Amarjeet Singh. January 30, 2012

Amarjeet Singh. January 30, 2012 Amarjeet Singh January 30, 2012 Website updated - https://sites.google.com/a/iiitd.ac.in/emsys2012/ Lecture slides, audio from last class Assignment-2 How many of you have already finished it? Final deadline

More information

Blackfin Embedded Processor ADSP-BF531/ADSP-BF532/ADSP-BF533

Blackfin Embedded Processor ADSP-BF531/ADSP-BF532/ADSP-BF533 Blackfin Embedded Processor ADSP-BF531/ADSP-BF532/ADSP-BF533 FEATURES Up to 600 MHz high performance Blackfin processor Two 16-bit MACs, two 40-bit ALUs, four 8-bit video ALUs, 40-bit shifter RISC-like

More information

Project Title: Design and Implementation of IPTV System Project Supervisor: Dr. Khaled Fouad Elsayed

Project Title: Design and Implementation of IPTV System Project Supervisor: Dr. Khaled Fouad Elsayed Project Title: Design and Implementation of IPTV System Project Supervisor: Dr. Khaled Fouad Elsayed What's IPTV? In brief IPTV is a method of distributing television content over IP that enables a more

More information

3. (a) Explain the steps involved in the Interfacing of an I/O device (b) Explain various methods of interfacing of I/O devices.

3. (a) Explain the steps involved in the Interfacing of an I/O device (b) Explain various methods of interfacing of I/O devices. Code No: R05320202 Set No. 1 1. (a) Discuss the minimum mode memory control signals of 8086? (b) Explain the write cycle operation of the microprocessor with a neat timing diagram in maximum mode. [8+8]

More information

EC 6504 MICROPROCESSOR AND MICROCONTROLLER

EC 6504 MICROPROCESSOR AND MICROCONTROLLER DEPARTMENTOFELECTRONICS&COMMUNICATIONENGINEERING EC 6504 MICROPROCESSOR AND MICROCONTROLLER UNIT I THE 8086 MICROPROCESSOR PARTA 1. What is microprocessor? What is the difference between a MP and CPU?

More information

Emulating Dual SPI Using FlexIO

Emulating Dual SPI Using FlexIO Freescale Semiconductor, Inc. Document Number: AN5242 Application Note Rev. 0, 01/2016 Emulating Dual SPI Using FlexIO 1. Introduction This application note discusses one example of how to use FlexIO module

More information

ADSP-SC5xx EZ-KIT Lite Board Support Package v2.0.2 Release Notes

ADSP-SC5xx EZ-KIT Lite Board Support Package v2.0.2 Release Notes ADSP-SC5xx EZ-KIT Lite Board Support Package v2.0.2 Release Notes 2018 Analog Devices, Inc. http://www.analog.com processor.tools.support@analog.com Contents 1 Release Dependencies 3 2 Known issues in

More information

SPI (Serial & Peripheral Interface)

SPI (Serial & Peripheral Interface) SPI (Serial & Peripheral Interface) What is SPI SPI is a high-speed, full-duplex bus that uses a minimum of 3 wires to exchange data. The popularity of this bus rose when SD cards (and its variants ie:

More information

Understanding SPI with Precision Data Converters

Understanding SPI with Precision Data Converters Understanding SPI with Precision Data Converters By: Tony Calabria Presented by: 1 Communication Comparison SPI - Serial Peripheral Interface Bus I2C - Inter- Integrated Circuit Parallel Bus Advantages

More information

VisualDSP ADSP and ADSP EZ-Boards Release Notes Revision 1.0 March 25, 2010

VisualDSP ADSP and ADSP EZ-Boards Release Notes Revision 1.0 March 25, 2010 VisualDSP++ 5.0 ADSP-21479 and ADSP-21489 EZ-Boards Release Notes Revision 1.0 March 25, 2010 Table of Contents ADSP-21479 and ADSP-21489 EZ-Boards... A-2 Installation... A-2 Identifying Your VisualDSP++

More information

Blackfin Embedded Processor

Blackfin Embedded Processor Blackfin Embedded Processor ADSP-BF522/ADSP-BF523/ADSP-BF524/ADSP-BF525/ADSP-BF526/ADSP-BF527 FEATURES Up to 600 MHz high performance Blackfin processor Two 16-bit MACs, two 40-bit ALUs, four 8-bit video

More information

Marten van Dijk Department of Electrical & Computer Engineering University of Connecticut

Marten van Dijk Department of Electrical & Computer Engineering University of Connecticut ECE3411 Fall 2016 Wrap Up Review Session Marten van Dijk Department of Electrical & Computer Engineering University of Connecticut Email: marten.van_dijk@uconn.edu Slides are copied from Lecture 7b, ECE3411

More information

AN1298. Variations in the Motorola MC68HC(7)05Cx Family By Joanne Field CSIC Applications. Introduction

AN1298. Variations in the Motorola MC68HC(7)05Cx Family By Joanne Field CSIC Applications. Introduction Order this document by /D Variations in the Motorola MC68HC(7)05Cx Family By Joanne Field CSIC Applications East Kilbride, Scotland Introduction The Freescale MC68HC05 C Family of 8-bit microcontrollers

More information

INTRODUCTION TO FLEXIO

INTRODUCTION TO FLEXIO INTRODUCTION TO FLEXIO Osvaldo Romero Applications Engineer EXTERNAL USE Agenda Introduction to FlexIO FlexIO Main Features FlexIO Applications Freescale Products with FlexIO Collaterals\Tools for FlexIO

More information

An Audio System for the Blackfin

An Audio System for the Blackfin Chameleonic Radio Technical Memo No. 11 An Audio System for the Blackfin S.M. Shajedul Hasan and S.W. Ellingson September 28, 2006 Bradley Dept. of Electrical & Computer Engineering Virginia Polytechnic

More information

Release Notes for ADSP-SC5xx EZ-KIT Lite Board Support Package 2.0.1

Release Notes for ADSP-SC5xx EZ-KIT Lite Board Support Package 2.0.1 Release Notes for ADSP-SC5xx EZ-KIT Lite Board Support Package 2.0.1 2016 Analog Devices, Inc. http://www.analog.com processor.tools.support@analog.com Contents 1 Release Notes for Version 2.0.1 3 1.1

More information

Blackfin Audio (EI1) EZ-Extender Board Support Package (BSP) v1.0.0 Release Notes

Blackfin Audio (EI1) EZ-Extender Board Support Package (BSP) v1.0.0 Release Notes Blackfin Audio (EI1) EZ-Extender Board Support Package (BSP) v1.0.0 Release Notes Thank you for installing the Blackfin Audio (EI1) EZ-Extender Board Support Package (BSP). The BSP provides software and

More information

Blackfin Embedded Processor ADSP-BF534/ADSP-BF536/ADSP-BF537

Blackfin Embedded Processor ADSP-BF534/ADSP-BF536/ADSP-BF537 a Blackfin Embedded Processor ADSP-BF534/ADSP-BF536/ADSP-BF537 FEATURES Up to 600 MHz high performance Blackfin processor Two 16-bit MACs, two 40-bit ALUs, four 8-bit video ALUs, 40-bit shifter RISC-like

More information

PD215 Mechatronics. Week 3/4 Interfacing Hardware and Communication Systems

PD215 Mechatronics. Week 3/4 Interfacing Hardware and Communication Systems PD215 Mechatronics Week 3/4 Interfacing Hardware and Communication Systems Interfacing with the physical world A compute device (microprocessor) in mechatronic system needs to accept input information

More information

Blackfin Embedded Processor ADSP-BF592

Blackfin Embedded Processor ADSP-BF592 Blackfin Embedded Processor ADSP-BF592 FEATURES Up to 400 MHz high performance Blackfin processor Two 16-bit MACs, two 40-bit ALUs, four 8-bit video ALUs, 40-bit shifter RISC-like register and instruction

More information

OUTLINE. SPI Theory SPI Implementation STM32F0 SPI Resources System Overview Registers SPI Application Initialization Interface Examples

OUTLINE. SPI Theory SPI Implementation STM32F0 SPI Resources System Overview Registers SPI Application Initialization Interface Examples SERIAL PERIPHERAL INTERFACE (SPI) George E Hadley, Timothy Rogers, and David G Meyer 2018, Images Property of their Respective Owners OUTLINE SPI Theory SPI Implementation STM32F0 SPI Resources System

More information

EE458 - Embedded Systems Exceptions and Interrupts

EE458 - Embedded Systems Exceptions and Interrupts EE458 - Embedded Systems Exceptions and Interrupts Outline Exceptions Interrupts References RTC: Chapters 10 CUG: Chapters 8, 21, 23 1 Introduction An exception is any event that disrupts the normal execution

More information

MICROPROCESSOR BASED SYSTEM DESIGN

MICROPROCESSOR BASED SYSTEM DESIGN MICROPROCESSOR BASED SYSTEM DESIGN Lecture 5 Xmega 128 B1: Architecture MUHAMMAD AMIR YOUSAF VON NEUMAN ARCHITECTURE CPU Memory Execution unit ALU Registers Both data and instructions at the same system

More information

UNIT V MICRO CONTROLLER PROGRAMMING & APPLICATIONS TWO MARKS. 3.Give any two differences between microprocessor and micro controller.

UNIT V MICRO CONTROLLER PROGRAMMING & APPLICATIONS TWO MARKS. 3.Give any two differences between microprocessor and micro controller. UNIT V -8051 MICRO CONTROLLER PROGRAMMING & APPLICATIONS TWO MARKS 1. What is micro controller? Micro controller is a microprocessor with limited number of RAM, ROM, I/O ports and timer on a single chip

More information

The World Leader in High Performance Signal Processing Solutions. DSP Processors

The World Leader in High Performance Signal Processing Solutions. DSP Processors The World Leader in High Performance Signal Processing Solutions DSP Processors NDA required until November 11, 2008 Analog Devices Processors Broad Choice of DSPs Blackfin Media Enabled, 16/32- bit fixed

More information

Blackfin Optimizations for Performance and Power Consumption

Blackfin Optimizations for Performance and Power Consumption The World Leader in High Performance Signal Processing Solutions Blackfin Optimizations for Performance and Power Consumption Presented by: Merril Weiner Senior DSP Engineer About This Module This module

More information

Chapter 7. Hardware Implementation Tools

Chapter 7. Hardware Implementation Tools Hardware Implementation Tools 137 The testing and embedding speech processing algorithm on general purpose PC and dedicated DSP platform require specific hardware implementation tools. Real time digital

More information

ADSP EZ-KIT Lite Evaluation System Manual

ADSP EZ-KIT Lite Evaluation System Manual ADSP-6 EZ-KIT Lite Evaluation System Manual Revision.0, August 006 Part Number 8-00080-0 Analog Devices, Inc. One Technology Way Norwood, Mass. 006-906 a Copyright Information 006 Analog Devices, Inc.,

More information

Marten van Dijk, Syed Kamran Haider

Marten van Dijk, Syed Kamran Haider ECE3411 Fall 2015 Wrap Up Review Session Marten van Dijk, Syed Kamran Haider Department of Electrical & Computer Engineering University of Connecticut Email: vandijk, syed.haider@engr.uconn.edu Pulse Width

More information

I Introduction to Real-time Applications By Prawat Nagvajara

I Introduction to Real-time Applications By Prawat Nagvajara Electrical and Computer Engineering I Introduction to Real-time Applications By Prawat Nagvajara Synopsis This note is an introduction to a series of nine design exercises on design, implementation and

More information

QUESTION BANK CS2252 MICROPROCESSOR AND MICROCONTROLLERS

QUESTION BANK CS2252 MICROPROCESSOR AND MICROCONTROLLERS FATIMA MICHAEL COLLEGE OF ENGINEERING & TECHNOLOGY Senkottai Village, Madurai Sivagangai Main Road, Madurai -625 020 QUESTION BANK CS2252 MICROPROCESSOR AND MICROCONTROLLERS UNIT 1 - THE 8085 AND 8086

More information

Release Notes for ADSP-CM41x EZ-Kit Lite Board Support Package For Keil MDK

Release Notes for ADSP-CM41x EZ-Kit Lite Board Support Package For Keil MDK Release Notes for ADSP-CM41x EZ-Kit Lite Board Support Package 1.0.0 For Keil MDK 2016 Analog Devices, Inc. http://www.analog.com processor.tools.support@analog.com Contents 1 Release Dependencies 4 2

More information

Interrupts in Zynq Systems

Interrupts in Zynq Systems Interrupts in Zynq Systems C r i s t i a n S i s t e r n a U n i v e r s i d a d N a c i o n a l d e S a n J u a n A r g e n t i n a Exception / Interrupt Special condition that requires a processor's

More information

ADSP-BF707 EZ-Board Support Package v1.0.1 Release Notes

ADSP-BF707 EZ-Board Support Package v1.0.1 Release Notes ADSP-BF707 EZ-Board Support Package v1.0.1 Release Notes This release note subsumes the release note for previous updates. Release notes for previous updates can be found at the end of this document. This

More information

Module 2. Embedded Processors and Memory. Version 2 EE IIT, Kharagpur 1

Module 2. Embedded Processors and Memory. Version 2 EE IIT, Kharagpur 1 Module 2 Embedded Processors and Memory Version 2 EE IIT, Kharagpur 1 Lesson 11 Embedded Processors - II Version 2 EE IIT, Kharagpur 2 Signals of a Typical Microcontroller In this lesson the student will

More information

Interrupts and Serial Communication on the PIC18F8520

Interrupts and Serial Communication on the PIC18F8520 Interrupts and Serial Communication on the PIC18F8520 Kyle Persohn COEN 4720 Fall 2011 Marquette University 6 October 2011 Outline 1 Background Serial Communication PIC18 Interrupt System 2 Customizing

More information

Release Notes for ADuCM302x EZ-KIT Board Support Package 1.0.6

Release Notes for ADuCM302x EZ-KIT Board Support Package 1.0.6 Release Notes for ADuCM302x EZ-KIT Board Support Package 1.0.6 2017 Analog Devices, Inc. http://www.analog.com Contents 1 ADuCM302x EZ-KIT Board Support Package v1.0.6 Release Notes 5 1.1 Release Testing

More information

HZX N03 Bluetooth 4.0 Low Energy Module Datasheet

HZX N03 Bluetooth 4.0 Low Energy Module Datasheet HZX-51822-16N03 Bluetooth 4.0 Low Energy Module Datasheet SHEN ZHEN HUAZHIXIN TECHNOLOGY LTD 2017.7 NAME : Bluetooth 4.0 Low Energy Module MODEL NO. : HZX-51822-16N03 VERSION : V1.0 1.Revision History

More information

Release Notes for ADuCM302x EZ-KIT Lite Board Support Package 1.0.3

Release Notes for ADuCM302x EZ-KIT Lite Board Support Package 1.0.3 Release Notes for ADuCM302x EZ-KIT Lite Board Support Package 1.0.3 2016 Analog Devices, Inc. http://www.analog.com processor.tools.support@analog.com Contents 1 ADuCM302x EZ-KIT Lite Board Support Package

More information

BASIC INTERFACING CONCEPTS

BASIC INTERFACING CONCEPTS Contents i SYLLABUS UNIT - I 8085 ARCHITECTURE Introduction to Microprocessors and Microcontrollers, 8085 Processor Architecture, Internal Operations, Instructions and Timings, Programming the 8085-Introduction

More information

Engineer-to-Engineer Note

Engineer-to-Engineer Note Engineer-to-Engineer Note a EE-227 Technical notes on using Analog Devices DSPs, processors and development tools Contact our technical support at dsp.support@analog.com and at dsptools.support@analog.com

More information

Fundamental concept in computation Interrupt execution of a program to handle an event

Fundamental concept in computation Interrupt execution of a program to handle an event Interrupts Fundamental concept in computation Interrupt execution of a program to handle an event Don t have to rely on program relinquishing control Can code program without worrying about others Issues

More information

LABORATORIO DI ARCHITETTURE E PROGRAMMAZIONE DEI SISTEMI ELETTRONICI INDUSTRIALI. Laboratory Lesson 9: Serial Peripheral Interface (SPI)

LABORATORIO DI ARCHITETTURE E PROGRAMMAZIONE DEI SISTEMI ELETTRONICI INDUSTRIALI. Laboratory Lesson 9: Serial Peripheral Interface (SPI) LABORATORIO DI ARCHITETTURE E PROGRAMMAZIONE DEI SISTEMI ELETTRONICI INDUSTRIALI Laboratory Lesson 9: Serial Peripheral Interface (SPI) Prof. Luca Benini Prof Davide Rossi

More information

ADSP-2362/ADSP-2363/ADSP-2364/ADSP-2365/ADSP-2366 KEY FEATURES PROCESSOR CORE At 333 MHz (3.0 ns) core instruction rate, the ADSP-236x performs 2 GFLO

ADSP-2362/ADSP-2363/ADSP-2364/ADSP-2365/ADSP-2366 KEY FEATURES PROCESSOR CORE At 333 MHz (3.0 ns) core instruction rate, the ADSP-236x performs 2 GFLO SHARC Processors ADSP-2362/ADSP-2363/ADSP-2364/ADSP-2365/ADSP-2366 SUMMARY High performance, 32-bit/40-bit, floating-point processor optimized for high performance processing Single-instruction, multiple-data

More information

Interconnects, Memory, GPIO

Interconnects, Memory, GPIO Interconnects, Memory, GPIO Dr. Francesco Conti f.conti@unibo.it Slide contributions adapted from STMicroelectronics and from Dr. Michele Magno, others Processor vs. MCU Pipeline Harvard architecture Separate

More information

A. This Errata sheet represents the known bugs, anomalies and work-arounds for the ADuC812 MicroConverter.

A. This Errata sheet represents the known bugs, anomalies and work-arounds for the ADuC812 MicroConverter. a MicroConverter, Multi-Channel 12-bit ADC with Embedded FLASH MCU ADuC812 A. This Errata sheet represents the known bugs, anomalies and work-arounds for the ADuC812 MicroConverter. B. The Errata listed,

More information

ARM Cortex core microcontrollers 3. Cortex-M0, M4, M7

ARM Cortex core microcontrollers 3. Cortex-M0, M4, M7 ARM Cortex core microcontrollers 3. Cortex-M0, M4, M7 Scherer Balázs Budapest University of Technology and Economics Department of Measurement and Information Systems BME-MIT 2018 Trends of 32-bit microcontrollers

More information

Blackfin Online Learning & Development

Blackfin Online Learning & Development Presentation Title: Introduction to VisualAudio Presenter Name: Paul Beckmann Chapter 1: Introduction Chapter 1a: Overview Chapter 2: VisualAudio Overview Sub-chapter 2a: What Is VisualAudio? Sub-chapter

More information

ASIC Logic. Speaker: Juin-Nan Liu. Adopted from National Chiao-Tung University IP Core Design

ASIC Logic. Speaker: Juin-Nan Liu. Adopted from National Chiao-Tung University IP Core Design ASIC Logic Speaker: Juin-Nan Liu Adopted from National Chiao-Tung University IP Core Design Goal of This Lab Prototyping Familiarize with ARM Logic Module (LM) Know how to program LM Outline Introduction

More information

ADSP-2100A DSP microprocessor with off-chip Harvard architecture. ADSP-2101 DSP microcomputer with on-chip program and data memory

ADSP-2100A DSP microprocessor with off-chip Harvard architecture. ADSP-2101 DSP microcomputer with on-chip program and data memory Introduction. OVERVIEW This book is the second volume of digital signal processing applications based on the ADSP-00 DSP microprocessor family. It contains a compilation of routines for a variety of common

More information

RL78 Serial interfaces

RL78 Serial interfaces RL78 Serial interfaces Renesas Electronics 00000-A Introduction Purpose This course provides an introduction to the RL78 serial interface architecture. In detail the different serial interfaces and their

More information