Question for GPIF II QD32

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Anonymous
Not applicable

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);

0 Likes
3 Replies
Anonymous
Not applicable

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.

0 Likes
lock attach
Attachments are accessible only for community members.
Anonymous
Not applicable

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.

0 Likes
Anonymous
Not applicable
        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.   
0 Likes