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

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
Sample Projects
60
0x92, 0x91, 0x90,
0x82, 0x81, 0x80,
0x72, 0x71, 0x70,
0x62, 0x61, 0x60,
0x52, 0x51, 0x50,
0x42, 0x41, 0x40,
};
/*******************************************************************************
* Function Name: main
********************************************************************************
*
* Summary:
*
*
*
*
*
*
*
* Parameters:
*
*
* Return:
*
*
******************************************************************************/
void main()
{
zero */
are zero */
void
void
0x9F, 0x9E, 0x9D, 0x9C, 0x9B, 0x9A, 0x99, 0x98, 0x97, 0x96, 0x95, 0x94, 0x93,
0x8F, 0x8E, 0x8D, 0x8C, 0x8B, 0x8A, 0x89, 0x88, 0x87, 0x86, 0x85, 0x84, 0x83,
0x7F, 0x7E, 0x7D, 0x7C, 0x7B, 0x7A, 0x79, 0x78, 0x77, 0x76, 0x75, 0x74, 0x73,
0x6F, 0x6E, 0x6D, 0x6C, 0x6B, 0x6A, 0x69, 0x68, 0x67, 0x66, 0x65, 0x64, 0x63,
0x4F, 0x4E, 0x4D, 0x4C, 0x4B, 0x4A, 0x49, 0x48, 0x47, 0x46, 0x45, 0x44, 0x43,
0x5F, 0x5E,0x5D, 0x5C,0x5B, 0x5A, 0x59, 0x58, 0x57, 0x56, 0x55, 0x54, 0x53,
0x3F, 0x3E, 0x3D
The main function initializes the ADC, LCD, VDAC, Analog Buffer, and UART.
It also initializes DMA by allocating/configuring a DMA channel and
Transaction Descriptor and also copies the voltage table address to the DAC
address. In the main loop, it starts and waits for an ADC conversion, then
it displays the ADC raw count to the LCD, transmits the raw count serially,
and sets the DMA clock divider proportional to the raw count.
uint16 voltageRawCount;
uint8 myChannel, myTd;
ADC_Start();
CharLCD_Start();
DAC_Start();
OpAmp_Start();
UART_Start();
CyDmacConfigure(); /* Set DMA configuration register */
/* Allocate and initialize a DMA channel to be used by the caller */
myChannel = DMA_DmaInitialize(1,
/* Allocate a Transaction Descriptor (TD) from the free list */
myTd = CyDmaTdAllocate();
CharLCD_Position(0,0); /* Move the LCD cursor to Row 0, Column 0 */
/* Configure and power up ADC */
/* Initialize and clear the LCD */
/* Initializes VDAC8 with default values */
/* Enable UART */
/* Enable Analog Buffer and sets power level */
CY8CKIT-001 PSoC Development Kit Guide, Doc. # 001-48651 Rev. **
0); /* Upper 16 bits of the destination address
1,
0,
/* Bursts are one byte each */
/* One request per burst */
/* Upper 16 bits of the source address are
[+] Feedback

Related parts for CY8CKIT-001