Upload
neil-hardy
View
212
Download
0
Embed Size (px)
Citation preview
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 #2Week 3 (7/21 - 7/25): Assignment #3Week 4 (7/28 - 8/1): Individual/Group project
Dev. Kit : PSoCEval USB(CY3214) from Cypress Semiconductor Corporation
1980 UCSD COSMOS PROGRAM DR. CHOON KIM 2
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 PROGRAM DR. CHOON KIM 3
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 PROGRAM DR. CHOON KIM 4
M8C MCU
USB Port(to PC for
communication with PCthrough 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 PROGRAM DR. CHOON KIM 5
Design(using PSOC Designer and C or Assembly program)
Downloading(using PSOC Programmer)
Test & Debugging(using Kit)
Working?
Done
NO
YES
.hex
MiniProg
De
bu
gg
ing
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 PROGRAM DR. CHOON KIM 6