cancel
Showing results for 
Search instead for 
Did you mean: 

USB Superspeed Peripherals

Anonymous
Not applicable

FX3

   

I have a  complex GPIO set as a 1HZ timer with interrupt.  I get the interrupt until I start sending messages.

   

Below is the GIO configuration. 

   

    /* Configure GPIO 33 as 1PPS input */
    ppsGpioConfigComplex.outValue    = CyFalse;
    ppsGpioConfigComplex.inputEn     = CyFalse;
    ppsGpioConfigComplex.driveLowEn  = CyFalse;
    ppsGpioConfigComplex.driveHighEn = CyFalse;
    ppsGpioConfigComplex.intrMode    = CY_U3P_GPIO_INTR_TIMER_THRES; 
    ppsGpioConfigComplex.period      = 192000000; 
    ppsGpioConfigComplex.pinMode     = CY_U3P_GPIO_MODE_STATIC;
    ppsGpioConfigComplex.threshold   = 192000000; 
    ppsGpioConfigComplex.timer       = 0;           // Timer initial value
    ppsGpioConfigComplex.timerMode   = CY_U3P_GPIO_TIMER_HIGH_FREQ;
    apiRetStatus = CyU3PGpioSetComplexConfig(PPS_MONITOR, &ppsGpioConfigComplex);

0 Likes
Reply
1 Reply
Anonymous
Not applicable

Found Workaround.

   

If I change CY_U3P_GPIO_INTR_TIMER_THRES to CY_U3P_GPIO_INTR_TIMER_ZERO I get the interrupts after I start my messages.

   

This does not answer why CY_U3P_GPIO_INTR_TIMER_THRES does not work after starting my message transfers.

0 Likes
Reply