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

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
74
* Parameters:
*
*
* Return:
*
*
******************************************************************************/
void main()
{
zero */
are zero */
void
void
ADC_StartConvert(); /* Force ADC to initiate a conversion */
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 */
/* Print Label for the pot voltage raw count */
CharLCD_PrintString("V Count: ");
CyDmaTdSetConfiguration(myTd, sizeof(voltageWave),
/* Copy address of voltageWave to address of DAC. Set the lower 16 bits of */
/* the source and destination addresses for this TD */
CyDmaTdSetAddress(myTd, (uint16) voltageWave, DAC_viDAC8__D);
/* Associate TD with channel */
CyDmaChSetInitialTd(myChannel, myTd);
/* Enable DMA channel */
CyDmaChEnable(myChannel, 1);
/* Clock will make burst requests to the DMAC */
DMAclock_Enable();
while(1)
{
/* ADC count errata workaround */
ADC_IsEndConversion(ADC_WAIT_FOR_RESULT); /* Wait for end of conversion */
voltageRawCount = ADC_GetResult16(); /* Get conversion result */
/* Configure and power up ADC */
/* Initialize and clear the LCD */
/* Initializes VDAC8 with default values */
/* Enable UART */
/* Enable Analog Buffer and sets power level */
myTd, TD_INC_SRC_ADR ); /* Configure the TD */
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