STOP MODE in STM32 || CubeIDE || Low Power Mode

Поделиться
HTML-код
  • Опубликовано: 3 ноя 2024

Комментарии • 33

  • @ypm7369
    @ypm7369 3 года назад +6

    This are the best stm32 videos ever !!! Thank you do much for your effort

  • @quangtungtran3596
    @quangtungtran3596 3 года назад +2

    this is the best channel about stm32 i have ever seen on youtube:))

  • @HenryCoulter
    @HenryCoulter 6 месяцев назад

    brilliant video... this software (and STM32 system) is rather massive, it is impressive to understand it all

  • @noweare1
    @noweare1 4 года назад +1

    Excellent, very good info for battery powered and/or Lora applications

  • @marciocapellari1981
    @marciocapellari1981 3 года назад

    Congrats! Thank you so much for sharing all this information.

  • @shuojinbecool4778
    @shuojinbecool4778 3 месяца назад

    Amazing, thanks!

  • @ucontrolchannel5967
    @ucontrolchannel5967 4 года назад +1

    great job tahnk you. Could you also share a video about USB mass storage??

  • @Ccorniit
    @Ccorniit 3 года назад +1

    Hi, please make video of stop mode when using freeRTOS multiple tasks. There are no examples of that anywhere. Thank you.

  • @josipsucec7714
    @josipsucec7714 3 года назад

    Can you check if RTC is working? For me RTC doesn't increment the time, but it does enter stop mode and it generates IT.

  • @j.ag.3537
    @j.ag.3537 4 года назад +3

    man you just forgot to mention that you have to disable the debug swd manually if you want to run at very low power... i passed from 140uA to 3uA by doi that. best regards

    • @ControllersTech
      @ControllersTech  4 года назад

      In f103 ?

    • @pavulis97
      @pavulis97 4 года назад

      How can you disable SWD manually?

    • @abbasraimkulov3913
      @abbasraimkulov3913 6 месяцев назад

      Hi. Please, can you open the manual swd disable? I have also exact the same current issue.

  • @utkudenizaltiok860
    @utkudenizaltiok860 2 года назад

    I want to be in lowest power mode but I want to see the values of variables at Live Expressions eve I entered that power mode as well what should I use ?

  • @konradw2496
    @konradw2496 Год назад

    HI!
    I have problem with my board, i really dont know what im doing wrong. After debugging i get message in expressions - my board f429zi:
    Multiple errors reported.
    1) Failed to execute MI command:
    -var-create - * data
    Error message from debugger back end:
    -var-create: unable to create variable object
    2) Unable to create variable object
    3) Failed to execute MI command:
    -data-evaluate-expression data
    Error message from debugger back end:
    No symbol "data" in current context.
    4) Failed to execute MI command:
    -var-create - * data
    Error message from debugger back end:
    -var-create: unable to create variable object

  • @ypm7369
    @ypm7369 3 года назад

    can you please do a video implementing wake up from STOP mode in STM32 ( but using LPUART ) connected to PC via regular USB and use Hercules SETUP utility to send data over serial that makes the STM32 wake up from STOP mode.

    • @ControllersTech
      @ControllersTech  3 года назад +3

      during stop mode all the clocks are halted, so the uart clock is not running. You can only exit the stop mode by rtc or external interrupt

  • @rocchirodrigo
    @rocchirodrigo 4 года назад

    13uAmps, how did you get as low as that? I'm using the blue pill board (STM32F103C8T6) and got these results:
    Stop Mode: 4.1mA@72MHz and 3.9mA@24MHz. I go as low as 250khz~, but that didn't change the readings.

    • @JakubKraus0
      @JakubKraus0 3 года назад +1

      It could be the LED, try removing it with a soldering iron

    • @Gamamaha
      @Gamamaha 2 года назад

      On the BluePill board, beside the power LED which has to be removed, the LDO voltage regulator itself takes about 60uA. So you have to change that by another one (TPS7A03) to be able to come down to about 14uA in stop mode.

  • @mechanicsbydavid
    @mechanicsbydavid 4 года назад

    Thank you very much for sharing. Just one thing. I did exactly the same and got the consumption down to 44 uA. However, when I connect a radio, immediately the consumption goes up to 1.6 mA, only when I connect it (without using it) could you please help me? Thank you.

    • @ControllersTech
      @ControllersTech  4 года назад

      what's radio ?

    • @mechanicsbydavid
      @mechanicsbydavid 3 года назад

      The example I gave is with a Lora radio. In general, when I connect anything (without using it), the consumption increases significantly (44 uA to 1.6mA in the case of the Lora radio).

    • @JakubKraus0
      @JakubKraus0 3 года назад

      @@mechanicsbydavid Some radios and modules have the ability to be put to sleep, so you could send them an off command before putting the mcu to sleep. I know that some Lora modules have the function, take a look at the datasheet of your particular chip to know for sure.

  • @Red_Fang.
    @Red_Fang. Год назад

    Hello, Excuse me, is this stop mode can be use to shut down applications for devices ? thank you

  • @temp_temp8564
    @temp_temp8564 3 года назад +1

    Can the interrupt from sensor wake the mcu from stop mode?

    • @ControllersTech
      @ControllersTech  3 года назад

      Yes but if you connect it to the MCU wakeup pin.. like PA0

    • @temp_temp8564
      @temp_temp8564 3 года назад

      @@ControllersTech Thanks for the info....will the sensor's peripheral be in the ON state(maybe spi or i2c) ...or will all peripheral gets deinit in the stop mode.

  • @marciocapellari1981
    @marciocapellari1981 3 года назад +1

    Valeu!

  • @phamtam6395
    @phamtam6395 2 года назад

    I am using stm32L552CE. When I enter stop mode or sleep mode, the current is too high (5mA for stop mode, 18mA for sleep mode).
    /* Enable PWR clock */
    __HAL_RCC_PWR_CLK_ENABLE();
    HAL_Delay(5000);
    printf("Go into stop mode
    ");
    /****** Suspend the Ticks before entering the STOP mode or else this can wake the device up **********/
    HAL_SuspendTick();
    /* Enter Stop Mode */
    HAL_PWR_EnterSTOPMode(PWR_LOWPOWERREGULATOR_ON, PWR_STOPENTRY_WFI);
    SystemClock_Config ();
    HAL_ResumeTick();
    printf("Wake up from stop mode
    ");
    Please help me. Thanks.

  • @ayoubkouch56
    @ayoubkouch56 3 года назад +1

    and you are calling that low power modes ? LMFAO !! where did you configure clock for the stop modes ? where did you disable all periferale before enter the stop modes ? with that you will only have some micro amps less ... there is no ultra low power on this video

  • @industrialautomation1992
    @industrialautomation1992 Год назад

    hi i'm getting error in this particular line if(HAL_RTCEx_SetWakeUpTimer_IT(&hrtc, 0x4E20,RTC_WAKEUPCLOCK_RTCCLK_DIV16) != HAL_OK)