Search found 20 matches
- Fri Jun 17, 2022 2:13 pm
- Forum: General discussion
- Topic: timer source from other timer ?
- Replies: 16
- Views: 9469
Re: timer source from other timer ?
Cascade mode of TIM1 (master) and TIM3 stm32f401 nucleo example from the book Mastering STM32.
- Fri Feb 18, 2022 3:32 pm
- Forum: General discussion
- Topic: filter in hardware as encoder
- Replies: 2
- Views: 3361
Re: filter in hardware as encoder
Set value inside CubeMX.
Generate source code.
Look at code.
Generate source code.
Look at code.
- Tue Dec 28, 2021 10:52 pm
- Forum: Projects
- Topic: Beehives electronic scale with HX711
- Replies: 1
- Views: 2852
Re: Beehives electronic scale with HX711
Are you running a common ground?
- Thu Dec 02, 2021 8:24 pm
- Forum: General discussion
- Topic: UART communication between two microcontrollers using DMA.
- Replies: 18
- Views: 18620
Re: UART communication between two microcontrollers using DMA.
maybe selectively call functions respecting the rate at which they change.
- Fri Oct 15, 2021 2:29 pm
- Forum: General discussion
- Topic: Reducing the current consumption of STM32L412KB
- Replies: 9
- Views: 6962
Re: Reducing the current consumption of STM32L412KB
not trying to steal the thread, but what is a good method to measure power consumption?
- Sat Sep 11, 2021 1:43 am
- Forum: General discussion
- Topic: STM32FreeRTOS Task Notification Question
- Replies: 1
- Views: 2028
Re: STM32FreeRTOS Task Notification Question
After running inside the SW4STM32 and debugging extensively, I determined the issues:
1. The ISR priority needed to be increased.
2. The task handle needed to be initialized prior to establishing the ISR.
These are the 2 tweaks to the program to make it run:
HAL_NVIC_SetPriority(TIM2_IRQn, 5 ...
1. The ISR priority needed to be increased.
2. The task handle needed to be initialized prior to establishing the ISR.
These are the 2 tweaks to the program to make it run:
HAL_NVIC_SetPriority(TIM2_IRQn, 5 ...
- Thu Sep 09, 2021 8:32 pm
- Forum: General discussion
- Topic: STM32FreeRTOS Task Notification Question
- Replies: 1
- Views: 2028
STM32FreeRTOS Task Notification Question
I can't seem to get a task notification to work from an ISR. I'm using the official STM core with an STM32F446RE Nucleo board. Here is a very simple proof of concept (which doesn't blink). Am I using the notification API wrong?
#include <STM32FreeRTOS.h>
TIM_HandleTypeDef timerInstance;
static ...
#include <STM32FreeRTOS.h>
TIM_HandleTypeDef timerInstance;
static ...
- Wed Aug 25, 2021 3:07 am
- Forum: General discussion
- Topic: which core
- Replies: 7
- Views: 5021
Re: which core
what's a faq?
- Sun Aug 22, 2021 5:03 pm
- Forum: General discussion
- Topic: How to disable HardwareTimers
- Replies: 2
- Views: 2337
Re: How to disable HardwareTimers
Disregard. I believe it is associated with needing to restart the IDE so the system forces a complete rebuild.
So, now my question is, how can you force the rebuild without restarting the IDE?
So, now my question is, how can you force the rebuild without restarting the IDE?
- Sun Aug 22, 2021 4:48 pm
- Forum: General discussion
- Topic: How to disable HardwareTimers
- Replies: 2
- Views: 2337
How to disable HardwareTimers
I am trying to use HAL TIM2 features on an STM32F405 board with STM Core 2.0.0.
But I keep getting multiple definitions for TIM2_IRQHandler and the HAL_TIM_PeriodElapsedCallback. I try to disable it via build_opt.h file with "-DHAL_TIM_MODULE_ONLY", but they are still included in the core. I know ...
But I keep getting multiple definitions for TIM2_IRQHandler and the HAL_TIM_PeriodElapsedCallback. I try to disable it via build_opt.h file with "-DHAL_TIM_MODULE_ONLY", but they are still included in the core. I know ...