cmsis_os.c osPoolAlloc error?
Posted on July 19, 2016 at 14:05lines in osPoolAlloc function:index = pool_id->currentIndex + i;if (index >= pool_id->pool_sz) { index = 0;}must be replaced with:index = (pool_id->currentIndex + i) % pool_id->pool_sz;
Ask questions, find answers, and share insights on STM32 products and their technical features.
Posted on July 19, 2016 at 14:05lines in osPoolAlloc function:index = pool_id->currentIndex + i;if (index >= pool_id->pool_sz) { index = 0;}must be replaced with:index = (pool_id->currentIndex + i) % pool_id->pool_sz;
Posted on June 06, 2017 at 06:56In STM32F3 series, user data bytes are available at location 0x1FFFF804. I have used this for storing a status marker value. During power on reset i am checking this location based on the value I am executing some fu...
Posted on February 07, 2018 at 10:24Hello ,i have trouble changing the Option Bytes BOR LEVEL in my project with a STM32L031K6T7 micro :I am Using KEIL ARM V5 together with a PEMICRO CYCLONE UNIVERSAL Programming Device:The Sequence i am using in m...
Posted on February 07, 2018 at 08:21Hi All, I had found a problem with STM32L486, That I connect this pin with 100K pull up to 3V3 and a 0.1uF cap to GND. It won't work when I drag&drop through SWDIO/SWDCLK .hex files in to it. But if I connect th...
Posted on February 06, 2018 at 18:47I am seeing a problem with couple of my Nucleo L073RZ REV C boards which starts to heat up when powered using VIN i.e 12V supply. The boards are working fine, but I can feel the temperature increase if I touch the...
Posted on February 06, 2018 at 07:35Hi can someone please point me to the relevant datasheet that describes the state of the STM32H7 GPIO pins during the following conditions:1) During power up2) Just after reset (when the Power On Reset is released...
Posted on February 06, 2018 at 21:17Hello,I have a project where I'm using some floating point variables. When I pass the float variable into a function (passed by value) the variable inside the function shows 0.0 in the debugger. The code compil...
Posted on February 03, 2018 at 23:02So I wanted to read out multiple channels from adc3 on my stm32f7 discovery. I have been able to read out one channel and set up for multiple ones, but I can't figure out how to read out per channel. I wanted to r...
Posted on December 18, 2017 at 11:16Hello everyone,I have some trouble using the SDRAM of the STM32F746G-Disco as a framebuffer for the LTDC with CubeMX 4.22 instead of CubeMX 4.18.I configured my Project according to the Pinout of the Disco-Board a...
Posted on September 27, 2017 at 23:56I've used the STM32CubeMX application to setup the main PLL and PLLI2S as shown below:When I generate the code, it generates the following: PeriphClkInitStruct.PeriphClockSelection = RCC_PERIPHCLK_I2S; PeriphClkI...