EOC Output - Cypress.com Forums http://www.cypress.com/? Re: EOC Output http://www.cypress.com/?rID=47784 Hello Keith,

 

Please refer to this KB article for the issue. Basically this is a bug in the ES2 silicon and has been corrected in the ES3 Silicon.

 

Regards,

Kishore.

]]>
Tue, 28 Dec 2010 21:44:57 -0600
Re: EOC Output http://www.cypress.com/?rID=47693 Hi Keith,

 

Can you please let us know the revision of the PSoC3 Silicon you are using?

Is that ES2 or ES3?

 

Regards,

dasg

]]>
Sun, 26 Dec 2010 12:21:29 -0600
Re: EOC Output http://www.cypress.com/?rID=47408 All,

I still don't konw why the wiring of the EOC output to a pin doesn't work, .....but..... for those of you that might run into this problem, here is what I did.  I let the ADC generate an EOC interrupt, and inside the IRQ routine, I set the pin HI and LO and that seems to work.

part of main.c program

void main()
{

    CYGlobalIntEnable;           /* Enable all interrupts */
    
    ADC_DelSig_1_Start();        /* Configure and power up ADC                     */
    ADC_DelSig_1_IRQ_Enable();   /* Enable the ADC to perform an IRQ after the EOC */   
    ADC_DelSig_1_StartConvert(); /* Force ADC to initiate a conversion             */
  ........

 

part of ADC_DelSig_1_INT.c program (my inturrupt portion)

/*****************************************************************************
* Function Name: ADC_DelSig_1_ISR1
******************************************************************************
*
* Summary:
*  Handle Interrupt Service Routine. 
*
* Parameters: 
*  void
*
* Return:
*  void
*
* Reentrant:
*  No
*
*****************************************************************************/
CY_ISR( ADC_DelSig_1_ISR1)
{
    /***************************************************************************
    *  Custom Code
    *  - add user ISR code between the following #START and #END tags
    **************************************************************************/
    /* `#START MAIN_ADC_ISR1`  */
   
    /* toggle the output pin for testing purposes */

    LED2_Write(1);
    LED2_Write(0);
   

    /* `#END`  */
   
    /* Stop the conversion if Cnversion_Stop variable is set */
    if (stopConversion == 1)
    {
        ADC_DelSig_1_StopConvert();
    }          
   
    /* PSoC3 ES1, ES2 RTC ISR PATCH  */
    #if(CYDEV_CHIP_MEMBER_USED == CYDEV_CHIP_MEMBER_3A)
        #if((CYDEV_CHIP_REVISION_USED <= CYDEV_CHIP_REVISION_3A_ES2) && (ADC_DelSig_1_IRQ__ES2_PATCH ))     
            ADC_DelSig_1_ISR_PATCH();
        #endif
    #endif   
   
}

 

 

 
 

]]>
Thu, 09 Dec 2010 11:06:03 -0600