DOC PREVIEW
Berkeley COMPSCI 150 - CS 150 Check 2 - PWM

This preview shows page 1-2-3 out of 10 pages.

Save
View full document
View full document
Premium Document
Do you want full access? Go Premium and unlock all 10 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 10 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 10 pages.
Access to all documents
Download any document
Ad free experience
Premium Document
Do you want full access? Go Premium and unlock all 10 pages.
Access to all documents
Download any document
Ad free experience

Unformatted text preview:

Check 2 - PWMAnnouncementsData Path For Checkpoint 2Mode 1 FSMLED Board ProtocolLED BoardPulse Width ModulationPWM ExampleDebugging TipsDue next weekCheck 2 - PWM•Announcements•Overview•LED Board•PWMWhat’s due:•Prelab•LabAnnouncements•Checkpoint 2 handout has suggestions for the lab.•Corrections to older versions of checkpoint 2: •Add lab9pinout.sch and lab9 LIB file.•Wire wrap LED board •To test Mode 1, use :U:\WVLIB\Transmitter\Transmitter.exeSee Readme file.Data Path For Checkpoint 2PWM BlockSwitch Bank 5LED BoardROMUARTSRAMMode 1 FSMMode 1 FSM•Very simple•Wait for a header•Write 10x14 = 140 bytes to SRAM•Enable PWM until reset is asserted•K.I.S.S.LED Board Protocol•LED Board Protocol•Inputs DATAOUT, CLKOUT, DISPE_HHex row digit14 binary Column digitsRow3Row2Row1Row0Col0Col1Col2Col3Col8Col9Col10Col11Col4Col5Col6Col7Col12Col13DATAOUTCLKOUTLED Board •CLKOUT >> 19.2 kHz•8,9,10 MHz are goodCLKOUTDISPE_HPulse Width Modulation3LED 2LED 1TimeTimePWM ExampleBrightness = 4 / 310 1 2 3 4 5 6 7 8ONOFF59Debugging TipsWorks in sim, but not in hardware!! What now?•Run the TA bit file to verify hardware.•U:\wvlib\cs150\lab9.bit•Verify on oscilloscope that clkout is glitch-free.•Use NUMLED1 to output debugging signals such as state.Due next week•Prelab•Complete State Transition Diagrams for entire project.•PWM and Mode 1 schematics, test scripts and waveform results.•Lab•Display image from Transmitter program•Partial credit for still image, grey-scale


View Full Document

Berkeley COMPSCI 150 - CS 150 Check 2 - PWM

Documents in this Course
Lab 2

Lab 2

9 pages

Debugging

Debugging

28 pages

Lab 1

Lab 1

15 pages

Memory

Memory

13 pages

Lecture 7

Lecture 7

11 pages

SPDIF

SPDIF

18 pages

Memory

Memory

27 pages

Exam III

Exam III

15 pages

Quiz

Quiz

6 pages

Problem

Problem

3 pages

Memory

Memory

26 pages

Lab 1

Lab 1

9 pages

Memory

Memory

5 pages

Load more
Download CS 150 Check 2 - PWM
Our administrator received your request to download this document. We will send you the file to your email shortly.
Loading Unlocking...
Login

Join to view CS 150 Check 2 - PWM and access 3M+ class-specific study document.

or
We will never post anything without your permission.
Don't have an account?
Sign Up

Join to view CS 150 Check 2 - PWM 2 2 and access 3M+ class-specific study document.

or

By creating an account you agree to our Privacy Policy and Terms Of Use

Already a member?