Search found 20 matches

by JimEli
Fri Jun 17, 2022 2:13 pm
Forum: General discussion
Topic: timer source from other timer ?
Replies: 16
Views: 3991

Re: timer source from other timer ?

Cascade mode of TIM1 (master) and TIM3 stm32f401 nucleo example from the book Mastering STM32.
by JimEli
Fri Feb 18, 2022 3:32 pm
Forum: General discussion
Topic: filter in hardware as encoder
Replies: 2
Views: 2055

Re: filter in hardware as encoder

Set value inside CubeMX.
Generate source code.
Look at code.
by JimEli
Tue Dec 28, 2021 10:52 pm
Forum: Projects
Topic: Beehives electronic scale with HX711
Replies: 1
Views: 1806

Re: Beehives electronic scale with HX711

Are you running a common ground?
by JimEli
Thu Dec 02, 2021 8:24 pm
Forum: General discussion
Topic: UART communication between two microcontrollers using DMA.
Replies: 18
Views: 7860

Re: UART communication between two microcontrollers using DMA.

maybe selectively call functions respecting the rate at which they change.
by JimEli
Fri Oct 15, 2021 2:29 pm
Forum: General discussion
Topic: Reducing the current consumption of STM32L412KB
Replies: 9
Views: 3596

Re: Reducing the current consumption of STM32L412KB

not trying to steal the thread, but what is a good method to measure power consumption?
by JimEli
Sat Sep 11, 2021 1:43 am
Forum: General discussion
Topic: STM32FreeRTOS Task Notification Question
Replies: 1
Views: 1255

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, 0); … ...
by JimEli
Thu Sep 09, 2021 8:32 pm
Forum: General discussion
Topic: STM32FreeRTOS Task Notification Question
Replies: 1
Views: 1255

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 TaskH...
by JimEli
Wed Aug 25, 2021 3:07 am
Forum: General discussion
Topic: which core
Replies: 7
Views: 2916

Re: which core

what's a faq?
by JimEli
Sun Aug 22, 2021 5:03 pm
Forum: General discussion
Topic: How to disable HardwareTimers
Replies: 2
Views: 1439

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?
by JimEli
Sun Aug 22, 2021 4:48 pm
Forum: General discussion
Topic: How to disable HardwareTimers
Replies: 2
Views: 1439

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....

Go to advanced search