EE251: Thursday October 11

Similar documents
SPI Serial Communication and Nokia 5110 LCD Screen

USER MANUAL Nokia 5110 LCD

ECE251 Intro to Microprocessors Final Exam December 14, 2015, 2 p.m.

Lecture 14: Computer Peripherals

Analog-to-Digital Converter

Design and implementation (in VHDL) of a VGA Display and Light Sensor to run on the Nexys4DDR board Report and Signoff due Week 6 (October 4)

Alice EduPad Board. User s Guide Version /11/2017

V6118 EM MICROELECTRONIC - MARIN SA. 2, 4 and 8 Mutiplex LCD Driver

Design and Implementation of an AHB VGA Peripheral

Alice EduPad for Tiva or MSP432 TI ARM Launchpad. User s Guide Version /23/2017

DOGM GRAPHIC SERIES. 128x64, 3.3V available in low quantity! flat: 5.6mm with LED b./l. mounted TECHNICAL DATA ORDERING CODE ACCESSORIES

LCD display module. graphic 122x32 dots

Design and Implementation of Timer, GPIO, and 7-segment Peripherals

A Combined Combinational-Sequential System

LCD display module. graphic 61x16 dots

DEM A VMH-PW-N 5 TFT

RF4432 wireless transceiver module

o The 9S12 has a 16-bit free-running counter to determine the time and event happens, and to make an event happen at a particular time

o The 9S12 has a 16-bit free-running counter to determine the time and event happens, and to make an event happen at a particular time

Thiscontrolerdatasheetwasdownloadedfrom htp:/ SSD1331. Advance Information

DOGM GRAPHIC SERIES 128x64 DOTS

EA DOGL128x-6 EA LED68X51-RGB

Lab #5: Design Example: Keypad Scanner and Encoder - Part 1 (120 pts)

S6B CH SEGMENT DRIVER FOR DOT MATRIX LCD

L, LTC, LTM, LT are registered trademarks of Linear Technology Corporation. Other product

64CH SEGMENT DRIVER FOR DOT MATRIX LCD

TV Character Generator

Video Graphics Array (VGA)

Rfid Based Attendance System

InfoVue OLED Display

Scans and encodes up to a 64-key keyboard. DB 1 DB 2 DB 3 DB 4 DB 5 DB 6 DB 7 V SS. display information.

ZR x1032 Digital Image Sensor

Product Specification

4.3inch 480x272 Touch LCD (B) User Manual

Lab Assignment 2 Simulation and Image Processing

2.13inch e-paper HAT (D) User Manual

Experiment # 4 Counters and Logic Analyzer

EM6126 EM MICROELECTRONIC - MARIN SA. Digitally programmable 65 and 81 multiplex rate LCD Controller and Driver. Features. Typical Applications

V DD V DD V CC V GH- V EE

Using the Siemens S65 Display

Hardware & software Specifications

EECS150 - Digital Design Lecture 12 - Video Interfacing. Recap and Outline

M66004SP/FP M66004SP/FP MITSUBISHI DIGITAL ASSP ASSP 16-DIGIT 5X7-SEGMENT VFD CONTROLLER 16-DIGIT 5 7-SEGMENT VFD CONTROLLER

Unit 3: Parallel I/O and Handshaking for LCD Control

IS01BFRGB LCD SmartDisplay from NKK Switches Simple implementation featuring the ATmega88PA from Atmel Complete software solution

Specifications for Thermopilearrays HTPA8x8, HTPA16x16 and HTPA32x31 Rev.6: Fg

1. Overview. SSI-1016G interfaces with 24, 25 and 26 bit Temposonics SSI sensor. Block diagram. as PNP open collector output

RF4432F27 wireless transceiver module

Good Evening! Welcome!

Uni700 LCD Controller

Using the Siemens S65 Display

Doc: page 1 of 5

DLP Pico Chipset Interface Manual

SPECIFICATION FOR APPROVAL

SSD1305. Advance Information. 132 x 64 Dot Matrix OLED/PLED Segment/Common Driver with Controller

DOGM GRAPHIC SERIES 132x32 DOTS

SmartSwitch TM. Wide View Compact LCD 64 x 32 Pushbutton DISTINCTIVE CHARACTERISTICS PART NUMBER & DESCRIPTION

Single Color OLED Display

Good Evening! Welcome!

DESIGN AND DEVELOPMENT OF A MICROCONTROLLER BASED PORTABLE ECG MONITOR

Experiment 8 Fall 2012

Vorne Industries. 2000B Series Buffered Display Users Manual Industrial Drive Itasca, IL (630) Telefax (630)

ME EN 363 ELEMENTARY INSTRUMENTATION Lab: Basic Lab Instruments and Data Acquisition

Checkpoint 2 Video Interface

Logic Analyzer Auto Run / Stop Channels / trigger / Measuring Tools Axis control panel Status Display

E M E - Antenna Controller System - OE5JFL. Block diagram

HT9B92 RAM Mapping 36 4 LCD Driver

STD. WM-G3224Y-1NFWe 1 謝德馨 廖顯盛 夏勝華 JUL JUL JUL

Table of Contents Introduction

ITEM CONTENTS UNIT. Note 1: RoHS compliant. Note 2: LCM weight tolerance: ± 5%.

CHAPTER1: Digital Logic Circuits

VFD Driver/Controller IC

EECS150 - Digital Design Lecture 13 - Project Description, Part 3 of? Project Overview

ANDpSi025TD-LED 320 x 240 Pixels TFT LCD Color Monitor

Experiment 7 Fall 2012

KRAMER ELECTRONICS LTD. USER MANUAL

Using the HT1628 for Washing Machine Panel Display

C8000. sync interface. External sync auto format sensing : AES, Word Clock, Video Reference

OLED Display Full Screen Color Pushbutton

DEM N1 TMH-PW-N

FPGA 设计实例 基于 FPGA 的图形液晶显示面板应用. Graphic LCD panel. FPGAs make great video controllers and can easily control graphic LCD panels.

SparkFun Camera Manual. P/N: Sense-CCAM

QuasarBrite Dot Matrix LED Display

Displays. AND-TFT-7PA-WV 1440 x 234 Pixels LCD Color Monitor. Features

Part No. ENC-LAB01 Users Manual Introduction EncoderLAB

AP Statistics Sec 5.1: An Exercise in Sampling: The Corn Field

Bel 2120B. Analogue/AES/SDI Shuffler. User s Guide Version /05/04

Outline Dimension. View Angle

VFD Driver/Controller IC

AP Statistics Sampling. Sampling Exercise (adapted from a document from the NCSSM Leadership Institute, July 2000).

VGA Controller. Leif Andersen, Daniel Blakemore, Jon Parker University of Utah December 19, VGA Controller Components

FPGA Laboratory Assignment 4. Due Date: 06/11/2012

Note 1: RoHS compliant. Note 2: LCM weight tolerance: ± 5%.

V DD1 V CC - V GL Operating Temperature T OP

Specification for HTPA32x31L10/0.8HiM(SPI) Rev.4: Fg

Device: LDP This document Version: 1.1. Date: July Description: 64x16 1R1G LED Display Panel

NanoCom ADS-B. Datasheet An ADS-B receiver for space applications

CPE 329: Programmable Logic and Microprocessor-Based System Design

medlab One Channel ECG OEM Module EG 01000

Programmable High Resolution LCD Switches

Transcription:

EE251: Thursday October 11 Mid-Term Exam Comments and Statistics SSI Serial I/O: continued as needed Nokia 5110 Graphics Subsystem SSI Interface to the 5110 Key Part of Lab #5 Use of Logic Analyzer, also key part of Lab #5 HW #4 Due October 18 Lab #4 Due Next Week Week of October 15 Lab #5 (Serial I/O) Begins Next Week You are Encouraged to Partner in Labs #5 - #8 Lecture #16 1

Mid-Term Exam Too Long! Points Lost on Questions 1 and 4 reduced to compensate for lost time. Grades and Statistics are online. Course (but not exam) grades will be curved. A Passing Course Grade is still available to all students enrolled if you got a low exam grade, Don t Give Up! Will review some exam questions in class. Lecture #16 2

Mid-Term Exam Statistics Mean: 78.1 Median: 77.8 Max: 98.2 Min: 53.2 Question #1 #2 #3 #4 #5 EXAM Total Points 22 25 24 24 5 100 AVERAGE 16.8 20.5 17.4 19.3 3.1 78.1% STD DEV 2.2 4.6 3.6 2.6 1.4 10.1% Decile Grades: 100 98.2 90 91.3 80 86.8 70 83.2 60 80.3 50 77.8 40 76.3 30 73.3 20 68.8 10 64.3 0 53.2 We ll go over Decile Grades in class right now.

Resources for 5110 Display Lab #5 Writeup: A good explanation of how the 5110 is connected and used The 5110 Data Sheet: Available on our lab web page and has excellent, detailed information about interfacing and using the Nokia 5110 Valvano s text, Vol. 1, Section 8.4: Good Nokia software from Valvano on our lab web page: It is in C, but it could be helpful. Lecture #16 4

Nokia Interface to TM4C ------------------------------------------ Signal (Nokia 5110) TIVA Pin ------------------------------------------ 3.3V (VCC, pin 1) power Ground (GND, pin 2) ground SSI0Fss (SCE, pin 3) connected to PA3 (SSI) Serial Frame Pin Reset (RST, pin 4) connected to PA7 (GPIO) Data/Command (D/C, pin 5) connected to PA6 (GPIO) SSI0Tx (DN, pin 6) connected to PA5 (SSI) MOSI Serial Data SSI0Clk (SCLK,pin 7) connected to PA2 (SSI) Clock signal to Nokia back light (LED, pin 8) do not connect Lecture #16 5

5110 Data/Control Information The 5110 can receive either Data or Control signals from the TM4C. Which of these is being sent is determined by the DC signal from the TM4C. If DC=1, it is data; if DC =0, it is control. The 5110 looks at this signal ONLY during the last bit of a byte of data/control info being sent. Note the 5110 signal names are not identical to the TM4C SCLC SSInClk SCE* SSInFss SDIN SSInTx The Reset (not shown) and DC signals are TM4C GPIO signals, not SSI signals. Lecture #16 6

5110 Display Structure Display is 84 x 48 pixels, and each character is 6 x 8 That s 14 characters on each of 6 rows of display 5110 Display Memory is set up as shown below, with each address representing an entire column of one character Sequential write of bytes can increment by either X or Y address, under program control. X address incrementing is best used for characters and Y address for images. Note that X addresses increment to the right addresses (and bits with a byte) increment downward. Lecture #16 7

Sequential Writes by X Address Used for writing alphanumeric information. 8-bit columns at address 0,1,2,3,4 create an alphanumeric character, followed by an empty column at address 5. Row 1 Row 2 Row 3 Row 4 Row 5 Row 6 Lecture #16 8

Sequential Writes by Y Address Used for writing graphical information. A column of 8 pixels are written at address 0, followed by 1,2,3,4, and 5 giving a column of 48 pixels. Process is repeated to right 83 times to give a 48x84 pixel display. Lecture #16 9

5110 Display Controller Instruction Set Lecture #16 10

5110 Display Setup First: Reset the display by holding the Reset pin low for 100ms Hold DC low (Command) and send the following commands: 0x21 PD=0, V=0, Extended Instruction Set 0x90 Set V op (operating voltage of LCD) 0x20 Normal Instruction Set; horizontal (character) addressing* 0x0C Display control set normal mode Set DC high (Data) and send character data row-by-row To change address of active pixels send these Commands: Now character or graphic data can now be sent to the display starting at this new location. * For vertical addressing (graphics), send command 0x22 instead Lecture #16 11

5110 Display Process-Characters To display characters, send bytes of data representing 6 columns of pixels (left to right) using automatic X address incrementing. Lab #5 includes a table to create display characters (pixels) from ASCII. For Example, F, 0x46, is represented by 0x7f, 0x09, 0x09, 0x09, 0x01 0x00 Least significant bit Most significant bit Lecture #16 12

5110 Display Process-Images To display an image, send bytes of data for the entire vertical leftmost column using automatic Y address incrementing. If doing this for entire screen, continue process for all 84 columns. If doing this for a smaller rectangular image, you need to increment the X and reset the Y addresses after each column of data sent. Lab #8 has included an entire image for your enjoyment to display on your 5110. Lecture #16 15

New Measurement Tool: Logic Analyzer Captures and displays multiple signals from a digital system. See Agilent 16902A Logic Analyzer below Lecture #16 16

A Simpler, Less Expensive Method Lab #5 uses the Digilent Analog Discovery 2 system to measure the signals between the TM4C and the Nokia 5110 display A visual understanding of these signals timings You will explain these signals to your TA Lecture #16 17

Using this Logic Analyzer This analyzer will be used to simultaneously display: Data/Command (PA6) MOSI Serial Data (PA5) Clock (PA2) Serial Frame Pin, Fss (PA3) Lecture #16 18

Analog Discovery Zoomed Out Analog Discovery Zoomed In Lecture #16 19

Analog Discovery Really Zoomed In Lecture #16 20

Really Really Zoomed In Lecture #16 21

Using the Logic Analyzer Logic Analyzer software is available on lab computers. If running this on your own computer, the Analog Discovery 2 software must be loaded Lab #5 describes how to use Analog Discovery 2 YouTube: Analog Discovery Logic Analyzer (Video #12) In Lab #5 you will need to demonstrate to your TA: The four key digital signals simultaneously Basic proficiency in use of the tool in this lab, such as explaining the meaning of each of the signal levels and signal values showing how to change sampling time and total sample time. Key part of lab--not optional Lecture #16 22

Summary NOKIA 5110 functionality Interconnection of 5110 to the TM4C Analog Discovery 2 Logic Analyzer Next Lecture: Analog to Digital Conversion aka ATD aka A/D aka ADC Chapter 20 in text (20.1, 20.2 carefully; skim the rest) Section 14 in TM4C Data Sheet Lab #6, week of October 23. Likely question(s) on Final Exam Be Prepared for Quiz on Nokia or ATD or Both Lecture #16 23