60 likes | 198 Views
2008 UCSD COSMOS PROGRAM EMBEDDED COMPUTER SYSTEMS LAB. July, 2008 DR. CHOON KIM cbk@cs.ucsd.edu. 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
E N D
2008 UCSD COSMOS PROGRAMEMBEDDED COMPUTER SYSTEMS LAB July, 2008 DR. CHOON KIM cbk@cs.ucsd.edu
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 DR. CHOON KIM
What is PSoC? C or Assembly language amplifiers, ADCs, DACs, filters, comparators Analog and Digital timers, counters, PWMs M8C Microcontroller unit I2C, SPI, UART, USB, etc PSoC = ProgrammableSystem-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. DR. CHOON KIM
PSoC Eval USB LCD(16x2DM) Speaker outputs Power input (not used) ISSP (to PC using MiniProg for downloading .hex) Serial Port 2 Push button inputs ICE-Cube Connector 4 LED outputs Joystick Breadboard M8C MCU USB Port (to PC for communication with PC through USB) Reset Button CapSense Button & Slider input DR. CHOON KIM
PSOC Design Flow Design (using PSOC Designer and C or Assembly program) .hex Downloading (using PSOC Programmer) MiniProg Test & Debugging (using Kit) Debugging NO Working? YES Done DR. CHOON KIM
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 DR. CHOON KIM