Hi Dialog,
During development of I2c peripherals of DA14681 custom board, we have HW & SW settings below:
1, we use two channel of I2C, 4.7K pull-up resistor for both SCL and SDA
2, we have HW interface settings in PXP project:
hw_gpio_set_pin_function(CFG_GPIO_I2C1_SCL_PORT,CFG_GPIO_I2C1_SCL_PIN,HW_GPIO_MODE_OUTPUT,HW_GPIO_FUNC_I2C_SCL);
hw_gpio_set_pin_function(CFG_GPIO_I2C1_SDA_PORT,CFG_GPIO_I2C1_SDA_PIN,HW_GPIO_MODE_INPUT,HW_GPIO_FUNC_I2C_SDA);
hw_gpio_set_pin_function(CFG_GPIO_I2C2_SCL_PORT,CFG_GPIO_I2C2_SCL_PIN,HW_GPIO_MODE_OUTPUT,HW_GPIO_FUNC_I2C2_SCL);
hw_gpio_set_pin_function(CFG_GPIO_I2C2_SDA_PORT,CFG_GPIO_I2C2_SDA_PIN,HW_GPIO_MODE_INPUT,HW_GPIO_FUNC_I2C2_SCL);
routines run correctly, we can found pxp signal, but V18 rail is about 3V, close to battery voltage ( we use CR2450 coin battery)
My question is, is there any impact to system for this abnormal voltage? Currently we have 2 I2C peripherals working in run mode. Current Consumption measured
is 1.5ma ( 16MHZ) in run mode and 17ua in sleep mode. It seems a little bit wierd for 1.5ma consumption because last time we have 600ua measured without peripherals.
Thanks.
Hi auzzz,
Perhaps you have configured the pins that you have connected the I2C as a 1.8V and you have connected the external pull-ups to the 3V3 rail, that would result to the effects that you are seeing (1V8 to the voltage of the 3V3) or there is something that results as a loopback between the 1V8 and the 3v3 on your custom board. Also can you perform some measurements without the debugger attached (in case that you had the JTAG attached in the previous measurements).
Thanks MT_dialog