2 Replies Latest reply on Oct 11, 2013 12:27 PM by dr..gal.ben.david

    GPIF as Master. Address Lines 15:12 GPIO 49:46

    dr..gal.ben.david
              I am trying to use the GPIF as 16 bit address/16 bit data bus non multiplexed. GPIF designer is enclosed. GPIF is initialized using the following code. io_cfg.isDQ32Bit = CyTrue; io_cfg.useUart = const_flag_enable_UART_disable_SPI; // Shay io_cfg.useI2C = CyTrue; io_cfg.useI2S = CyTrue; io_cfg.useSpi = CyFalse; // We do not use SPI for the time being. We use firmware generated pin switch io_cfg.lppMode = CY_U3P_IO_MATRIX_LPP_DEFAULT; io_cfg.s0Mode = CY_U3P_SPORT_INACTIVE; io_cfg.s1Mode = CY_U3P_SPORT_INACTIVE; // Table of enabled GPIOs io_cfg.gpioSimpleEn[0] = 0; io_cfg.gpioSimpleEn[1] = 0; io_cfg.gpioComplexEn[0] = 0; io_cfg.gpioComplexEn[1] = 0; status = CyU3PDeviceConfigureIOMatrix (&io_cfg);// IO matrix is not recommended to be dynamically changed. I am trying to set address bus using CY_U3P_PIB_GPIF_EGRESS_ADDRESS(0)=Address; The lower address lines 11:0 works well. The address line 15:12 always generate zero. Any idea what is the cause of the problem ?