3 Replies Latest reply on Jul 23, 2013 2:32 AM by userc_39074

    Question for GPIF II QD32

      Hi,

         

      I use GPIF II (master async mode) to access external device, the signals of DQ0-DQ27 are OK, but DQ28-DQ31 is not work! no signal be sent out.  anyone can help me?

         

      here is my init code:

         

          io_cfg.useUart   = CyTrue;
          io_cfg.useI2C    = CyFalse;
          io_cfg.useI2S    = CyFalse;
          io_cfg.useSpi    = CyFalse;

          io_cfg.isDQ32Bit = CyTrue;
          io_cfg.lppMode   = CY_U3P_IO_MATRIX_LPP_DEFAULT;
       

          /* No GPIOs are enabled. */
          io_cfg.gpioSimpleEn[0]  = 0;
          io_cfg.gpioSimpleEn[1]  = 0;
          io_cfg.gpioComplexEn[0] = 0;
          io_cfg.gpioComplexEn[1] = 0;
          status = CyU3PDeviceConfigureIOMatrix (&io_cfg);

        • 1. Re: Question for GPIF II QD32

          Hi,

             

          Initialization looks fine.

             

          Please let me know the hardware board that you are using.

             

          Are you using FX3 DVK?

             

          Are you probing the lines GPIO[46] to 49.

             

          Thanks,

             

          sai krishna.

          • 2. Re: Question for GPIF II QD32

            Yes,I use Fx3 DVK.

               

            The sdk version is 1.2.3, Gpif2 designer version is 1.0.837.1

               

            I probe R49  with oscilloscope, it keep low.

               

            the attach file is my gpif interface, I use COUNT_ADDR to check the address lines.

               

            thanks for reply.

            • 3. Re: Question for GPIF II QD32
                      Hi, Please change your initialization code as shown below: io_cfg.useUart = CyTrue; io_cfg.useI2C = CyFalse; io_cfg.useI2S = CyFalse; io_cfg.useSpi = CyFalse; io_cfg.isDQ32Bit = CyTrue; io_cfg.lppMode = CY_U3P_IO_MATRIX_LPP_UART_ONLY; /* No GPIOs are enabled. */ io_cfg.gpioSimpleEn[0] = 0; io_cfg.gpioSimpleEn[1] = 0; io_cfg.gpioComplexEn[0] = 0; io_cfg.gpioComplexEn[1] = 0; status = CyU3PDeviceConfigureIOMatrix (&io_cfg); Thanks, sai krishna.