LOGO Lab Supervisor – Dr. WH Lau EE3271 Design Laboratory.

Slides:



Advertisements
Similar presentations
INDIVIDUAL PROJECT BY R.KARTHIKMANOJ
Advertisements

The AwesomO mp3 “The Swiss Army Knife of mp3 Players”
Trackmate Nathan Beste, Justin Flair, Arzhang Badiozamani, Evan Graves ECE 189 A/B Spring 2013.
MM Player Supervised by: Dr. Luai Malhis. Prepared by: Mustafa Assaf & Mahmoud Musa.
MC68HC11 System Overview. System block diagram (A8 version)
Programmable Interval Timer
By: Russ Butler ECE4220 Spring 2012 Dr. DeSouza May 2, 2012.
LOGSYS Development Environment of Embedded Systems Tamás Raikovich Béla Fehér Péter Laczkó Budapest University of Technology and Economics Department of.
ARM development environment Modified Content Philips LPC2106 ARM chip ARM target board PSPad customised development environment Troubleshooting.
SPI Serial Peripheral Interface. SPI Serial Peripheral Interface is communication between two devices, one bit at a time sequential one bit at time over.
Lecture 8: Serial Interfaces
Oscilloscope Watch Teardown. Agenda History and General overview Hardware design: – Block diagram and general overview – Choice of the microcontroller.
Senior Design Project Mid-Course Design Review Wireless Home Audio Advisor: Professor Yngvesson, K Sigfrid Group members: Wan Ng (Hardware Protel) Eric.
Peripherals and their Control An overview of industrially available “peripheral devices” Some ideas for Laboratories and Quiz / Exam questions.
Serial Communication Buses: I 2 C and SPI By Brody Dunn.
NACK Digital Equalizer Nguyen Craig Petersen Andrew Nguyen Kevin Wong Group 7 CPSC © 2000 Midterm Proposal.
Travis Reed Todd Hummel Kwan-Truc. Concept USB 1.1 SPI b.
IO Controller Module Arbitrates IO from the CCP Physically separable from CCP –Can be used as independent data logger or used in future projects. Implemented.
1 Project supervised by: Dr Michael Gandelsman Project performed by: Roman Paleria, Avi Yona 12/5/2003 Multi-channel Data Acquisition System Mid-Term Presentation.
Guitar Effects Processor Critical Design Review October, 07, 2003 Groups Members: Adam Bernstein Hosam Ghaith Jasenko Alagic Matthew Iyer Yousef Alyousef.
Serial Peripheral Interface (SPI)
TEAM SYNTH: Design Proposal EE 41430, Fall 2007 John Simmons William Andrews Angela McKenzie.
Capstone Fall 2005 GFX-One Guitar Processor Team Carpal Tunnel October 6 th 2005.
PDACS Final Presentation Michelle Berger John Curtin Trey Griffin Aaron King Michael Nordfelt Jeffrey Whitted.
Wireless Digital Audio Transmission Senior Design Project Summer 2002 E. Donnelly, K. Khan, S. Owen D. Choy Dr. H. Lam.
NS Training Hardware. System Controller Module.
Wireless PC-Peripherals Communication via Blue Tooth (D0130 project)
Interfaces A practical approach. Lesson 2 I2C and SPI
2 Lines Electronics I 2 C Analyzer Ching-Yen Beh Robert S. Stookey Advisor: Dr. J. W. Bruce.
HD44780 LCD programming From the Hardware Side
Lecture 111 Lecture 11: Lab 3 Overview, the ADV7183B Video Decoder and the I 2 C Bus ECE 412: Microcomputer Laboratory.
LSU 10/22/2004Serial I/O1 Programming Unit, Lecture 5.
4.0 rtos implementation part II
EE 446 Project Assignment Top Design Sensor Components Pin Assignment and Configuration Completed Physical Setup Project Tasks.
Team 2 Yimin Xiao Jintao Zhang Bo Yuan Yang.  The project we propose is a digital oscilloscope with playback function that provides almost any function.
ECE 477 DESIGN REVIEW TEAM 2  FALL 2011 Members: Bo Yuan, Yimin Xiao, Yang Yang, Jintao Zhang.
1 SERIAL PORT INTERFACE FOR MICROCONTROLLER EMBEDDED INTO INTEGRATED POWER METER Mr. Borisav Jovanović, Prof.dr Predrag Petković, Prof.dr. Milunka Damnjanović,
Lecture 20: Communications Lecturers: Professor John Devlin Mr Robert Ross.
Embedded System Design Laboratory October 4, 2002Stanford University - EE281 Lecture #3#1 Lecture #3 Outline Announcements AVR Processor Resources –UART.
Group 8: Video Game Console Team Members: Rich Capone Hong Jin Cho Dave Elliott Ryan Gates.
Autonomous Helicopter James LydenEE 496Harris Okazaki.
CDR- Digital Audio Recorder/Player Brian Cowdrey Mike Ingoldby Gaurav Raje Jeff Swetnam.
 8251A is a USART (Universal Synchronous Asynchronous Receiver Transmitter) for serial data communication.  Programmable peripheral designed for synchronous.
8279 KEYBOARD AND DISPLAY INTERFACING
ATtiny23131 A SEMINAR ON AVR MICROCONTROLLER ATtiny2313.
Senior Design Project “ MP3 Player ” Brian P. Allen Zeeshan A. Khan Jerry T. Koshy.
Microprocessor based Design for Biomedical Applications MBE 3 – MDBA XI : Project Outlooks.
Audioprocessor for Automobiles Using the TMS320C50 DSP Ted Subonj Presentation on SPRA302 CSE671 / Dr. S. Ganesan.
PROJECT - ZYNQ Yakir Peretz Idan Homri Semester - winter 2014 Duration - one semester.
Embedded Network Interface (ENI). What is ENI? Embedded Network Interface Originally called DPO (Digital Product Option) card Printer without network.
Network and Systems Laboratory nslab.ee.ntu.edu.tw se.
1 Programming of FPGA in LiCAS ADC for Continuous Data Readout Week 5 Report Tuesday 29 th July 2008 Jack Hickish.
8279 KEYBOARD AND DISPLAY INTERFACING
Department of Electronic & Electrical Engineering Serial interfaces Serial Interfaces allow communication between devices sending one bit at a time. In.
Serial Peripheral Interface SPI I2C (i-squared cee)
بسم الله الرحمن الرحيم MEMORY AND I/O.
Μ [sic] design constraints wesley :: chris :: dave :: josh.
박 유 진.  Short RF Range(~10m)  Reduce range by obstruction  Low data rate(1Mbps)  Normal Audio data rate : 1.5 Mbps  CD Quality Audio data rate :
USING TV REMOTE AS A CORDLESS MOUSE FOR THE COMPUTER
CORDLESS MOUSE FEATURES BY TV REMOTE USING PIC MICROCONTROLLER
Outline Analog to digital conversion (ADC) of NuMaker TRIO
Serial Communication Buses: I2C and SPI
EE 107 Fall 2017 Lecture 5 Serial Buses – UART & SPI
ECE 3430 – Intro to Microcomputer Systems
Atmega32 Serial Programming Basics
ECE 3551 Microcomputer Systems 1
This chapter provides a series of applications.
BJ Furman ME 106 Fundamentals of Mechatronics 15NOV2012
HD44780 LCD programming From the Hardware Side
HD44780 LCD programming From the Hardware Side
Presentation transcript:

LOGO Lab Supervisor – Dr. WH Lau EE3271 Design Laboratory

LOGO Aims and Objectives  Design and implement a MP3 Player  Learn the ICs operation and how to use program to drive the ICs work.  Learn data transfer in between ICs

LOGO MP3 Overall Flow

LOGO

Block Diagram of MP3 Player

LOGO Components Description  LPCEB2000-B Processor Board  Installed with a Philips ARM processor LPC2292  Two debugging modes are available via JTAG_EN Jumper and ETM_EN Jumper  Boot set jumper: can boot from internal flash or external flash by jumper set.  Two I/O ports (P0.0-31, P1.0-31) for I/O interface

LOGO  J1, J2, J3, J4 are connectors for external bus interface. J1 and J3 are 40 Pins, J2 and J4 are 20 Pins. J1 and J2 are used to connect the board to applied board, J3 and J4 are used to extend upwards J1 J2 J3 J4

LOGO  STA015  Microelectronics MP3 decoder chip  An MPEG Layer III audio decoder with ADPCM compression / decompression capabilities and BYPASS mode for auxiliary audio sources post-processing  Decodes elementary streams compressed by using low sampling rates  Receives the input data through a Serial input Interface  The decoded signal can be a stereo, mono, or dual channel digital output.  Interfaced to LPC2292 using the I2C and SPI interface pins of Port 0  Equipped with a buffer

LOGO  CS4334  Stereo digital-to-analog output systems including interpolation, 1-bit D/A conversion and output analog filtering in an 8-pin package  Adjustment of sample rate between 2 kHz and 100 kHz simply by changing the master clock frequency  On-chip digital de-emphasis, operates from a single +5 V power supply, and requires minimal support circuitry  Ideal for portable CD players and other portable playback systems  Directly connected to the output of STA015 via the IIS interface

LOGO  LCD Display  16 characters, 2 rows LCD module  Requires 8-bit ASCII character input and 3 input control signals  Use for testing wire-wrapped board is correctly installed

LOGO Bus Setting - I2C  A bi-directional 2-wire bus for efficient inter-IC control  There are Serial Data Line (SDA) and Serial Clock Line (SCL)  In this lab, we used I2C to configure the STA015.

LOGO Bus Setting - Data Request  We use polling to keep checking the data port (EINT3)  When the buffer in STA015 underflow, it will generate a data request signal.

LOGO Bus Setting – SPI  SPI (Serial Peripheral Interface)  Uses the MOSI (Master Output Slave Input) and MISO (Master Input Slave Output) pins to perform serial byte data transfer.  In this lab, we use SPI to stream the data from LPC2292 to STA015.

LOGO The flow of bus SCK SSEL MISO, MOSI SCK WS SD

LOGO

Design Flow  System Initialization  LCD Initialization  I2C Initialization  STA015 Initialization  SPI Initialization  STA015 Data Request Signal (Polling)  Play song

LOGO System Initialization  Set all the port 0 to GPIO ports  Set the PLL Clock frequency to 60MHz  Code: System_Init() in LCD.c

LOGO LCD Initialization  Set the LCD data pins  By sending command to set the preferences of the LCD display  Code: LCD_Init() in LCD.c Related functions: --SendCommand(char cmd); --sendchar(char a); --LCD_output(char *str);

LOGO I2C Initialization  Code: I2C_Init() in I2C_Test.c Related functions: --I2C_IRQ_Srv(); --uint8 I2CTest_SendStr(uint8 SlaveAddr, uint8 WrAddr,uint8 *Str,uint8 number); --uint8 I2CTest_RcvStr(uint8 SlaveAddr, uint8 RDAddr,uint8 *Str,uint8 number);

LOGO STA015 Initialization

LOGO STA015 Initialization  Code: sta015_init() in sta015.c

LOGO SPI Initialization  Modify the Clock of SPI  Update the spi_set() function  Code: SPI_Init() in SPI_Test.c Related functions: spi_set()

LOGO STA015 Data Request Signal (Polling)  Code: Main() in mp3.c while(1){ if ((IOPIN0 & P30) == P30) { spi_set(*song1); song1++; } ……. }

LOGO Play song  Download a mp3 file to a particular address through EmbestIDE softwares  Run all the initialialzation functions  Signal spi to send data  Code: Main() in mp3.c

LOGO

Testing  Check register $01(IDENT), return 0xAC if STA015 is presence  Using the Oscilloscope -- Checking I2C Clock, I2C Data -- Checking SPI Clock, SPI Data -- Checking 1KHz tone frequency

LOGO Difficulties Encountered  Unclear concept of STA015  Using wrong Oversampling Ratio  Missing Hardware Reset  Missing Data Request

LOGO Conclusion  What we had learnt -- Project Management -- STA015 configuration -- Debugging with Oscilloscope -- Practically understand I2C and SPI data transfer bus

LOGO