Hello, The line you provided references pointers created inside the payloadGet function. You should replace generic API pointer (p_i2c_api) with pointer specific to the I2C instance you created, i.e. g_i2c0.p_api. Similarly, control structure should be g_i2c0.p_ctrl, provided the symbol for your i2c instance is specified as g_i2c0. Regards
↧