2 Replies Latest reply on May 5, 2017 4:53 AM by 志豪.林

    question about FX3S DVK

    志豪.林

      When I use control center to load code to I2C EEPROM at PATRON FX-3S DEV board the error message "programming the I2C EEPROM failed" always occur.

         

      I checked I2C address at PATRON FX-3S DEV board and the address was different with  setup at CYUSB3KIT-001.

         

      Have any adjustments for I2C EEPROM address on control center? or Have any method to solve the error? 

         

      and

         

      May I let S0 and S1 port both run on 8bit mode?

         

      io_cfg.isDQ32Bit        = CyFalse;
          io_cfg.s0Mode           = CY_U3P_SPORT_8BIT;
          io_cfg.s1Mode           = CY_U3P_SPORT_8BIT;
          io_cfg.gpioSimpleEn[0]  = 0;
          io_cfg.gpioSimpleEn[1]  = 0x02102800;                       /* IOs 43, 45, 52 and 57 are chosen as GPIO. */
          io_cfg.gpioComplexEn[0] = 0;
          io_cfg.gpioComplexEn[1] = 0;
          io_cfg.useUart          = CyFalse;
          io_cfg.useI2C           = CyFalse;
          io_cfg.useI2S           = CyFalse;
          io_cfg.useSpi           = CyFalse;
          io_cfg.lppMode          = CY_U3P_IO_MATRIX_LPP_UART_ONLY;
          status = CyU3PDeviceConfigureIOMatrix (&io_cfg);

         

      When I use this Configure , FX3S dev board was boot fail.

         

      Did I set wrong configure? or forgot something?