STM32 MCUs Products

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

Dynamic Memory Allocation causes hard fault

I am trying to implement a function that extracts mfcc of the retrieved sound. I am using Hanning window. I actually am applying dynamic memory allocation twice. First allocation works successfully. Second allocation however somehow takes me to hard ...

Every time i getting the same error and i cant fix it . I am trying to write my uart communication as a header file even if i used the extern but it doesnt work , Can somenone help me how to write properly ?

09:32:54 **** Incremental Build of configuration Debug for project uart_deneme ****make -j8 all arm-none-eabi-gcc "../Core/Src/myHeader.c" -mcpu=cortex-m0 -std=gnu11 -g -DDEBUG -DUSE_HAL_DRIVER -DSTM32F072xB -c -I../Drivers/STM32F0xx_HAL_Driver/Inc -...

ÖBekt.1 by Associate
  • 1414 Views
  • 4 replies
  • 0 kudos

What is the correct initialization order of GPIOs as alternate function output and associated peripherals in order to have full control over the state of the output pins?

We are currently working with STM32F103VE MCU and we have a dilemma about the order of initialization GPIO pins as alternate function outputs and associated peripherals. The goal is to have full control over the pin states. We have checked order of i...

0693W00000QMvTDQA1.png 0693W00000QMvUQQA1.png
NMiti.3 by Associate II
  • 1205 Views
  • 4 replies
  • 0 kudos

CAN 2addres to 2 massive.

good afternoon friends.I am learning to work with SUN.I want to receive parcels from 2 addresses. In principle, it works, but the values ​​from two addresses are written to one array.How to make it so that values from different addresses are written ...

RKama.4 by Associate
  • 725 Views
  • 2 replies
  • 0 kudos

Resolved! How does AHB Prescaler value fill? const uint8_t AHBPrescTable[16] = {0, 0, 0, 0, 0, 0, 0, 0, 1, 2, 3, 4, 6, 7, 8, 9};

I want to know what kind of value we fill in this and what affects the AHB Bus please make me understand.const uint8_t AHBPrescTable[16] = {0, 0, 0, 0, 0, 0, 0, 0, 1, 2, 3, 4, 6, 7, 8, 9};I tried to find out but only figured out the value of 1 to 9 i...

PKuma.9 by Associate II
  • 2424 Views
  • 2 replies
  • 0 kudos

Resolved! Bitwise

"I'll delete this question once someone answers it, as it is not relevant".Why in second line did some one write ch & 0xFF? ch limits are already 0 to 255 right?

0693W00000QMqCCQA1.png
Vmere.1 by Senior
  • 908 Views
  • 4 replies
  • 0 kudos

STM32G4 op amps (>1) as inverting PGA with mid-point bias applied to non-inverting inputs - tie non-inverting inputs together?

Application needs to use all three (in STM32G431) op amps as inverting PGA handling ac-coupled signals. As there's no internal option to supply mid-point (VREF/2 with a decoupling cap at the device pin) to the non-inverting inputs of the (3) op amps ...

wb0gaz by Senior
  • 3954 Views
  • 4 replies
  • 0 kudos

Stm32f4 Generate pwm signals via external trigger signal

Hi, i have a sensor that generates a TTL signal. I need a couple Pwm signal by using this external signal which is my master. I have Stm32f4 discovery MCU​ . Is there any way to do this goal. Please help me with any code sample or documents.

AAlk.1 by Associate
  • 443 Views
  • 0 replies
  • 0 kudos

Resolved! STM32F413 flash erase doesn't work first time

Hi,I am using STM32F413 Nucleo board. I am using MDK5 IDE and HAL libraries. I made an example for reading/writing internal flash based upon a cube project. The idea is to erase interal flash and then to write some data to it. I alreay did some simil...

Nix Wayne by Associate III
  • 8555 Views
  • 9 replies
  • 0 kudos