All of Lab. 4 using Services Audio, LED, GPIO, LightSensor, Thermal Sensors, LCD Code by A. Tran / M. Smith Talk by M. Smith with slides from D. Lannigan.

Slides:



Advertisements
Similar presentations
EER to Relation Models Mapping
Advertisements

Introduction to TCP/IP and OSI model
1/13/20141 What is SimNet? LEARNING & ASSESSMENT MODULES FOR… Office 2010 | Windows Vista & IE7,8,9 | Windows XP, Vista & 7 | Computer Concepts In a simulated.
Monday, January 13, Instructor Development Lesson 9.
Monday, January 13, Instructor Development Lesson 6 Instructor Resources.
Rev Monday, January 13, Foundations, Technology, Skills Tools.
Energy Thermodynamics-study of energy and its interconversions Labs
ALASKA Fleet Operations 1/23/20142 The State Equipment Fleet (SEF) is responsible for procuring, maintaining, and disposing of vehicles and equipment.
Dr. Peter OReilly Chairperson- ISM Services Group /23/20141 NAPM-AZ Presentation- March 2009.
Charge Module Design, Implementation, and Troubleshooting November 11, 2011 Presenter: Tracy Kimble.
an innovative solution by central control
1/30/20141 The Public Sector Equality Duty England (and non-devolved bodies in Scotland and Wales)
National Seminar on Developing a Program for the Implementation of the 2008 SNA and Supporting Statistics in Turkey Arzu TOKDEMİR 10 September 2013 Ankara.
Module 6 – Evaluation Methods and Techniques. 13/02/20142 Questions and criteria Methods and techniques Quality How the evaluation will be done Overview.
BUS 220: ELEMENTARY STATISTICS
BUS 220: Elementary Statistics
PROCUREMENT OF COMMERCIALLY VENDED MEALS
Welcome Welcome to the next session in the professional development program focused around the 9-12 Mathematics Standards. 3/1/20141Geometry.
Mission: Protect the Vulnerable, Promote Strong and Economically Self- Sufficient Families, and Advance Personal and Family Recovery and Resiliency. Rick.
SAP-Customizing SAP-Customizing.
Welcome to CMPE003 Personal Computer Concepts: Hardware and Software Winter 2003 UC Santa Cruz Instructor: Guy Cox.

A DIY Accessible Hardware Solution for Students with Disabilities | Ryan Vernon BC College and Institute.
Sampling of Coal Dr kalyan sen Director, Central Fuel Research Institute, Dhanbad, 2003.
6/2/20141 A Short Tour of our School. 6/2/20142 Hazelwood is a part of the Edmonds School District th Street SW Lynnwood, WA (425)
Grade-3 Pine View School Mrs. Seider’s class
Oracle Rally Applications Modernization. 4 June About the Company Founded in 2002 Unites high-level information technology and organization architecture.
Device Drivers cs423, Fall 2007 Klara Nahrstedt/Sam King 6/6/20141.
© 2007 Cisco Systems, Inc. All rights reserved. 1 Valašské Meziříčí Networking Media.
12/06/ A Taming Technology Presentation by Sutherland Shire Libraries.
Winter Lecture 9 Project Planning and Scheduling Time Events Resources.
6/12/20141 Money and Banking Chapter Outline The Functions of Money The Functions of Money The Components of Money Supply The Components of Money.
June 12, Mobile Computing COE 446 Network Planning Tarek Sheltami KFUPM CCSE COE Principles of Wireless.
Please, select a question: How does a personal account work? How to apply to a job offer? How to send a spontaneous application? How to recover your password?
Intersection Schemas as a Dataspace Integration Technique 8/21/20141 Richard BrownlowAlex Poulovassilis.
8/25/ Click on Member Billing Icon 2 8/25/2014 Recent Updates to the Program 3.
UUCS Congregational Meeting December 5, /25/20141.
8/25/20141 Road Map to Success Business Plan Preparation Workshop.
Project Quality Management
1 Small group teaching. 10/10/ What is a small group: Small groups are not determined by number, but by certain characteristics: – Active student.
1 Small group teaching2. 10/10/ Summary of techniques for effective facilitation in group discussion 1. Brainstorming: Everyone should be encouraged.
Sybase PowerBuilder Applications Modernization. 11 October About the Company Founded in 2002 Unites high-level information technology and organization.
Sybase PowerBuilder Applications Modernization. 11 October About the Company Founded in 2002 Unites high-level information technology and organization.
Session Agenda  What is WebCRD?  The four ways to place an order  Placing an order from an application  Uploading a document  Placing a Catalog order.
10/12/20141Chem-160. Covalent Bonds 10/12/20142Chem-160.
1 Tips & Insights to Prepare for Sanitary Survey Inspections ( TIPSSI ) What to expect What to have on hand What to check For Florida’s Water Sector In.
10/22/20141 GDP and Economic Growth Chapter /22/20142 Outline Gross Domestic Product Gross Domestic Product Economic Growth Economic Growth.
Cohort Studies Afshin Ostovar Bushehr University of Medical Sciences Bushehr, /19/20141.
MarcEdit "A Closer Look at Productivity Tools” NETSL 2014 Apr. 11, pm.
Seven Levers for Higher & Deeper Learning Research-based Guidelines and Strategies A Keynote Session at the University of Guelph’s 27 th Annual Teaching.
Winlink Presentation (Week 2)
Propositional Predicate
Microprocessor or Microcontroller Not just a case of “you say tomarto and I say tomayto” M. Smith, ECE University of Calgary, Canada.
Lab 3 Details. Lab 3 Develop a bio-feedback system based on a PWM (pulse width modulated) thermal sensor Use temperature setting to control the delays.
Boot Issues Processor comparison TigerSHARC multi-processor system Blackfin single-core.
Thermal arm-wrestling Design of a video game using two programmable flags (PF) interrupts Tutorial on handling 2 Hardware interrupts from an external device.
Microprocessor or Microcontroller Not just a case of “you say tomarto and I say tomayto” M. Smith, ECE University of Calgary, Canada.
HD44780 LCD programming From the Hardware Side Design and implementation details on the way to a valid SPI-LCD interface driver.
LCD programming Design and implementation details on the way to a valid SPI-LCD interface driver.
Developing Tasks to use with a co-operative scheduler Ideas for Assignment 2 Lab. 2, 3 and 4 Review for Midterm on Lab. 2 Ideas of defects, errors and.
Microprocessor or Microcontroller Not just a case of “you say tomarto and I say tomayto” M. Smith, ECE University of Calgary, Canada.
Microprocessor or Microcontroller Not just a case of “you say tomarto and I say tomayto” M. Smith, ECE University of Calgary, Canada.
HD44780 LCD programming From the Hardware Side
The System Services way of doing Lab. 2 Task 8. What was Lab. 2 zActivate EBIU, Flash memory, Flash LED, GPIO flags zConnect light sensor to PF11 zEach.
Moving Arrays -- 1 Completion of ideas needed for a general and complete program Final concepts needed for Final Review for Final – Loop efficiency.
Multi-threaded projects Services and Drivers Alternate ways of doing Labs 1, 2, 3 and 4.
“Lab. 5” – Updating Lab. 3 to use DMA Test we understand DMA by using some simple memory to memory DMA Make life more interesting, since hardware is involved,
Developing Tasks to use with a co-operative scheduler Ideas for Assignment 2 Lab. 2, 3 and 4 Review for Midterm on Lab. 2 Ideas of defects, errors and.
HD44780 LCD programming From the Hardware Side
HD44780 LCD programming From the Hardware Side
Presentation transcript:

All of Lab. 4 using Services Audio, LED, GPIO, LightSensor, Thermal Sensors, LCD Code by A. Tran / M. Smith Talk by M. Smith with slides from D. Lannigan Analog Devices BOLD product

Complete Lab. 4 zThere is already enough information available to code the SPI (see last week of October Lectures) zHowever, we are going to compare the effort to get SPI going via services zEverything has to get changed to services 6/12/20142 / 28

6/12/20143 / 28

6/12/20144 / 28 All true, the third time you try using it However, thats what you do in an industrial environment

6/12/20145 / 28 All the non-hardware stuff from Lab. 1, 2 and 3 stays the same VDK All the hardware stuff from Lab. 1, 2 and 3 – better?

6/12/20146 / 28 ????? Also need to add the drivers

Step 1 – Look at main( ) 6/12/20147 / 28 Lots of concepts to understand

Look at Power Services Init 6/12/20148 / 28 We need to learn what new names to call registers Look up the required information in the Hardware Manual Place register names and values into a null terminate array Call a function (Power Equivalent of GPIO) that parses the array Essentially P0 = first thing, R0 = second thing, [P0] = R0; ssync;

No real difference from before – still need to know manual details AND more about services 6/12/20149 / 28

What needs to be done with SPI zWe need to set up LCD hardware to SPI interface – see previous lecture notes 6/12/ / 28

6/12/2014 SPI and LCD, Copyright M. Smith, ECE, University of Calgary, Canada 11 / 30 LCD Connection information z13 key connections

6/12/2014 SPI and LCD, Copyright M. Smith, ECE, University of Calgary, Canada 12 / 30 Data Bus Connections for LCD screen From CJ7 connector on Blackfin interface BQ0 BQ1 BQ2 BQ3 BQ4 BQ5 BQ6 BQ7

What needs to be done with SPI zWe need to set up LCD hardware to SPI interface – see previous lecture notes zThen we need to set up an array of commands and data to control LCD hardware – see previous lecture notes 6/12/ / 28

6/12/ / 28

What needs to be done with SPI zWe need to set up LCD hardware to SPI interface – see previous lecture notes zThen we need to set up an array of commands and data to control LCD hardware – see previous lecture notes zThen we need to set up the SPI services array with the required SPI settings – see previous lecture notes zThen we need to set up a DMA channel between the array and SPI registers – EH? zNow customize SPI service for LCD speed – EH? zWrite all code to translate array into LCD commands – EH? 6/12/ / 28

6/12/ / 28

SPI – DMA set up 6/12/ / 28 Already covered in October Lecture Notes OPEN DEVICE SET DEVICE MMR

6/12/ / 28

6/12/ / 28

6/12/ / 28

6/12/ / 28

6/12/ / 28

Describing a data buffer 6/12/ / 28

Code to init LCD 6/12/ / 28

Code for other commands Same as previous lectures, except function name 6/12/ / 28

Code to display temperature 6/12/ / 28

Code to cause Array DMA 6/12/ / 28

Proposed Lab. 4 – Demo-based zDemonstrate in class using services to do Labs. 1 and 2 z50% -- Connect LCD screen to logic lab and switches. Place commands in an array. Manually (using switches) send commands to LCD screen to show Happy 415 Christmas z30% -- Demonstrate Lab. 4 Temperature and Light sensor using – You will need to add a modified CalculateTemperature( ) from Lab. 3 and the PF9 service z20% -- Add a SPI SERVICE to transfer the commands from the Blackfin to the LCD 6/12/ / 28

Lab. 4 with SPI zYou can download the services code, change the array and then go with it. zDesign time – around a month across several years z60 hours of coding (LCD functionality) zAlberts time – 30 hours of straight coding (Services) – Albert had Texas Instruments services and drivers experience during 16 month internship zIt was easier the old way this time, but easier this way next time zLast year we had product tests, this year we dont. Debugging the services and drivers code – no idea 6/12/ / 28