1 Reply Latest reply on Aug 6, 2020 12:30 AM by MallikaK_41

    CYPD3171-24LQXQ_pb add I2C master, but build fail

    HuEd_3452391

      Hello

       

      I'm using CYPD3171-24LQXQ_pb, and set CCG_TYPE_A_PORT_ENABLE to 0u in stack_params.h, then delete the whole TypeA Page in TopDesign.cysch -> Build successfully

       

      Create a new page as I2C on TopDesign.cysch , Drag A I2C Component as master to I2C page, then assign sda to pin7, scl to pin8

      -> Build successfully

       

      Add below code to main.c after ccg_app_task_init ();

       

          SCB_I2C_INIT_STRUCT config;

          SCB_I2CInit(&config);

       

      -> then Build fail, any steps i missing? Please help to check the procedure I apply, Thanks

       

      Source : CYPD3171-24LQXQ_pb_i2cmaster.7z - Google Drive

       

       

      Regards

       

      Edward