STM32 MCUs Embedded software

Ask questions and find answers on STM32Cube packages, including HAL, LL and middleware, and expansion software.

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

Resolved! STM32U5A5: AZURE RTOS and 1ms ticks - how to set?

I am confused: I want to have 1ms AZURE RTOS tick timer - but no idea how to set.What I see:AZURE RTOS defines 10ms tick timer (UX_PERIOD_RATE, TX_TIMER_TICK_PER_SECOND)I see as well, when using tx_thread_sleep(1000); - it sleeps 10 second (not 1) - ...

tjaekel by Lead
  • 6486 Views
  • 4 replies
  • 3 kudos

Resolved! STM32L4xx Low power modes

Hi all,I am designing an application on a STM32L431. I need to consume the least amount of power. The MCU will have to use the CAN module both in transmit and receive mode. The reference manual does not give too much details on how the lower power mo...

bareil76_1-1707925217793.png
bareil76 by Associate II
  • 2053 Views
  • 1 replies
  • 1 kudos

Resolved! STM32WB55 THREAD Change Thread Config

Hi,My thread starts working with the features I mentioned below:    panID = 0x2222U; channelNB = 12U; networkKey = (otNetworkKey) { .m8 = {0x00, 0x11, 0x22, 0x33, 0x44, 0x55, 0x66, 0x77, 0x88, 0x99, 0xAA, 0xBB, 0xCC, 0xDD, 0xEE, 0xFF} };    ...

osDelay returns too early

Hello There, I'm working on an app utilizing STM32H7A3 with CMSIS-OS2.I'm facing a problem with osDelay(). Most of the time it returns too early than the actual delay. While HAL_Delay() always works fine.I have debugged osDelay(3500) with oscilloscop...

KAgga.1 by Associate III
  • 8200 Views
  • 13 replies
  • 3 kudos

Resolved! How to get a ADC resolution?

I have the following code that I call from a freertos task scheduled with a period of 100 ms.It reads the voltage applied to a pin and return the voltage value as a float.   float pinin_pv(void) { /* Return the pin voltage in the interval [0, PIN_VOL...

ubaldot by Senior
  • 3287 Views
  • 6 replies
  • 5 kudos