6 posts / 0 new
Last post
loof5
Offline
Last seen:2 years 10 months ago
Joined:2016-10-26 09:54
14583功耗问题

您好!
  我遇到一个功耗问题,我自己设计的电路板,上面有两个i2c器件,和稳压电路。以开始,芯片启动后,工作电流很大,加上以下代码后,降下来许多

GPIO_ConfigurePin( GPIO_PORT_0, GPIO_PIN_0, INPUT, PID_GPIO, false );
GPIO_ConfigurePin( GPIO_PORT_0, GPIO_PIN_1, INPUT, PID_GPIO, false );
GPIO_ConfigurePin( GPIO_PORT_0, GPIO_PIN_2, INPUT, PID_GPIO, false );
GPIO_ConfigurePin( GPIO_PORT_0, GPIO_PIN_3, INPUT, PID_GPIO, false );
GPIO_ConfigurePin( GPIO_PORT_0, GPIO_PIN_6, INPUT, PID_GPIO, false );
GPIO_ConfigurePin( GPIO_PORT_0, GPIO_PIN_7, INPUT, PID_GPIO, false );

GPIO_ConfigurePin( GPIO_PORT_1, GPIO_PIN_0, INPUT, PID_GPIO, false );
GPIO_ConfigurePin( GPIO_PORT_1, GPIO_PIN_1, INPUT, PID_GPIO, false );
GPIO_ConfigurePin( GPIO_PORT_1, GPIO_PIN_2, INPUT, PID_GPIO, false );
GPIO_ConfigurePin( GPIO_PORT_1, GPIO_PIN_3, INPUT, PID_GPIO, false );
GPIO_ConfigurePin( GPIO_PORT_1, GPIO_PIN_4, INPUT, PID_GPIO, false );
GPIO_ConfigurePin( GPIO_PORT_1, GPIO_PIN_5, INPUT, PID_GPIO, false );

//SetBits16(P2_PADPWR_CTRL_REG,0x03FF, 0x00);

GPIO_ConfigurePin( GPIO_PORT_2, GPIO_PIN_0, INPUT, PID_GPIO, false );
GPIO_ConfigurePin( GPIO_PORT_2, GPIO_PIN_1, INPUT, PID_GPIO, false );
GPIO_ConfigurePin( GPIO_PORT_2, GPIO_PIN_2, INPUT, PID_GPIO, false );
GPIO_ConfigurePin( GPIO_PORT_2, GPIO_PIN_3, INPUT, PID_GPIO, false );
GPIO_ConfigurePin( GPIO_PORT_2, GPIO_PIN_4, INPUT, PID_GPIO, false );
GPIO_ConfigurePin( GPIO_PORT_2, GPIO_PIN_5, INPUT, PID_GPIO, false );
GPIO_ConfigurePin( GPIO_PORT_2, GPIO_PIN_6, INPUT, PID_GPIO, false );
GPIO_ConfigurePin (GPIO_PORT_2 GPIO_PIN_7、输入、PID_GPIO, false );
GPIO_ConfigurePin( GPIO_PORT_2, GPIO_PIN_8, INPUT, PID_GPIO, false );
GPIO_ConfigurePin( GPIO_PORT_2, GPIO_PIN_9, INPUT, PID_GPIO, false );
所以我发现,默认情况下Pin0x 和pin1x,都有消耗,我的电路板上,没有对这些pin接线。关于需要逐个配置PIN的问题这样可以解决。
目前在jtag断开的情况下,睡眠状态时电流约0.135mA,激活状态,PIN脚都没启用,广播时电流约0.619mA。广播间隔设置如下
/// Minimum interval for advertising
.intv_min = 320, // 1000ms (1600*0.625ms)

/// Maximum interval for advertising
.intv_max = 320, // 1000ms (1600*0.625ms)
请问,这个工作电流差距约0.5mA,正常吗?还有那些办法降低功耗?另外,为什么所有的PIN都需要程序主动配置一次,才能节省功耗,这是正常的吗。

Device:
WI_Dialog
Offline
Last seen:4 days 13 hours ago
Staff
Joined:2014-01-03 16:21
Hi,

Hi,
Based on your description, it is hard to deduce the root cause of high consumption on your board. The best approach is to do a benchmarking to compare the current consumption on DA14583 DK board and your target board based on the binary of "prox_reporter" project in SDK. In that way, the delta reveals the contribution from the difference. Moreover, the internal FLASH also draws current even in IDLE mode. So, a MOSFET switch can be put outside to turn off the power source to FLASH to lower the current.
Moreover, how you measure your current in the setup. Dialog DA14583 Professional Kit has the feature to measure the current in real time and display over time scale on SmartSnippets tool. Using this tool, it may help you to debug and optimize the current consumption based on the plot.
Regards,

loof5
Offline
Last seen:2 years 10 months ago
Joined:2016-10-26 09:54
您好!

您好!
感谢您的及时回复,是否FLASH只有在启动时候需要供电,引导完成之后,可以断开供电?
如果这样,FLASH的功耗是多少?如果我使用PIN控制MOSFET,那么这个PIN工作电流是多少,相比持续给FLASH供电,是否更合适?

loof5
Offline
Last seen:2 years 10 months ago
Joined:2016-10-26 09:54
今天测试了一下在3V供电下的电流情况,睡眠时候0

今天测试了一下在3V供电下的电流情况,睡眠时候0.025mA,请问是否接近理想值?

WI_Dialog
Offline
Last seen:4 days 13 hours ago
Staff
Joined:2014-01-03 16:21
Hi

Hi
The standby current of FLASH ranges from 10uA (typ) to 50uA (max) subject to the design. To evaluate the FLASH current, you can use a jumper to open FLASH VCC after powering up. Moreover, you can lower the voltage source to 2.5V, if external components allow to reduce the power consumption in all modes.
Regards,

loof5
Offline
Last seen:2 years 10 months ago
Joined:2016-10-26 09:54
您好

您好
感谢耐心帮助!我将尝试使用MOSFET控制FLASH供电。