2008 UCSD COSMOS PROGRAM EMBEDDED COMPUTER SYSTEMS LAB July, 2008 DR. CHOON KIM
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
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 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
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)
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
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