Presentation is loading. Please wait.

Presentation is loading. Please wait.

2008 UCSD COSMOS PROGRAM EMBEDDED COMPUTER SYSTEMS LAB July, 2008 DR. CHOON KIM

Similar presentations


Presentation on theme: "2008 UCSD COSMOS PROGRAM EMBEDDED COMPUTER SYSTEMS LAB July, 2008 DR. CHOON KIM"— Presentation transcript:

1 2008 UCSD COSMOS PROGRAM EMBEDDED COMPUTER SYSTEMS LAB July, 2008 DR. CHOON KIM cbk@cs.ucsd.edu

2 LAB Room, Schedule and Kit Room : CSE 3219 LAB at EBU3B Schedule : Week 1 (7/7 - 7/11):Introduction & Assignment #1 Week 2 (7/14 - 7/18): Assignment #2 Week 3 (7/21 - 7/25): Assignment #3 Week 4 (7/28 - 8/1): Individual/Group project Dev. Kit : PSoCEval USB(CY3214) from Cypress Semiconductor Corporation 1980 UCSD COSMOS PROGRAMDR. CHOON KIM2

3 What is PSoC? PSoC = Programmable System-on-Chip A family of mixed-signal arrays made by Cypress Semiconductor Corporation A microcontroller and configurable integrated analog, digital, and communications peripherals. PSoC provides programmable mixed-signal controller functionality for embedded control applications. 1980 UCSD COSMOS PROGRAMDR. CHOON KIM3 C or Assembly language Analog and Digital M8C Microcontroller unit amplifiers, ADCs, DACs, filters, comparators timers, counters, PWMs I2C, SPI, UART, USB, etc

4 PSoC Eval USB 1980 UCSD COSMOS PROGRAMDR. CHOON KIM4 M8C MCU USB Port (to PC for communication with PC through USB) ISSP (to PC using MiniProg for downloading.hex) 2 Push button inputs 4 LED outputs LCD(16x2DM) Serial Port ICE-Cube Connector Joystick Reset Button CapSense Button & Slider input Speaker outputs Breadboard Power input (not used)

5 PSOC Design Flow 1980 UCSD COSMOS PROGRAMDR. CHOON KIM5 Design (using PSOC Designer and C or Assembly program) Design (using PSOC Designer and C or Assembly program) Downloading (using PSOC Programmer) Downloading (using PSOC Programmer) Test & Debugging (using Kit) Test & Debugging (using Kit) Working? Done NO YES.hex MiniProg Debugging

6 Introductory example: “Pushbutton and Light” Goal: Understand and practice the design flow Description: When you press the button, the LED will be on as follows When no button pressed, LED#1 on When PB1 pressed, LED#2 on When PB2 pressed, LED#3 on When both PB1 and PB2 pressed, LED#4 on 1980 UCSD COSMOS PROGRAMDR. CHOON KIM6


Download ppt "2008 UCSD COSMOS PROGRAM EMBEDDED COMPUTER SYSTEMS LAB July, 2008 DR. CHOON KIM"

Similar presentations


Ads by Google