2017-10-17 01:27 PM
Hello,
I am trying to estimate power consumption on the stm32h7. The use case i am interested in is sampling 6 channels using ADC3 and transferring the sampled data to memory using BDMA, all this while D1 and D2 domains are in stop mode and only D3 is working. The thing is that i am not able to configure the D1&D2 to stop modes.
DSTOP/DSTANDBY and D3 only has DSTOP.
The power consumption in the first case looks too high to me - 17mA. And off course in the second case D3 is in DSTOP, so it is not what i want.
I am doing something wrong with the configurations, or is it because STM32CubeMX Version 4.22.1 does not support this work mode in power consumption calculator?
Thanks,
Evgeny
#stme32-cube #stm32h7 #low-power-stop-mode #power-consumption #cube-mx-power-calculator-tab #stm32h743 #low-powerSolved! Go to Solution.
2017-10-18 06:20 AM
Hi
evgeny.erlihman
,You have to select 'BAM' as 'power mode. In this cou can select the suitable ase, D3 will be in DRUN mode and you can select the suitable low power mode (DSTANDBY or DSTOP) for both D1 and D2.
-Amel
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
2017-10-18 06:20 AM
Hi
evgeny.erlihman
,You have to select 'BAM' as 'power mode. In this cou can select the suitable ase, D3 will be in DRUN mode and you can select the suitable low power mode (DSTANDBY or DSTOP) for both D1 and D2.
-Amel
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
2017-10-18 08:26 AM
Hi Amel,
When i select BAM and choose DSTANDBY for D1/D2, i do get the D3 in DRUN. But the peripheral list is empty, and the power consumption is 6.5mA. It states that this consumption is without peripherals, isn't it a bit high?
Thanks,
Evgeny
2017-11-02 09:46 AM
Consumption of 6.5 mA is coming from D3 in DRUN mode (this is without peripherals correct) and the value is like in datasheet 'Typical current consumption batch acquisition mode' table.
/EA
2017-11-09 09:51 AM
I will append the previous answer with some more details:
In this configuration i.e BAM (Batch Acquisition Mode), a data transfer between a D3 peripheral (I2C4) and SRAM via BDMA is performed. Once done, a step is supposed to be added where D1 is woken-up for data transfer from D3 SRAM to another RAM in D1 so that the core will process data, then another one step is needed where D1 come back in STANDBY mode.
There are some more explanations in sub chapters from section 7 'Low-power D3 domain' of the Ref Manual RM0433.
/EA
2017-11-09 10:09 AM
Hi E.A,
I am trying, for the past week, to make the BAM work with FreeRTOS anda 'simple' setupdescribed here:
https://community.st.com/0D50X00009XkXBiSAN
I am able to get into Dstop/Dstop/Drun mode, but as soon as i change theHAL_PWREx_EnterSTOPMode toHAL_PWREx_EnterSTANDBYMode the system hangs as explained.
Is it possible to provide a simple BAM example with FreeRTOS?I haven't seen any anywhere, and ST must have tested it...
I do think that a lot of people would benefit from this
Thanks,
Evgeny