CY8CKIT-001 Cypress Semiconductor Corp, CY8CKIT-001 Datasheet - Page 29

KIT DEV FOR PSOC3/5

CY8CKIT-001

Manufacturer Part Number
CY8CKIT-001
Description
KIT DEV FOR PSOC3/5
Manufacturer
Cypress Semiconductor Corp
Series
PSoC® CapSenser
Type
MCUr
Datasheets

Specifications of CY8CKIT-001

Contents
Board, CD, CY8C29 & CY8C38 Modules, MiniProg3 Programmer/Debugger, Power Supply
Processor To Be Evaluated
CY8C29, CY8C38
Interface Type
RS-232, USB, JTAG
Operating Supply Voltage
3.3 V, 5 V
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
For Use With/related Products
PSoC 1, PSoC 3 and PSoC 5
Lead Free Status / Rohs Status
Lead free / RoHS Compliant
Other names
428-2961

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
CY8CKIT-001A
Manufacturer:
Cypress Semiconductor
Quantity:
135
3.1.1.2
CY8CKIT-001 PSoC Development Kit Guide, Doc. # 001-48651 Rev. **
main.c
/**********************************************************************
* File Name: main.c
*
* Description:
*
*
*
*
**********************************************************************/
/**********************************************************************
*
*
*
*
*
*
*
*
*
*
*
*
*
*
************************************************************************/
#include <m8c.h>
#include “PSoCAPI.h”
unsigned int i;
void main()
{
}//End of main
This file provides source code for My First PSoC Project example.
The firmware blinks one LED at about 3.6Hz with a PWM, and blinks
another LED with a software timing loop.
// The following loop controls the software LED connected to P1.7
PWM Settings:
PWM8_1_Start();
LED_1_Start();
Input Clock
Enable
CompareOut
TerminalCountOut = None
Period
PulseWidth
CompareType
InterruptType
ClockSync
InvertEnable
while(1)
{
} //End of while(1)
for (i=0;i<60000;i++){}
//if on turn it off,
//if off turn it on
LED_1_Invert();//Switch the state of Software LED,
= VC3
= High
= ROW_0_Output_3
= 100
= 50
= Less Than Or Equal
= Terminal Count
= Sync to SysClk
= Normal
Clock) = 101/366.2 = .275sec or 3.6Hz
// part specific constants and macros
// PSoC API definitions for all User Modules
// Variable used for delay
// Turn on the PWM to blink LED on P0_7
// Enable Software controlled LED on P1_7
Output period = (Period+1)*(1/Input
//Delay is compiler and CPU dependant
//VC3 = 24MHz/16/16/256 =366.2Hz
Sample Projects
25
[+] Feedback

Related parts for CY8CKIT-001