Presentation is loading. Please wait.

Presentation is loading. Please wait.

Check 2 - PWM Announcements Overview LED Board PWM What’s due: Prelab Lab.

Similar presentations


Presentation on theme: "Check 2 - PWM Announcements Overview LED Board PWM What’s due: Prelab Lab."— Presentation transcript:

1 Check 2 - PWM Announcements Overview LED Board PWM What’s due: Prelab Lab

2 Announcements 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.exe See Readme file.

3 Data Path For Checkpoint 2 PWM Block Switch Bank 5 LED Board ROMUART SRAMMode 1 FSM

4 Very simple Wait for a header Write 10x14 = 140 bytes to SRAM Enable PWM until reset is asserted K.I.S.S.

5 LED Board Protocol Inputs DATAOUT, CLKOUT, DISPE_H Hex row digit 14 binary Column digits Row3Row2 Row1Row0Col0 Col1 Col2Col3Col8Col9 Col10 Col11Col4Col5Col6 Col7 Col12 Col13 DATAOUT CLKOUT

6 LED Board CLKOUT >> 19.2 kHz 8,9,10 MHz are good CLKOUT DISPE_H

7 Pulse Width Modulation 3 LED 2 LED 1 Time

8 PWM Example Brightness = 4 / 31 012345678 ON OFF 5 9

9 Debugging Tips Works 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.

10 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 image


Download ppt "Check 2 - PWM Announcements Overview LED Board PWM What’s due: Prelab Lab."

Similar presentations


Ads by Google